Red hat install nvidia driver failed.

this is my installation log

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Wed Mar 20 16:26:44 2019
installer version: 375.66

PATH: /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/anaconda3/bin:/usr/local/cuda/bin:/usr/local/libexec/git-core:/root/bin

nvidia-installer command line:
./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> License accepted.
-> Installing NVIDIA driver version 375.66.
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
-> Performing CC sanity check with CC="/bin/cc".
-> Kernel source path: ‘/lib/modules/3.10.0-862.9.1.el7.x86_64/source’
-> Kernel output path: ‘/lib/modules/3.10.0-862.9.1.el7.x86_64/build’
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
executing: ‘cd ./kernel; /bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/3.10.0-862.9.1.el7.x86_64/source" SYSOUT="/lib/modules/3.10.0-862.9.1.el7.x86_64/build"’…
rm -f -r conftest
/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/3.10.0-862.9.1.el7.x86_64/build KBUILD_VERBOSE= -C /lib/modules/3.10.0-862.9.1.el7.x86_64/source M=/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/3.10.0-862.9.1.el7.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/3.10.0-862.9.1.el7.x86_64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: Entering directory /usr/src/kernels/3.10.0-862.9.1.el7.x86_64' /bin/make -C /lib/modules/3.10.0-862.9.1.el7.x86_64/build \ KBUILD_SRC=/usr/src/kernels/3.10.0-862.9.1.el7.x86_64 \ KBUILD_EXTMOD="/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel" -f /usr/src/kernels/3.10.0-862.9.1.el7.x86_64/Makefile \ clean make[1]: Leaving directory /usr/src/kernels/3.10.0-862.9.1.el7.x86_64’
-> Building kernel modules
executing: ‘cd ./kernel; /bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/3.10.0-862.9.1.el7.x86_64/source" SYSOUT="/lib/modules/3.10.0-862.9.1.el7.x86_64/build"’…
/bin/make “CC=cc” KBUILD_OUTPUT=/lib/modules/3.10.0-862.9.1.el7.x86_64/build KBUILD_VERBOSE= -C /lib/modules/3.10.0-862.9.1.el7.x86_64/source M=/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/3.10.0-862.9.1.el7.x86_64/source NV_KERNEL_OUTPUT=/lib/modules/3.10.0-862.9.1.el7.x86_64/build NV_KERNEL_MODULES=“nvidia nvidia-uvm nvidia-modeset nvidia-drm” INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-862.9.1.el7.x86_64’
/bin/make -C /lib/modules/3.10.0-862.9.1.el7.x86_64/build
KBUILD_SRC=/usr/src/kernels/3.10.0-862.9.1.el7.x86_64
KBUILD_EXTMOD="/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel" -f /usr/src/kernels/3.10.0-862.9.1.el7.x86_64/Makefile
modules
SYMLINK /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: hash__remap_4k_pfn
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: sg_init_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_driver_has_set_busid
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_parse_phandle
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: request_threaded_irq
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: get_user_pages_remote
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_free
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: atomic_long_type
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: vm_fault_present
CONFTEST: vm_fault_has_address
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_functions_have_name_arg
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_mode_config_funcs_has_atomic_state_alloc
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: drm_available
CONFTEST: nvidia_grid_build
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.c:13:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
make[3]: *** [/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-frontend.o] Error 1
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.o
make[3]: *** [/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-instance.o] Error 1
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.o
make[3]: *** [/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-acpi.o] Error 1
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.o
make[3]: *** [/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv.o] Error 1
CC [M] /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-gvi.o
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-cray.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 6 of ‘get_user_pages_remote’ makes integer from pointer without a cast [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘int’ but argument is of type ‘struct page **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: warning: passing argument 7 of ‘get_user_pages_remote’ from incompatible pointer type [enabled by default]
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: expected ‘struct page **’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: error: too few arguments to function ‘get_user_pages_remote’
pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-chrdev.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1377:6: note: declared here
long get_user_pages_remote(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 1 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct task_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 2 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘struct mm_struct *’ but argument is of type ‘long unsigned int’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 4 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘long unsigned int’ but argument is of type ‘struct page **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: warning: passing argument 5 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: expected ‘int’ but argument is of type ‘struct vm_area_struct **’
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:70:13: error: too few arguments to function ‘get_user_pages’
return get_user_pages(start, nr_pages, flags, pages, vmas);
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-pgprot.h:17:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:17,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/usr/src/kernels/3.10.0-862.9.1.el7.x86_64/include/linux/mm.h:1381:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
In file included from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-linux.h:18:0,
from /tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h: In function ‘NV_GET_USER_PAGES_REMOTE’:
/tmp/selfgz5262/NVIDIA-Linux-x86_64-375.66/kernel/common/inc/nv-mm.h:97:45: wa

The 375 driver is outdated, please use a current driver to install. The RHEL 3.10 kernel resembles more a 4.1x kernel.