Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created January 5, 2021 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graysky2/04bd0eb58459dd720eccc8baad4bf0fa to your computer and use it in GitHub Desktop.
Save graysky2/04bd0eb58459dd720eccc8baad4bf0fa to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/lib/modules/5.10.4-arch2-1/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f ./scripts/Makefile.build obj=/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel \
single-build= \
need-builtin=1 need-modorder=1
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-acpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-chrdev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_chrdev"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-cray.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-dma.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_drm"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_gvi"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mmap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-mempool.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_mempool"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c: In function ‘nv_encode_caching’:
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:199:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
199 | if (NV_ALLOW_CACHING(memory_type))
| ^
/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.c:201:9: note: here
201 | default:
| ^~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-p2p.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-pat.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_pat"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-procfs.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_procfs"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vm"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-vtophys.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_vtophys"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-mlock.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-pci.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.c:14:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-smp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_smp"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.os-usermap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv_uvm_interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_uvm_interface"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv-frontend.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv_frontend"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:65,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
205 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
244 | this_cpu_add(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
320 | this_cpu_sub(*percpu_count, nr);
| ^~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.c:15:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
106 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
266 | #define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
377 | case 1: stem##1(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
267 | #define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
378 | case 2: stem##2(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
268 | #define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
379 | case 4: stem##4(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
./arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
127 | ((val) == 1 || (val) == -1)) ? \
| ^~
./arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
326 | #define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
| ^~~~~~~~~~~~~
./include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
380 | case 8: stem##8(variable, __VA_ARGS__);break; \
| ^~~~
./include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
509 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
| ^~~~~~~~~~~~~~~~
./include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
519 | #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
| ^~~~~~~~~~~~
./include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
521 | #define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
| ^~~~~~~~~~~~
./include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
118 | this_cpu_dec(*sem->read_count);
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:72,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:26,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
165 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
./include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
./include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
266 | (cpu) < nr_cpu_ids;)
| ^
./include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
812 | #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
| ^~~~~~~~~~~~
./include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
238 | for_each_online_cpu(cpu)
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.c:21:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o
In file included from ./include/linux/nodemask.h:96,
from ./include/linux/sched.h:23,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:44,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
./include/linux/numa.h:14:22: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘__u32’ {aka ‘const unsigned int’} due to unsignedness of other operand [-Wsign-compare]
14 | #define NUMA_NO_NODE (-1)
| ^~~~
./include/linux/bpf.h:1403:21: note: in expansion of macro ‘NUMA_NO_NODE’
1403 | attr->numa_node : NUMA_NO_NODE;
| ^~~~~~~~~~~~
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o
In file included from ./include/linux/efi.h:20,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-linux.h:175,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.c:13:
./include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
./include/linux/rtc.h:228:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
228 | if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
| ^
./include/linux/rtc.h:233:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
233 | if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o
ld -m elf_x86_64 -r -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o
{ echo /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-kernel.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-acpi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-chrdev.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-cray.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-dma.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-drm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-gvi.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-i2c.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mempool.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-mmap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-p2p.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-pat.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-procfs.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vm.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-vtophys.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-mlock.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-pci.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-registry.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-smp.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/os-usermap.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv_uvm_interface.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nv-frontend.o; echo; } > /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod
{ echo /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko; :; } | awk '!x[$0]++' - > /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order
make -f ./scripts/Makefile.modpost
sed 's/ko$/o/' /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/modules.order | scripts/mod/modpost -a -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/Module.symvers -e -i Module.symvers -N -T -
make -f ./scripts/Makefile.modfinal
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -DMODULE -DKBUILD_BASENAME='"nvidia.mod"' -DKBUILD_MODNAME='"nvidia"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.c
ld -r -m elf_x86_64 --build-id=sha1 -T scripts/module.lds -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.ko /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/nvidia.mod.o; true
make[1]: Leaving directory '/usr/lib/modules/5.10.4-arch2-1/build'
NVIDIA: left KBUILD.
cp ../Module.symvers Module.symvers
NVIDIA UVM: CC=cc, HOST_CC=cc NV_TARGET_ARCH=x86_64
NVIDIA UVM: CONFTEST=/bin/sh ./conftest.sh cc cc x86_64 /usr/src/linux /usr/src/linux
KERNEL_SOURCES: /usr/src/linux
EXTRA_CFLAGS: -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I./.. -I. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING="340.108" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME="nvidia-uvm"
NVIDIA: calling KBUILD...
make[1]: Entering directory '/usr/lib/modules/5.10.4-arch2-1/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f ./scripts/Makefile.build obj=/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm \
single-build= \
need-builtin=1 need-modorder=1
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_common.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_common"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_utils"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_page_cache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_page_cache"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_api.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_api"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_counters.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_counters"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration_kepler.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration_kepler"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_page_migration.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_page_migration"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c
cc -Wp,-MMD,/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.nvidia_uvm_lite_events.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fcf-protection=none -Wno-packed-not-aligned -fplugin=./scripts/gcc-plugins/structleak_plugin.so -fplugin-arg-structleak_plugin-byref-all -DSTRUCTLEAK_PLUGIN -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -O2 -DNVIDIA_UVM_LITE_ENABLED -DLinux -D__linux__ -DNVIDIA_UVM_RM_ENABLED -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/.. -I/build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia-uvm\" -DMODULE -DKBUILD_BASENAME='"nvidia_uvm_lite_events"' -DKBUILD_MODNAME='"nvidia_uvm"' -c -o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.o /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./include/linux/byteorder/little_endian.h:11,
from ./arch/x86/include/uapi/asm/byteorder.h:5,
from ./include/asm-generic/bitops/le.h:6,
from ./arch/x86/include/asm/bitops.h:395,
from ./include/linux/bitops.h:29,
from ./include/linux/kernel.h:12,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
./include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (i = 0; i < len; i++)
| ^
./include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
./include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (i = 0; i < len; i++)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_events.c:25:
./include/linux/thread_info.h: In function ‘check_copy_size’:
./include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | if (unlikely(sz >= 0 && sz < bytes)) {
| ^
./include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite.c:26:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
./tools/objtool/objtool orc generate --module --no-fp --retpoline --uaccess /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration_kepler.o
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_page_cache.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./include/linux/mmzone.h:22,
from ./include/linux/gfp.h:6,
from ./include/linux/umh.h:4,
from ./include/linux/kmod.h:9,
from ./include/linux/module.h:16,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:83,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/page-flags.h: In function ‘PagePoisoned’:
./include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
205 | return page->flags == PAGE_POISON_PATTERN;
| ^~
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.c:41:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_counters.c:28:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_common.h:49,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_lite_api.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_page_migration.c:28:
./include/linux/mmzone.h: In function ‘next_zones_zonelist’:
./include/linux/mmzone.h:1077:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
1077 | if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
| ^~
./include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
77 | # define likely(x) __builtin_expect(!!(x), 1)
| ^
In file included from ./arch/x86/include/asm/current.h:5,
from ./include/linux/sched.h:12,
from ./include/linux/utsname.h:6,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_linux.h:62,
from /build/nvidia-340xx/src/NVIDIA-Linux-x86_64-340.108-no-compat32/kernel/uvm/nvidia_uvm_utils.c:25:
./include/linux/mmzone.h: In function ‘next_zones_zone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment