Bug#826190: build failure for kernel 4.6.1

Harald Dunkel harri at afaics.de
Fri Jun 3 05:32:32 UTC 2016


Package: nvidia-kernel-dkms
Version: 352.79-7

Trying to build the nvidia module for upstream's 4.6.1 kernel
on sid I get this error message:

:
:
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
     ret = get_user_pages(current, mm, (unsigned long)address,
           ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o' failed
make[2]: *** [/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o] Error 1
Makefile:1429: recipe for target '_module_/var/lib/dkms/nvidia-current/352.79/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-current/352.79/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.6.1'
nvidia-modules-common.mk:303: recipe for target 'module' failed
make: *** [module] Error 2
:
:


Complete log file is attached.

Version 355.11-2 is no options due to wrong xorg abi.


Regards
Harri
-------------- next part --------------
DKMS make.log for nvidia-current-352.79 for kernel 4.6.1 (x86_64)
Fri Jun  3 07:20:37 CEST 2016
NVIDIA: calling KBUILD...
make  KERNEL_SOURCES=/lib/modules/4.6.1/build KERNEL_OUTPUT=/lib/modules/4.6.1/build KBUILD_VERBOSE=1 -C /lib/modules/4.6.1/build SUBDIRS=/var/lib/dkms/nvidia-current/352.79/build ARCH=x86_64 modules
make[1]: Entering directory '/usr/src/linux-headers-4.6.1'
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)
mkdir -p /var/lib/dkms/nvidia-current/352.79/build/.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/352.79/build/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/352.79/build
CONFTEST=/bin/sh /var/lib/dkms/nvidia-current/352.79/build/conftest.sh "gcc" "gcc" x86_64 /lib/modules/4.6.1/build /lib/modules/4.6.1/build
CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest28309" -DKBUILD_MODNAME="#conftest28309" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/lib/modules/4.6.1/build/include/asm-x86/mach-default -I/lib/modules/4.6.1/build/arch/x86/include/asm/mach-default -include /lib/modules/4.6.1/build/include/generated/autoconf.h -I/lib/modules/4.6.1/build/include -I/lib/modules/4.6.1/build/include/uapi -I/lib/modules/4.6.1/build/include/xen -I/lib/modules/4.6.1/build/include/generated/uapi -I/lib/modules/4.6.1/build/arch/x86/include -I/lib/modules/4.6.1/build/arch/x86/include/uapi -I/lib/modules/4.6.1/build/arch/x86/include/generated -I/lib/modules/4.6.1/build/arch/x86/include/generated/uapi -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO
KBUILD_CFLAGS=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables  -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048  -fno-stack-protector -Wno-unused-but-set-variable  -fomit-frame-pointer  -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO    
LINUXINCLUDE=-I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h
LDFLAGS=-m elf_x86_64
ARCH=x86_64
for SANITY_CHECK in cc_version_check rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check; do \
 echo " CONFTEST: $SANITY_CHECK"; \
 if ! /bin/sh /var/lib/dkms/nvidia-current/352.79/build/conftest.sh "gcc" "gcc" x86_64 /lib/modules/4.6.1/build /lib/modules/4.6.1/build $SANITY_CHECK full_output; then \
 exit 1; \
 fi; \
done
 CONFTEST: cc_version_check
 CONFTEST: rivafb_sanity_check
 CONFTEST: nvidiafb_sanity_check
 CONFTEST: dom0_sanity_check
 CONFTEST: xen_sanity_check
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#define NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#define NV_LINUX_SCREEN_INFO_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
 CONFTEST: INIT_WORK
 CONFTEST macros.h:
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
 CONFTEST: remap_pfn_range
 CONFTEST: follow_pfn
 CONFTEST: vmap
 CONFTEST: set_pages_uc
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: change_page_attr
 CONFTEST: pci_get_class
 CONFTEST: pci_choose_state
 CONFTEST: vm_insert_page
 CONFTEST: acpi_device_id
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: kmem_cache_create
 CONFTEST: on_each_cpu
 CONFTEST: smp_call_function
 CONFTEST: acpi_evaluate_integer
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: pci_domain_nr
 CONFTEST: pci_dma_mapping_error
 CONFTEST: sg_alloc_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: efi_enabled
 CONFTEST: proc_create_data
 CONFTEST: pde_data
 CONFTEST: proc_remove
 CONFTEST: pm_vt_switch_required
 CONFTEST: drm_pci_set_busid
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: write_cr4
 CONFTEST: for_each_online_node
 CONFTEST: node_end_pfn
 CONFTEST functions.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_FOLLOW_PFN_PRESENT
#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
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#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_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_DRM_PCI_SET_BUSID_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#define NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
 CONFTEST symbols.h:
 CONFTEST: i2c_adapter
 CONFTEST: pm_message_t
 CONFTEST: irq_handler_t
 CONFTEST: acpi_device_ops
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 CONFTEST: proc_dir_entry
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: file_operations
 CONFTEST: vm_operations_struct
 CONFTEST: pci_save_state
 CONFTEST: file_inode
 CONFTEST: task_struct
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: dma_map_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 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
#define NV_SG_TABLE_PRESENT
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_VM_OPERATIONS_STRUCT_HAS_FAULT
#define NV_VM_OPERATIONS_STRUCT_HAS_ACCESS
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#define NV_FILE_HAS_INODE
#define NV_TASK_STRUCT_HAS_CRED
#define NV_KUID_T_PRESENT
#define NV_DMA_OPS_PRESENT
#define NV_DMA_MAP_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
 CONFTEST: dom0_kernel_present
 CONFTEST: drm_available
 CONFTEST: nvidia_grid_build
 CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
#undef NV_GRID_BUILD
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-frontend.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-frontend.o /var/lib/dkms/nvidia-current/352.79/build/nv-frontend.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-frontend.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-frontend.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-frontend.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-instance.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_instance)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-instance.o /var/lib/dkms/nvidia-current/352.79/build/nv-instance.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-instance.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-instance.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-instance.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /var/lib/dkms/nvidia-current/352.79/build/nv_compiler.h
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv.o /var/lib/dkms/nvidia-current/352.79/build/nv.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-acpi.o /var/lib/dkms/nvidia-current/352.79/build/nv-acpi.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-acpi.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-acpi.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-acpi.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-chrdev.o /var/lib/dkms/nvidia-current/352.79/build/nv-chrdev.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-chrdev.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-chrdev.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-chrdev.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-cray.o /var/lib/dkms/nvidia-current/352.79/build/nv-cray.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-cray.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-cray.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-cray.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-dma.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-dma.o /var/lib/dkms/nvidia-current/352.79/build/nv-dma.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-dma.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-dma.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-dma.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-drm.o /var/lib/dkms/nvidia-current/352.79/build/nv-drm.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-drm.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-drm.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-drm.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-gvi.o /var/lib/dkms/nvidia-current/352.79/build/nv-gvi.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-gvi.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-gvi.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-gvi.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nvlink.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nvlink.o /var/lib/dkms/nvidia-current/352.79/build/nvlink.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/nvlink.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-i2c.o /var/lib/dkms/nvidia-current/352.79/build/nv-i2c.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-i2c.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-i2c.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-i2c.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-mempool.o /var/lib/dkms/nvidia-current/352.79/build/nv-mempool.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mempool.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mempool.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mempool.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-mmap.o /var/lib/dkms/nvidia-current/352.79/build/nv-mmap.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mmap.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mmap.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-mmap.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-p2p.o /var/lib/dkms/nvidia-current/352.79/build/nv-p2p.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-p2p.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-p2p.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-p2p.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-pat.o /var/lib/dkms/nvidia-current/352.79/build/nv-pat.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-pat.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-pat.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-pat.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-procfs.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-procfs.o /var/lib/dkms/nvidia-current/352.79/build/nv-procfs.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-procfs.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-procfs.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-procfs.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-usermap.o /var/lib/dkms/nvidia-current/352.79/build/nv-usermap.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-usermap.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-usermap.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-usermap.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-vm.o /var/lib/dkms/nvidia-current/352.79/build/nv-vm.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vm.c:14:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vm.c:14:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vm.c:14:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.nv-vtophys.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_nv-vtophys.o /var/lib/dkms/nvidia-current/352.79/build/nv-vtophys.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vtophys.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vtophys.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-vtophys.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_os-interface.o /var/lib/dkms/nvidia-current/352.79/build/os-interface.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-interface.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-interface.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-interface.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/.os-mlock.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/.tmp_os-mlock.o /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/processor.h:15:0,
                 from ./arch/x86/include/asm/cpufeature.h:4,
                 from ./arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:54,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c: In function 'os_lock_user_pages':
./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
 #define current get_current()
                 ^
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:119:26: note: in expansion of macro 'current'
     ret = get_user_pages(current, mm, (unsigned long)address,
                          ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct task_struct *'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:119:35: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
     ret = get_user_pages(current, mm, (unsigned long)address,
                                   ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:120:25: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
             page_count, write, force, user_pages, NULL);
                         ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:120:32: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
             page_count, write, force, user_pages, NULL);
                                ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'struct vm_area_struct **' but argument is of type 'NvBool {aka unsigned char}'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
     ret = get_user_pages(current, mm, (unsigned long)address,
           ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/os-mlock.c:15:
include/linux/mm.h:1266:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o' failed
make[2]: *** [/var/lib/dkms/nvidia-current/352.79/build/os-mlock.o] Error 1
Makefile:1429: recipe for target '_module_/var/lib/dkms/nvidia-current/352.79/build' failed
make[1]: *** [_module_/var/lib/dkms/nvidia-current/352.79/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.6.1'
nvidia-modules-common.mk:303: recipe for target 'module' failed
make: *** [module] Error 2
make: Entering directory '/var/lib/dkms/nvidia-current/352.79/build/uvm'
cd /var/lib/dkms/nvidia-current/352.79/build/uvm/..; make module SYSSRC=/lib/modules/4.6.1/build SYSOUT=/lib/modules/4.6.1/build KBUILD_EXTMOD=/var/lib/dkms/nvidia-current/352.79/build/uvm/..
make[1]: Entering directory '/var/lib/dkms/nvidia-current/352.79/build'
NVIDIA: calling KBUILD...
make  KERNEL_SOURCES=/lib/modules/4.6.1/build KERNEL_OUTPUT=/lib/modules/4.6.1/build KBUILD_VERBOSE=1 -C /lib/modules/4.6.1/build SUBDIRS=/var/lib/dkms/nvidia-current/352.79/build ARCH=x86_64 modules
make[2]: Entering directory '/usr/src/linux-headers-4.6.1'
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)
mkdir -p /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_versions ; rm -f /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/352.79/build/uvm/..
CONFTEST=/bin/sh /var/lib/dkms/nvidia-current/352.79/build/uvm/../conftest.sh "gcc" "gcc" x86_64 /lib/modules/4.6.1/build /lib/modules/4.6.1/build
CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest29888" -DKBUILD_MODNAME="#conftest29888" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I/lib/modules/4.6.1/build/include/asm-x86/mach-default -I/lib/modules/4.6.1/build/arch/x86/include/asm/mach-default -include /lib/modules/4.6.1/build/include/generated/autoconf.h -I/lib/modules/4.6.1/build/include -I/lib/modules/4.6.1/build/include/uapi -I/lib/modules/4.6.1/build/include/xen -I/lib/modules/4.6.1/build/include/generated/uapi -I/lib/modules/4.6.1/build/arch/x86/include -I/lib/modules/4.6.1/build/arch/x86/include/uapi -I/lib/modules/4.6.1/build/arch/x86/include/generated -I/lib/modules/4.6.1/build/arch/x86/include/generated/uapi -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO
KBUILD_CFLAGS=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables  -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048  -fno-stack-protector -Wno-unused-but-set-variable  -fomit-frame-pointer  -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO    
LINUXINCLUDE=-I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h
LDFLAGS=-m elf_x86_64
ARCH=x86_64
for SANITY_CHECK in cc_version_check rivafb_sanity_check nvidiafb_sanity_check dom0_sanity_check xen_sanity_check; do \
 echo " CONFTEST: $SANITY_CHECK"; \
 if ! /bin/sh /var/lib/dkms/nvidia-current/352.79/build/uvm/../conftest.sh "gcc" "gcc" x86_64 /lib/modules/4.6.1/build /lib/modules/4.6.1/build $SANITY_CHECK full_output; then \
 exit 1; \
 fi; \
done
 CONFTEST: cc_version_check
 CONFTEST: rivafb_sanity_check
 CONFTEST: nvidiafb_sanity_check
 CONFTEST: dom0_sanity_check
 CONFTEST: xen_sanity_check
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#define NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#define NV_LINUX_SCREEN_INFO_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
 CONFTEST: INIT_WORK
 CONFTEST macros.h:
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
 CONFTEST: remap_pfn_range
 CONFTEST: follow_pfn
 CONFTEST: vmap
 CONFTEST: set_pages_uc
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: change_page_attr
 CONFTEST: pci_get_class
 CONFTEST: pci_choose_state
 CONFTEST: vm_insert_page
 CONFTEST: acpi_device_id
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: kmem_cache_create
 CONFTEST: on_each_cpu
 CONFTEST: smp_call_function
 CONFTEST: acpi_evaluate_integer
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: pci_domain_nr
 CONFTEST: pci_dma_mapping_error
 CONFTEST: sg_alloc_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: efi_enabled
 CONFTEST: proc_create_data
 CONFTEST: pde_data
 CONFTEST: proc_remove
 CONFTEST: pm_vt_switch_required
 CONFTEST: drm_pci_set_busid
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: write_cr4
 CONFTEST: for_each_online_node
 CONFTEST: node_end_pfn
 CONFTEST functions.h:
#define NV_REMAP_PFN_RANGE_PRESENT
#define NV_FOLLOW_PFN_PRESENT
#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
#define NV_ACPI_DEVICE_ID_HAS_DRIVER_DATA
#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_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_DRM_PCI_SET_BUSID_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#define NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_FOR_EACH_ONLINE_NODE_PRESENT
#define NV_NODE_END_PFN_PRESENT
 CONFTEST: i2c_adapter
 CONFTEST: pm_message_t
 CONFTEST: irq_handler_t
 CONFTEST: acpi_device_ops
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 CONFTEST: proc_dir_entry
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: file_operations
 CONFTEST: vm_operations_struct
 CONFTEST: pci_save_state
 CONFTEST: file_inode
 CONFTEST: task_struct
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: dma_map_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 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
#define NV_SG_TABLE_PRESENT
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_OPERATIONS_HAS_UNLOCKED_IOCTL
#define NV_FILE_OPERATIONS_HAS_COMPAT_IOCTL
#define NV_VM_OPERATIONS_STRUCT_HAS_FAULT
#define NV_VM_OPERATIONS_STRUCT_HAS_ACCESS
#define NV_PCI_SAVE_STATE_ARGUMENT_COUNT 1
#define NV_FILE_HAS_INODE
#define NV_TASK_STRUCT_HAS_CRED
#define NV_KUID_T_PRESENT
#define NV_DMA_OPS_PRESENT
#define NV_DMA_MAP_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
 CONFTEST: dom0_kernel_present
 CONFTEST: drm_available
 CONFTEST: nvidia_grid_build
 CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#define NV_DRM_AVAILABLE
#undef NV_GRID_BUILD
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-frontend.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_frontend)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-frontend.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-frontend.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-frontend.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-frontend.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-frontend.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-instance.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_instance)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-instance.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-instance.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-instance.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-instance.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-instance.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-acpi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_acpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-acpi.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-acpi.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-acpi.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-acpi.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-acpi.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-chrdev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-chrdev.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-chrdev.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-chrdev.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-chrdev.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-chrdev.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-cray.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-cray.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-cray.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-cray.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-cray.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-cray.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-dma.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_dma)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-dma.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-dma.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-dma.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-dma.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-dma.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-drm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_drm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-drm.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-drm.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-drm.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-drm.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-drm.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-gvi.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-gvi.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-gvi.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-gvi.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-gvi.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nvlink.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvlink)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nvlink.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink.c:13:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink.c:13:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink-linux.h:14,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nvlink.c:13:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-i2c.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-i2c.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-i2c.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-i2c.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-i2c.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-mempool.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mempool)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-mempool.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mempool.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mempool.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mempool.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mempool.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-mmap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mmap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-mmap.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mmap.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mmap.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mmap.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-mmap.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-p2p.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_p2p)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-p2p.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-p2p.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-p2p.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-p2p.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-p2p.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-pat.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pat)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-pat.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-pat.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-pat.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-pat.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-pat.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-procfs.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_procfs)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-procfs.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-procfs.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-procfs.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-procfs.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-procfs.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-usermap.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_usermap)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-usermap.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-usermap.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-usermap.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-usermap.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-usermap.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-vm.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vm.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vm.c:14:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vm.c:14:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vm.c:14:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.nv-vtophys.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vtophys)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_nv-vtophys.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vtophys.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vtophys.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vtophys.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-vtophys.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_os-interface.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-interface.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-interface.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-interface.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-interface.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
  gcc -Wp,-MD,/var/lib/dkms/nvidia-current/352.79/build/uvm/../.os-mlock.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fno-var-tracking-assignments -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/var/lib/dkms/nvidia-current/352.79/build/uvm/.. -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"352.79\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_mlock)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/lib/dkms/nvidia-current/352.79/build/uvm/../.tmp_os-mlock.o /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/asm-generic/qrwlock.h: In function 'queued_write_trylock':
include/asm-generic/qrwlock.h:93:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           cnts, cnts | _QW_LOCKED) == cnts);
                                    ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/preempt.h:5:0,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/percpu-refcount.h: In function 'percpu_ref_get_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-refcount.h:177:3: note: in expansion of macro 'this_cpu_add'
   this_cpu_add(*percpu_count, nr);
   ^
include/linux/percpu-refcount.h: In function 'percpu_ref_put_many':
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:419:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:364:11: note: in expansion of macro 'this_cpu_add_1'
   case 1: stem##1(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:365:11: note: in expansion of macro 'this_cpu_add_2'
   case 2: stem##2(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                  ^
include/linux/percpu-defs.h:366:11: note: in expansion of macro 'this_cpu_add_4'
   case 4: stem##4(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
./arch/x86/include/asm/percpu.h:130:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
          ((val) == 1 || (val) == -1)) ?  \
                               ^
./arch/x86/include/asm/percpu.h:478:35: note: in expansion of macro 'percpu_add_op'
 #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                   ^
include/linux/percpu-defs.h:367:11: note: in expansion of macro 'this_cpu_add_8'
   case 8: stem##8(variable, __VA_ARGS__);break;  \
           ^
include/linux/percpu-defs.h:496:33: note: in expansion of macro '__pcpu_size_call'
 #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                 ^
include/linux/percpu-defs.h:506:33: note: in expansion of macro 'this_cpu_add'
 #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                 ^
include/linux/percpu-refcount.h:276:3: note: in expansion of macro 'this_cpu_sub'
   this_cpu_sub(*percpu_count, nr);
   ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from ./include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/uapi/linux/capability.h:16,
                 from include/linux/capability.h:15,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
./arch/x86/include/asm/uaccess.h: In function 'copy_from_user':
./arch/x86/include/asm/uaccess.h:742:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
./arch/x86/include/asm/uaccess.h: In function 'copy_to_user':
./arch/x86/include/asm/uaccess.h:760:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (likely(sz < 0 || sz >= n))
                          ^
include/linux/compiler.h:169:40: note: in definition of macro 'likely'
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./arch/x86/include/asm/processor.h:15:0,
                 from ./arch/x86/include/asm/cpufeature.h:4,
                 from ./arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:54,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:19,
                 from include/linux/utsname.h:5,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:40,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c: In function 'os_lock_user_pages':
./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
 #define current get_current()
                 ^
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:119:26: note: in expansion of macro 'current'
     ret = get_user_pages(current, mm, (unsigned long)address,
                          ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct task_struct *'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:119:35: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
     ret = get_user_pages(current, mm, (unsigned long)address,
                                   ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:120:25: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
             page_count, write, force, user_pages, NULL);
                         ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'struct page **' but argument is of type 'NvBool {aka unsigned char}'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:120:32: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
             page_count, write, force, user_pages, NULL);
                                ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/mm.h:1266:6: note: expected 'struct vm_area_struct **' but argument is of type 'NvBool {aka unsigned char}'
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:119:11: error: too many arguments to function 'get_user_pages'
     ret = get_user_pages(current, mm, (unsigned long)address,
           ^
In file included from /var/lib/dkms/nvidia-current/352.79/build/uvm/../nv-linux.h:70:0,
                 from /var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.c:15:
include/linux/mm.h:1266:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^
scripts/Makefile.build:291: recipe for target '/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.o' failed
make[3]: *** [/var/lib/dkms/nvidia-current/352.79/build/uvm/../os-mlock.o] Error 1
Makefile:1429: recipe for target '_module_/var/lib/dkms/nvidia-current/352.79/build/uvm/..' failed
make[2]: *** [_module_/var/lib/dkms/nvidia-current/352.79/build/uvm/..] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.6.1'
nvidia-modules-common.mk:303: recipe for target 'module' failed
make[1]: *** [module] Error 2
make[1]: Leaving directory '/var/lib/dkms/nvidia-current/352.79/build'
Makefile:182: recipe for target '/var/lib/dkms/nvidia-current/352.79/build/uvm/../Module.symvers' failed
make: *** [/var/lib/dkms/nvidia-current/352.79/build/uvm/../Module.symvers] Error 2
make: Leaving directory '/var/lib/dkms/nvidia-current/352.79/build/uvm'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160603/503a1fc1/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list