Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Mon Apr 27 10:12:29 2015
- installer version: 1.0.7
- PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- option status:
- license pre-accepted : false
- update : false
- force update : false
- expert : false
- uninstall : false
- driver info : false
- precompiled interfaces : true
- no ncurses color : false
- query latest version : false
- OpenGL header files : true
- no questions : false
- silent : false
- no recursion : false
- no backup : false
- kernel module only : false
- sanity : false
- add this kernel : false
- no runlevel check : false
- no network : false
- no ABI note : false
- no RPMs : false
- no kernel module : false
- force SELinux : default
- no X server check : false
- no cc version check : false
- run distro scripts : true
- no nouveau check : false
- run nvidia-xconfig : false
- sigwinch work around : true
- force tls : (not specified)
- X install prefix : (not specified)
- X library install path : (not specified)
- X module install path : (not specified)
- OpenGL install prefix : (not specified)
- OpenGL install libdir : (not specified)
- utility install prefix : (not specified)
- utility install libdir : (not specified)
- installer prefix : (not specified)
- doc install prefix : (not specified)
- kernel name : (not specified)
- kernel include path : (not specified)
- kernel source path : (not specified)
- kernel output path : (not specified)
- kernel install path : (not specified)
- precompiled kernel interfaces path : (not specified)
- precompiled kernel interfaces url : (not specified)
- proc mount point : /proc
- ui : (not specified)
- tmpdir : /tmp
- ftp mirror : ftp://download.nvidia.com
- RPM file list : (not specified)
- selinux chcon type : (not specified)
- Using: nvidia-installer ncurses user interface
- WARNING: Skipping the runlevel check (the utility `runlevel` failed to run).
- -> License accepted.
- -> Installing NVIDIA driver version 173.14.39.
- -> Running distribution scripts
- executing: '/usr/lib/nvidia/pre-install'...
- -> done.
- -> The distribution-provided pre-install script failed! Continue installation
- anyway? (Answer: Yes)
- -> Performing CC sanity check with CC="cc".
- -> Performing CC version check with CC="cc".
- -> Kernel source path: '/lib/modules/3.16.0-34-generic/build'
- -> Kernel output path: '/lib/modules/3.16.0-34-generic/build'
- -> Performing rivafb check.
- -> Performing nvidiafb check.
- -> Performing Xen check.
- -> Cleaning kernel module build directory.
- executing: 'cd ./usr/src/nv; make clean'...
- -> Building kernel module:
- executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/3.16.0-34-gener
- ic/build SYSOUT=/lib/modules/3.16.0-34-generic/build'...
- NVIDIA: calling KBUILD...
- 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 fi
- x it."; \
- echo >&2 ; \
- /bin/false)
- mkdir -p /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_ver
- sions ; rm -f /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tm
- p_versions/*
- make -f scripts/Makefile.build obj=/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.3
- 9-pkg1/usr/src/nv
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv.
- o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I./arch/x8
- 6/include -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 -Iubuntu/include -D__KERNEL__ -Wa
- ll -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm
- on -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-fl
- oat -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-s
- tack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-m
- tune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
- =1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG
- _AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse
- -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -
- Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-
- omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments
- -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fc
- onserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_G
- OTO -I/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimp
- licit -Wreturn-type -Wswitch -Wform
- at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -M
- D -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV
- _VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD
- _STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR
- (nvidia)" -c -o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.
- tmp_nv.o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv.c:13:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c: In function
- ‘nv_kern_ioctl’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.c:2646:26: war
- ning: comparison between signed and unsigned integer expressions [-Wsign-com
- pare]
- if (arg_size < (sizeof(*ci) * num_nv_devices))
- ^
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/nv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcoun
- t "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv.o"; fi; fi
- ;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv-
- vm.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I./arch
- /x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/ua
- pi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/ua
- pi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall -
- Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
- Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-float
- -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack
- -boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune
- =generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -
- DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_
- AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno
- -mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wfra
- me-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit
- -frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg
- -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-o
- verflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC
- _HAVE_ASM_GOTO -I/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv
- -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
- eses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qua
- l -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\"
- -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME
- =KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz
- 7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz7077
- /NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-vm.c:14:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c: In funct
- ion ‘nv_sg_map_buffer’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:146:23: w
- arning: assignment makes integer from pointer without a cast [enabled by def
- ault]
- sg_ptr->page_link = virt_to_page(base);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:231:1: wa
- rning: label ‘done’ defined but not used [-Wunused-label]
- done:
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.c:139:16: w
- arning: unused variable ‘count’ [-Wunused-variable]
- static int count = 0;
- ^
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/nv-vm.o != "scripts/mod/empty.o" ]; then ./scripts/recordmc
- ount "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-vm.o";
- fi; fi;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os-
- agp.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I./arc
- h/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/u
- api -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/u
- api -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall
- -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
- -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-float
- -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack
- -boundary=2 -march=i686 -mtune=
- generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCON
- FIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCON
- FIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare
- -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-
- avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstack-pro
- tector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-si
- bling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement
- -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int
- -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/tmp/selfgz7077/NVIDIA-Linux-
- x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wform
- at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -M
- D -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV
- _VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD
- _STR(s)=#s" -D"KBUILD_BASENAME=KBUI
- LD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz7077
- /NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz7077/NV
- IDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-agp.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-agp.c:24:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/os-agp.o != "scripts/mod/empty.o" ]; then ./scripts/recordm
- count "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-agp.o"
- ; fi; fi;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os-
- interface.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -
- I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/inc
- lude/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/gener
- ated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__
- -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
- ommon -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft
- -float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferre
- d-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa
- ,-mtune=generic32 -ffreestanding
- -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
- -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-com
- pare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
- -mno-avx -fno-delete-null-pointer-checks -O2 -Wframe-larger-than=1024 -fstac
- k-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimi
- ze-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-state
- ment -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implici
- t-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -I/tmp/selfgz7077/NVIDIA-
- Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
- -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
- ror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVR
- M -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"
- KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MO
- DNAME=KBUILD_STR(nvidia)" -c -o /tmp
- /selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.tmp_os-interface.o /
- tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-interface.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-interface.c:26:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/os-interface.o != "scripts/mod/empty.o" ]; then ./scripts/r
- ecordmcount "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-
- interface.o"; fi; fi;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.os-
- registry.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I
- ./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/incl
- ude/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/genera
- ted/uapi -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -
- Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-co
- mmon -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-
- float -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred
- -stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,
- -m
- tune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME
- =1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG
- _AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse
- -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -
- Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-
- omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments
- -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fc
- onserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_G
- OTO -I/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimp
- licit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoin
- ter-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-erro
- r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_
- DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR
- (os_registry)" -D"KBUILD_MODNAME=K
- BUILD_STR(nvidia)" -c -o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr
- /src/nv/.tmp_os-registry.o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/u
- sr/src/nv/os-registry.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/os-registry.c:15:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/os-registry.o != "scripts/mod/empty.o" ]; then ./scripts/re
- cordmcount "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/os-r
- egistry.o"; fi; fi;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nv-
- i2c.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I./arc
- h/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/u
- api -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/u
- api -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall
- -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
- -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-float
- -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack
- -boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-arg
- s -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGN
- AL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1
- -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -
- mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-chec
- ks -O2 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variab
- le -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-ass
- ignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-ove
- rflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_H
- AVE_ASM_GOTO -I/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -W
- all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
- es -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual
- -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -U
- DEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=K
- BUILD_STR(nv_i2c)" -D"KBUILD_MODNAM
- E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/
- usr/src/nv/.tmp_nv-i2c.o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr
- /src/nv/nv-i2c.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-i2c.c:8:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- if [ "-pg" = "-pg" ]; then if [ /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39
- -pkg1/usr/src/nv/nv-i2c.o != "scripts/mod/empty.o" ]; then ./scripts/recordm
- count "/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nv-i2c.o"
- ; fi; fi;
- cc -Wp,-MD,/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/.nva
- cpi.o.d -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.8/include -I./arc
- h/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/u
- api -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/u
- api -include ./include/linux/kconfig.h -Iubuntu/include -D__KERNEL__ -Wall
- -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
- -Werror-implicit-function-declaration -Wno-format-security -m32 -msoft-float
- -mregparm=3 -freg-struct-return -mno-mmx -mno-sse -fno-pic -mpreferred-stack
- -boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune
- =generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -
- D
- CONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_A
- VX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-
- mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 -Wfram
- e-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-
- frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg
- -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconse
- rve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO
- -I/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv -Wall -Wimplici
- t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
- arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D
- __KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.39\" -UDEBUG -U_DEBU
- G -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nva
- cpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz7077/NVIDIA-Li
- nux-x86-173.14.39-pkg1/usr/src/nv/.t
- mp_nvacpi.o /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacp
- i.c
- In file included from include/linux/bitops.h:36:0,
- from include/linux/kernel.h:10,
- from include/linux/sched.h:17,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- ./arch/x86/include/asm/bitops.h: In function ‘set_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:76:6: note: in expansion of macro ‘CONST_M
- ASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:114:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- ./arch/x86/include/asm/bitops.h: In function ‘change_bit’:
- ./arch/x86/include/asm/bitops.h:53:61: warning: pointer of type ‘void *’
- used in arithmetic [-Wpointer-arith]
- #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
- ^
- ./arch/x86/include/asm/bitops.h:43:49: note: in definition of macro ‘BITOP
- _ADDR’
- #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
- ^
- ./arch/x86/include/asm/bitops.h:187:6: note: in expansion of macro ‘CONST_
- MASK_ADDR’
- : CONST_MASK_ADDR(nr, addr)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/list.h: In function ‘list_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:107:16: note: in expansion of macro ‘LIST_POISON1’
- entry->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:108:16: note: in expansion of macro ‘LIST_POISON2’
- entry->prev = LIST_POISON2;
- ^
- include/linux/list.h: In function ‘hlist_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:625:12: note: in expansion of macro ‘LIST_POISON1’
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list.h:626:13: note: in expansion of macro ‘LIST_POISON2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/asm-generic/qrwlock.h: In function ‘queue_write_trylock’:
- include/asm-generic/qrwlock.h:93:35: warning: comparison between signed and
- unsigned integer expressions [-Wsign-compare]
- cnts, cnts | _QW_LOCKED) == cnts);
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/rculist.h: In function ‘list_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:132:16: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- entry->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘list_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:178:14: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->prev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:346:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist.h: In function ‘hlist_replace_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist.h:366:15: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- old->pprev = LIST_POISON2;
- ^
- In file included from include/linux/utsname.h:5:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/sched.h: In function ‘object_is_on_stack’:
- include/linux/sched.h:2635:41: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- return (obj >= stack) && (obj < (stack + THREAD_SIZE));
- ^
- In file included from include/linux/list.h:6:0,
- from include/linux/preempt.h:10,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/list_bl.h: In function ‘hlist_bl_del’:
- include/linux/poison.h:22:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON1 ((void *) 0x00100100 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:106:12: note: in expansion of macro ‘LIST_POISON1\E2
- \80\99
- n->next = LIST_POISON1;
- ^
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/list_bl.h:107:13: note: in expansion of macro ‘LIST_POISON2\E2
- \80\99
- n->pprev = LIST_POISON2;
- ^
- include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
- include/linux/poison.h:23:44: warning: pointer of type ‘void *’ used in
- arithmetic [-Wpointer-arith]
- #define LIST_POISON2 ((void *) 0x00200200 + POISON_POINTER_DELTA)
- ^
- include/linux/rculist_bl.h:76:13: note: in expansion of macro ‘LIST_POISON
- 2’
- n->pprev = LIST_POISON2;
- ^
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- ./arch/x86/include/asm/uaccess.h: In function ‘copy_from_user’:
- ./arch/x86/include/asm/uaccess.h:712:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159: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:730:26: warning: comparison between signed
- and unsigned integer expressions [-Wsign-compare]
- if (likely(sz < 0 || sz >= n))
- ^
- include/linux/compiler.h:159:40: note: in definition of macro ‘likely’
- # define likely(x) __builtin_expect(!!(x), 1)
- ^
- In file included from include/linux/dma-mapping.h:9:0,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/scatterlist.h: In function ‘sg_virt’:
- include/linux/scatterlist.h:220:35: warning: pointer of type ‘void *’ us
- ed in arithmetic [-Wpointer-arith]
- return page_address(sg_page(sg)) + sg->offset;
- ^
- In file included from ./arch/x86/include/asm/dma-mapping.h:44:0,
- from include/linux/dma-mapping.h:82,
- from include/asm-generic/pci-dma-compat.h:7,
- from ./arch/x86/include/asm/pci.h:118,
- from include/linux/pci.h:1417,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:102,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
- include/asm-generic/dma-mapping-common.h:78:48: warning: pointer of type ‘
- void *’ used in arithmetic [-Wpointer-arith]
- kmemcheck_mark_initialized(page_address(page) + offset, size);
- ^
- In file included from include/linux/vgaarb.h:34:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:130,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/video/vga.h: In function ‘vga_mm_r’:
- include/video/vga.h:220:24: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- return readb (regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w’:
- include/video/vga.h:225:23: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writeb (val, regbase + port);
- ^
- include/video/vga.h: In function ‘vga_mm_w_fast’:
- include/video/vga.h:231:43: warning: pointer of type ‘void *’ used in ar
- ithmetic [-Wpointer-arith]
- writew (VGA_OUT16VAL (val, reg), regbase + port);
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/highmem.h: In function ‘zero_user_segments’:
- include/linux/highmem.h:201:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start1, 0, end1 - start1);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- include/linux/highmem.h:204:16: warning: pointer of type ‘void *’ used i
- n arithmetic [-Wpointer-arith]
- memset(kaddr + start2, 0, end2 - start2);
- ^
- ./arch/x86/include/asm/string_32.h:325:46: note: in definition of macro ‘m
- emset’
- #define memset(s, c, count) __builtin_memset(s, c, count)
- ^
- In file included from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:210:0,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/acpi/acpi_drivers.h: At top level:
- include/acpi/acpi_drivers.h:98:43: warning: ‘struct acpi_pci_root’ decla
- red inside parameter list [enabled by default]
- struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
- ^
- include/acpi/acpi_drivers.h:98:43: warning: its scope is only this definitio
- n or declaration, which is probably not what you want [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:51:21: e
- rror: variable ‘nv_acpi_driver_template’ has initializer but incomplete
- type
- static const struct acpi_driver nv_acpi_driver_template = {
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: er
- ror: unknown field ‘name’ specified in initializer
- .name = "NVIDIA ACPI Video Driver",
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: wa
- rning: excess elements in struct initializer [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:52:5: wa
- rning: (near initialization for ‘nv_acpi_driver_template’) [enabled by d
- efault]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: er
- ror: unknown field ‘class’ specified in initializer
- .class = "video",
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: wa
- rning: excess elements in struct initializer [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:53:5: wa
- rning: (near initialization for ‘nv_acpi_driver_template’) [enabled by d
- efault]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: er
- ror: unknown field ‘ids’ specified in initializer
- .ids = ACPI_VIDEO_HID,
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: wa
- rning: excess elements in struct initializer [enabled by default]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:58:5: wa
- rning: (near initialization for ‘nv_acpi_driver_template’) [enabled by d
- efault]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: er
- ror: unknown field ‘ops’ specified in initializer
- .ops = {
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: er
- ror: extra brace group at end of initializer
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:61:5: er
- ror: (near initialization for ‘nv_acpi_driver_template’)
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:67:5: wa
- rning: excess elements in struct initializer [enabled by default]
- },
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:67:5: wa
- rning: (near initialization for ‘nv_acpi_driver_template’) [enabled by d
- efault]
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In func
- tion ‘nv_acpi_init’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:81:51: e
- rror: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_
- driver’
- os_alloc_mem((void **)&nv_acpi_driver, sizeof(struct acpi_driver));
- ^
- In file included from ./arch/x86/include/asm/string.h:2:0,
- from include/linux/string.h:17,
- from ./arch/x86/include/asm/page_32.h:34,
- from ./arch/x86/include/asm/page.h:13,
- from ./arch/x86/include/asm/thread_info.h:11,
- from include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from include/linux/preempt.h:18,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:86:20: e
- rror: invalid application of ‘sizeof’ to incomplete type ‘struct acpi_
- driver’
- sizeof(struct acpi_driver));
- ^
- ./arch/x86/include/asm/string_32.h:182:48: note: in definition of macro ‘m
- emcpy’
- #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:88:5: er
- ror: implicit declaration of function ‘acpi_bus_register_driver’ [-Werro
- r=implicit-function-declaration]
- status = acpi_bus_register_driver(nv_acpi_driver);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In func
- tion ‘nv_acpi_uninit’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:105:5: e
- rror: implicit declaration of function ‘acpi_bus_unregister_driver’ [-We
- rror=implicit-function-declaration]
- acpi_bus_unregister_driver(nv_acpi_driver);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In func
- tion ‘nv_acpi_add’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:147:11:
- error: dereferencing pointer to incomplete type
- device->driver_data = pNvAcpiObject;
- ^
- In file included from include/linux/preempt.h:10:0,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:43:
- error: dereferencing pointer to incomplete type
- list_for_each_safe(node, next, &device->children)
- ^
- include/linux/list.h:425:14: note: in definition of macro ‘list_for_each_s
- afe’
- for (pos = (head)->next, n = pos->next; pos != (head); \
- ^
- include/linux/list.h:425:25: warning: left-hand operand of comma expression
- has no effect [-Wunused-value]
- for (pos = (head)->next, n = pos->next; pos != (head); \
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:5: n
- ote: in expansion of macro ‘list_for_each_safe’
- list_for_each_safe(node, next, &device->children)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:154:43:
- error: dereferencing pointer to incomplete type
- list_for_each_safe(node, next, &device->children)
- ^
- include/linux/list.h:425:50: note: in definition of macro ‘list_for_each_s
- afe’
- for (pos = (head)->next, n = pos->next; pos != (head); \
- ^
- In file included from include/linux/sched.h:17:0,
- from include/linux/utsname.h:5,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- include/linux/kernel.h:834:27: error: dereferencing pointer to incomplete ty
- pe
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
- container_of(ptr, type, member)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
- note: in expansion of macro ‘list_entry’
- list_entry(node, struct acpi_device, node);
- ^
- include/linux/kernel.h:834:48: warning: initialization from incompatible poi
- nter type [enabled by default]
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
- container_of(ptr, type, member)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
- note: in expansion of macro ‘list_entry’
- list_entry(node, struct acpi_device, node);
- ^
- include/linux/kernel.h:834:48: warning: (near initialization for ‘dev’)
- [enabled by default]
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- ^
- include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
- container_of(ptr, type, member)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
- note: in expansion of macro ‘list_entry’
- list_entry(node, struct acpi_device, node);
- ^
- In file included from include/linux/compiler-gcc.h:106:0,
- from include/linux/compiler.h:54,
- from include/uapi/linux/stddef.h:1,
- 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 /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nv-linux.h:25,
- from /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv/nvacpi.c:15:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:37:
- error: invalid use of undefined type ‘struct acpi_device’
- list_entry(node, struct acpi_device, node);
- ^
- include/linux/compiler-gcc4.h:14:53: note: in definition of macro ‘__compi
- ler_offsetof’
- #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
- ^
- include/linux/kernel.h:835:29: note: in expansion of macro ‘offsetof’
- (type *)( (char *)__mptr - offsetof(type,member) );})
- ^
- include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
- container_of(ptr, type, member)
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:157:13:
- note: in expansion of macro ‘list_entry’
- list_entry(node, struct acpi_device, node);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:163:13:
- error: implicit declaration of function ‘acpi_evaluate_integer’ [-Werror
- =implicit-function-declaration]
- acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:163:38:
- error: dereferencing pointer to incomplete type
- acpi_evaluate_integer(dev->handle, "_ADR", NULL, &device_id);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:174:44:
- error: dereferencing pointer to incomplete type
- pNvAcpiObject->crt_handle = dev->handle;
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:179:43:
- error: dereferencing pointer to incomplete type
- pNvAcpiObject->tv_handle = dev->handle;
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:187:44:
- error: dereferencing pointer to incomplete type
- pNvAcpiObject->lcd_handle = dev->handle;
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:195:44:
- error: dereferencing pointer to incomplete type
- pNvAcpiObject->dvi_handle = dev->handle;
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:208:41:
- error: dereferencing pointer to incomplete type
- status = acpi_evaluate_object(device->handle, "_DOS", &control_argument
- _list, NULL);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:216:48:
- error: dereferencing pointer to incomplete type
- status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY
- ,
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c: In func
- tion ‘nv_acpi_remove’:
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:241:5: e
- rror: implicit declaration of function ‘acpi_driver_data’ [-Werror=impli
- cit-function-declaration]
- nv_acpi_t *pNvAcpiObject = acpi_driver_data(device);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:241:32:
- warning: initialization makes pointer from integer without a cast [enabled b
- y default]
- nv_acpi_t *pNvAcpiObject = acpi_driver_data(device);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:252:41:
- error: dereferencing pointer to incomplete type
- status = acpi_evaluate_object(device->handle, "_DOS", &control_argument
- _list, NULL);
- ^
- /tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nvacpi.c:265:51:
- error: dereferencing pointer to incomplete type
- status = acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOT
- IFY, nv_acpi_event);
- ^
- cc1: some warnings being treated as errors
- make[3]: *** [/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/src/nv/nva
- cpi.o] Error 1
- make[2]: *** [_module_/tmp/selfgz7077/NVIDIA-Linux-x86-173.14.39-pkg1/usr/sr
- c/nv] Error 2
- NVIDIA: left KBUILD.
- nvidia.ko failed to build!
- make[1]: *** [module] Error 1
- make: *** [module] Error 2
- -> Error.
- ERROR: Unable to build the NVIDIA kernel module.
- ERROR: Installation has failed. Please see the file
- '/var/log/nvidia-installer.log' for details. You may find suggestions
- on fixing installation problems in the README available on the Linux
- driver download page at www.nvidia.com.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement