Code : Tout sélectionner
cat /var/lib/dkms/nvidia-legacy-340xx/340.108/build/make.log
DKMS make.log for nvidia-legacy-340xx-340.108 for kernel 5.10.0-0.deb10.16-amd64 (x86_64)
mercredi 31 mai 2023, 14:16:23 (UTC+0200)
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.10.0-0.deb10.16-amd64/build KERNEL_SOURCES=/lib/modules/5.10.0-0.deb10.16-amd64/source KERNEL_OUTPUT=/lib/modules/5.10.0-0.deb10.16-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.10.0-0.deb10.16-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-common »
make -C /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 -f /usr/src/linux-headers-5.10.0-0.deb10.16-common/Makefile modules
make[2] : on entre dans le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 »
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 /usr/src/linux-headers-5.10.0-0.deb10.16-common/scripts/Makefile.build obj=/var/lib/dkms/nvidia-legacy-340xx/340.108/build \
single-build= \
need-builtin=1 need-modorder=1
CONFTEST=/bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-8" " gcc-8" x86_64 /lib/modules/5.10.0-0.deb10.16-amd64/source /lib/modules/5.10.0-0.deb10.16-amd64/build
CONFTEST_CFLAGS=
KBUILD_CFLAGS=-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 -fcf-protection=none -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 -DCONFIG_X86_X32_ABI -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough -Wno-unused-but-set-variable -Wno-unused-const-variable -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -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 -Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/include -I./include -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/kconfig.h
LDFLAGS=
ARCH=x86_64
for SANITY_CHECK in rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check preempt_rt_sanity_check; do \
echo " CONFTEST: $SANITY_CHECK"; \
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-8" " gcc-8" x86_64 /lib/modules/5.10.0-0.deb10.16-amd64/source /lib/modules/5.10.0-0.deb10.16-amd64/build $SANITY_CHECK full_output; then \
exit 1; \
fi; \
done
CONFTEST: rivafb_sanity_check
CONFTEST: nvidiafb_sanity_check
CONFTEST: dom0_sanity_check
CONFTEST: xen_sanity_check
CONFTEST: preempt_rt_sanity_check
CONFTEST: compile_tests
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-8" " gcc-8" x86_64 /lib/modules/5.10.0-0.deb10.16-amd64/source /lib/modules/5.10.0-0.deb10.16-amd64/build compile_tests remap_pfn_range vmap set_pages_uc set_memory_uc set_memory_array_uc change_page_attr i2c_adapter pci_get_class pm_message_t irq_handler_t pci_choose_state vm_insert_page acpi_device_ops acpi_op_remove acpi_device_id acquire_console_sem console_lock kmem_cache_create outer_flush_all on_each_cpu smp_call_function nvmap_support acpi_evaluate_integer ioremap_cache ioremap_wc proc_dir_entry INIT_WORK acpi_walk_namespace scatterlist pci_domain_nr pci_dma_mapping_error file_operations sg_alloc_table sg_init_table pci_get_domain_bus_and_slot get_num_physpages efi_enabled dom0_kernel_present drm_available proc_create_data pde_data proc_remove sg_table pm_vt_switch_required pci_save_state file_inode drm_pci_set_busid write_cr4 for_each_online_node node_end_pfn get_user_pages get_user_pages_remote register_cpu_notifier cpuhp_setup_state vm_fault_present vm_fault_has_address drm_driver_unload_has_int_return_type drm_legacy_pci_init timer_setup do_gettimeofday drm_gem_object_put_unlocked drm_driver_legacy_feature_bit_present drm_driver_prime_flag_present; then exit 1; fi
conftest.sh: CC= gcc-8
conftest.sh: CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest3020" -DKBUILD_MODNAME="#conftest3020" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/8/include -I/lib/modules/5.10.0-0.deb10.16-amd64/source/include/asm-x86_64/mach-default -I/lib/modules/5.10.0-0.deb10.16-amd64/source/include/asm-x86/mach-default -I/lib/modules/5.10.0-0.deb10.16-amd64/source/arch/x86/include/asm/mach-default -I/lib/modules/5.10.0-0.deb10.16-amd64/source/include/arch/x86/include/uapi -I/lib/modules/5.10.0-0.deb10.16-amd64/build/include2 -I/lib/modules/5.10.0-0.deb10.16-amd64/build/include -include /lib/modules/5.10.0-0.deb10.16-amd64/build/include/generated/autoconf.h -I/lib/modules/5.10.0-0.deb10.16-amd64/source/include -I/lib/modules/5.10.0-0.deb10.16-amd64/source/include/uapi -I/lib/modules/5.10.0-0.deb10.16-amd64/build/include/generated/uapi -I/lib/modules/5.10.0-0.deb10.16-amd64/source/arch/x86/include -I/lib/modules/5.10.0-0.deb10.16-amd64/source/arch/x86/include/uapi -I/lib/modules/5.10.0-0.deb10.16-amd64/build/arch/x86/include/generated -I/lib/modules/5.10.0-0.deb10.16-amd64/build/arch/x86/include/generated/uapi -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -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 -DCONFIG_X86_X32_ABI -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough -Wno-unused-but-set-variable -Wno-unused-const-variable -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -Wno-array-bounds -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -fno-strict-overflow -fno-stack-check -fconserve-stack -Wno-packed-not-aligned
conftest.sh: KBUILD_CFLAGS=-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 -fcf-protection=none -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 -DCONFIG_X86_X32_ABI -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough -Wno-unused-but-set-variable -Wno-unused-const-variable -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -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 -Wno-packed-not-aligned
conftest.sh: ARCH=x86_64
CONFTEST macros.h:
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
CONFTEST functions.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_VMAP_PRESENT
#define NV_VMAP_ARGUMENT_COUNT 4
#define NV_SET_PAGES_UC_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#define NV_SET_MEMORY_ARRAY_UC_PRESENT
#undef NV_CHANGE_PAGE_ATTR_PRESENT
#define NV_PCI_GET_CLASS_PRESENT
#define NV_PCI_CHOOSE_STATE_PRESENT
#define NV_VM_INSERT_PAGE_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_KMEM_CACHE_CREATE_PRESENT
#define NV_KMEM_CACHE_CREATE_ARGUMENT_COUNT 5
#define NV_ON_EACH_CPU_PRESENT
#define NV_ON_EACH_CPU_ARGUMENT_COUNT 3
#define NV_SMP_CALL_FUNCTION_PRESENT
#define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
#define NV_ACPI_EVALUATE_INTEGER_PRESENT
typedef unsigned long long nv_acpi_integer_t;
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_PCI_DOMAIN_NR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_PRESENT
#define NV_PCI_DMA_MAPPING_ERROR_ARGUMENT_COUNT 2
#define NV_SG_ALLOC_TABLE_PRESENT
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_SG_INIT_TABLE_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PROC_CREATE_DATA_PRESENT
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#undef NV_DRM_PCI_SET_BUSID_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#undef NV_DRM_LEGACY_PCI_INIT_PRESENT
#define NV_TIMER_SETUP_PRESENT
#undef NV_DO_GETTIMEOFDAY_PRESENT
#undef NV_DRM_GEM_OBJECT_PUT_UNLOCKED_PRESENT
CONFTEST symbols.h:
CONFTEST types.h:
#undef NV_I2C_ADAPTER_HAS_CLIENT_REGISTER
#define NV_PM_MESSAGE_T_PRESENT
#define NV_PM_MESSAGE_T_HAS_EVENT
#define NV_IRQ_HANDLER_T_PRESENT
#define NV_IRQ_HANDLER_T_ARGUMENT_COUNT 2
#undef NV_ACPI_DEVICE_OPS_HAS_MATCH
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#undef NV_OUTER_FLUSH_ALL_PRESENT
#undef NV_PROC_DIR_ENTRY_HAS_OWNER
#define NV_SCATTERLIST_HAS_PAGE_LINK
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_SG_TABLE_PRESENT
#define NV_FILE_HAS_INODE
#define NV_VM_FAULT_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#define NV_DRM_DRIVER_LEGACY_FEATURE_BIT_PRESENT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
CONFTEST generic.h:
#undef HAVE_NV_ANDROID
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
CONFTEST conftest.h:
#include "conftest/macros.h"
#include "conftest/functions.h"
#include "conftest/symbols.h"
#include "conftest/types.h"
#include "conftest/generic.h"
#include "conftest/headers.h"
CONFTEST: patch_check
if ! /bin/sh /var/lib/dkms/nvidia-legacy-340xx/340.108/build/conftest.sh " gcc-8" " gcc-8" x86_64 /lib/modules/5.10.0-0.deb10.16-amd64/source /lib/modules/5.10.0-0.deb10.16-amd64/build patch_check; then exit 1; fi
CONFTEST patches.h:
static struct {
const char *short_description;
const char *description;
} __nv_patches[] = {
{ NULL, NULL } };
echo \#define NV_COMPILER \"` gcc-8 -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv_compiler.h
gcc-8 -Wp,-MMD,/var/lib/dkms/nvidia-legacy-340xx/340.108/build/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/include -I./include -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/kconfig.h -include /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.10.0-0.deb10.16-common/= -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 -fcf-protection=none -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 -DCONFIG_X86_X32_ABI -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 -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough -Wno-unused-but-set-variable -Wno-unused-const-variable -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -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 -Wno-packed-not-aligned -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-legacy-340xx/340.108/build -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 /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/uapi/asm/byteorder.h:5,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/asm-generic/bitops/le.h:6,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/bitops.h:395,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/bitops.h:29,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/kernel.h:12,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:27,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/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]
for (i = 0; i < len; i++)
^
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/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]
for (i = 0; i < len; i++)
^
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/thread_info.h: In function ‘check_copy_size’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/thread_info.h:154:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
if (unlikely(sz >= 0 && sz < bytes)) {
^
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/compiler.h:78:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/mmzone.h:22,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/gfp.h:6,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/umh.h:4,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/kmod.h:9,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/module.h:16,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:70,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/page-flags.h:205:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
return page->flags == PAGE_POISON_PATTERN;
^~
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/mmzone.h:1066:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/compiler.h:77:40: note: in definition of macro ‘likely’
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/current.h:6,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:12,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:205:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_tryget_many’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:244:3: note: in expansion of macro ‘this_cpu_add’
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-refcount.h:320:3: note: in expansion of macro ‘this_cpu_sub’
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:106:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:266:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_1(pcp, val) percpu_add_op(1, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:377:11: note: in expansion of macro ‘this_cpu_add_1’
case 1: stem##1(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:267:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_2(pcp, val) percpu_add_op(2, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:378:11: note: in expansion of macro ‘this_cpu_add_2’
case 2: stem##2(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:268:34: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_4(pcp, val) percpu_add_op(4, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_4’
case 4: stem##4(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:127:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
((val) == 1 || (val) == -1)) ? \
^~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/percpu.h:326:35: note: in expansion of macro ‘percpu_add_op’
#define this_cpu_add_8(pcp, val) percpu_add_op(8, volatile, (pcp), val)
^~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_8’
case 8: stem##8(variable, __VA_ARGS__);break; \
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:509:33: note: in expansion of macro ‘__pcpu_size_call’
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:519:33: note: in expansion of macro ‘this_cpu_add’
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-defs.h:521:28: note: in expansion of macro ‘this_cpu_sub’
#define this_cpu_dec(pcp) this_cpu_sub(pcp, 1)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/percpu-rwsem.h:118:3: note: in expansion of macro ‘this_cpu_dec’
this_cpu_dec(*sem->read_count);
^~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/paravirt.h:17,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/arch/x86/include/asm/irqflags.h:72,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/irqflags.h:16,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/rcupdate.h:26,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/rculist.h:11,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/pid.h:5,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:14,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/vmstat.h:165:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/cpumask.h:266:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
(cpu) < nr_cpu_ids;)
^
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/cpumask.h:812:36: note: in expansion of macro ‘for_each_cpu’
#define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask)
^~~~~~~~~~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/vmstat.h:238:2: note: in expansion of macro ‘for_each_online_cpu’
for_each_online_cpu(cpu)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/nodemask.h:96,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/sched.h:23,
from /usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/utsname.h:6,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:44,
from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/bpf.h: In function ‘bpf_map_attr_numa_node’:
/usr/src/linux-headers-5.10.0-0.deb10.16-common/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]
#define NUMA_NO_NODE (-1)
^~~~
/usr/src/linux-headers-5.10.0-0.deb10.16-common/include/linux/bpf.h:1441:21: note: in expansion of macro ‘NUMA_NO_NODE’
attr->numa_node : NUMA_NO_NODE;
^~~~~~~~~~~~
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:13:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h: At top level:
/var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-linux.h:144:10: fatal error: linux/ioctl32.h: Aucun fichier ou dossier de ce type
#include <linux/ioctl32.h> /* register_ioctl32_conversion() */
^~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-5.10.0-0.deb10.16-common/scripts/Makefile.build:291: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.10.0-0.deb10.16-common/Makefile:1846: /var/lib/dkms/nvidia-legacy-340xx/340.108/build] Error 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 »
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-common »
make: *** [Makefile:205: nvidia.ko] Error 2
make : on entre dans le répertoire « /var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm »
cd ./..; make module SYSSRC=/lib/modules/5.10.0-0.deb10.16-amd64/source SYSOUT=/lib/modules/5.10.0-0.deb10.16-amd64/build KBUILD_EXTMOD=./..
make[1] : on entre dans le répertoire « /var/lib/dkms/nvidia-legacy-340xx/340.108/build »
NVIDIA: calling KBUILD...
make NV_MODULE_SUFFIX= KBUILD_OUTPUT=/lib/modules/5.10.0-0.deb10.16-amd64/build KERNEL_SOURCES=/lib/modules/5.10.0-0.deb10.16-amd64/source KERNEL_OUTPUT=/lib/modules/5.10.0-0.deb10.16-amd64/build KBUILD_VERBOSE=1 -C /lib/modules/5.10.0-0.deb10.16-amd64/source M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules
make[2] : on entre dans le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-common »
make -C /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 -f /usr/src/linux-headers-5.10.0-0.deb10.16-common/Makefile modules
make[3] : on entre dans le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 »
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 /usr/src/linux-headers-5.10.0-0.deb10.16-common/scripts/Makefile.build obj=.. \
single-build= \
need-builtin=1 need-modorder=1
/usr/src/linux-headers-5.10.0-0.deb10.16-common/scripts/Makefile.build:44: /usr/src/linux-headers-5.10.0-0.deb10.16-common/../Makefile: Aucun fichier ou dossier de ce type
make[4]: *** Aucune règle pour fabriquer la cible « /usr/src/linux-headers-5.10.0-0.deb10.16-common/../Makefile ». Arrêt.
make[3]: *** [/usr/src/linux-headers-5.10.0-0.deb10.16-common/Makefile:1846: ..] Error 2
make[3] : on quitte le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-amd64 »
make[2]: *** [Makefile:185: __sub-make] Error 2
make[2] : on quitte le répertoire « /usr/src/linux-headers-5.10.0-0.deb10.16-common »
make[1]: *** [Makefile:205: nvidia.ko] Error 2
make[1] : on quitte le répertoire « /var/lib/dkms/nvidia-legacy-340xx/340.108/build »
make: *** [Makefile:221: ../Module.symvers] Error 2
make : on quitte le répertoire « /var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm »