Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1526 Le 04/07/2013, à 22:03

Rolinh

Re : /* Topic des codeurs [8] */

The Uploader a écrit :

la POO y'a pas que ça dans la vie (ça ne résout pas tous les problèmes d'architecture logiciel, encore moins si on n'applique pas les principes SOLID).

Personne n'a affirmé le contraire. Et d'une manière générale, je ne vois pas comment un paradigme de programmation pourrait résoudre des tous les problèmes d'architecture logicielle... Toujours est-il que c'est dommage de faire du python sans exploiter l'objet lorsque l'on dépasse le stade du simple script.

Hors ligne

#1527 Le 04/07/2013, à 22:12

The Uploader

Re : /* Topic des codeurs [8] */

Oh je suis tout à fait d'accord.

Juste que j'aimerais aussi avoir vu à l'école les autres manières. Mais on s'est arrêté à la POO pendant 3 ans. neutral

Rolinh a écrit :

Et d'une manière générale, je ne vois pas comment un paradigme de programmation pourrait résoudre des tous les problèmes d'architecture logicielle...

Moi non plus, mais ce fut mon impression au début parce que la POO c'était trop hype, etc...

Dernière modification par The Uploader (Le 04/07/2013, à 22:14)


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1528 Le 04/07/2013, à 22:23

Rolinh

Re : /* Topic des codeurs [8] */

C'est dommage pour ton école mais je ne pense pas que tu puisses en faire une généralité.
Dans la mienne par exemple on a commencé par faire du fonctionnel (scheme), puis du procédural (Pascal, C) mais aussi de la programmation logique (Prolog) et évidemment de l'objet (Java, C++) ou encore des langages spécialisés (matlab, PL-SQL, R) tout en passant par de l'assembleur (ARM). Donc on a fait de l'orienté objet mais on ne nous a jamais vendu ça comme la réponse à tout.

Hors ligne

#1529 Le 05/07/2013, à 19:00

Elzen

Re : /* Topic des codeurs [8] */

Bon, pour clore un peu les histoires d'indentation, parce que c'est un des rares trolls dont je n'avais pas encore causé sur mon site, dites-moi si j'ai oublié des trucs, d'après vous.

Hors ligne

#1530 Le 06/07/2013, à 00:39

grim7reaper

Re : /* Topic des codeurs [8] */

Elzen a écrit :

Si ; mais ce sont deux filières d'étudiants d'origine étrangère, et pas le même étranger, donc pas trop ^^

Mouais.
Enfin je suppose qu’ils parlent anglais, donc bon…
Voire français.



Rolinh a écrit :

- support de la concurrence (plusieurs utilisateurs veulent mettre à jour les données en même temps...)

Ça c’est géré par le SGBD il me semble, pas par l’ORM.

Sinon les ORM ont pas mal d’avantages mais j’ai souvent entendu dire que le SQL généré était loin d’être performant (ce qui n’est pas un problème dans la majorité des cas, mais il faut le savoir).

Hors ligne

#1531 Le 06/07/2013, à 01:00

tshirtman

Re : /* Topic des codeurs [8] */

@Elzen: tu voudrais pas ":set autoindent" au lieu de (probablement) ":set smartindent" pour corriger ton soucis d'indentation?

Elzen a écrit :

D'ailleurs, ça me fait penser à un truc.
Sur la promo dans laquelle je fais cours, apparemment, l'un des premiers réflexes des enseignants est d'apprendre à leurs élèves à configurer leur éditeur pour utiliser des espaces à la place des tabulations. Le résultat, j'ai pu le constater à chaque rendu de code cette année, est qu'il y a très peu de code correctement indenté : le nombre d'espaces utilisé varie d'un bloc à l'autre (on fait du Java, donc ça passe)
J'ai bien envie de suggérer (et de faire moi-même, vu que j'aurai des premières années l'an prochain) qu'on insiste sur l'indentation, mais en leur disant d'utiliser des tabs, juste pour voir si le résultat sera du même niveau ou pas. Tiens, d'ailleurs, je vais envoyer un mail à mes collègues maintenant. Si ça passe, je vous tiendrai au courant smile

Je pense que ça s'explique plus par de la retouche d'algo a la mode coupé/collé, en laissant l'éditeur gérer l'indentation la plupart du temps à l'insertion, que par quoi que ce soit d'autre (peut être qu'ils corrigent manuellement un bloc de temps a autres pour des critères esthétiques obscures). Je pense que de passer aux tabulations augmenterait juste la taille de l'anomalie visuelle (mais diminuerais peut-être leur nombre, du fait de l'augmentation de taille).

Hors ligne

#1532 Le 06/07/2013, à 01:02

tshirtman

Re : /* Topic des codeurs [8] */

grim7reaper a écrit :

Sinon les compilateurs ont pas mal d’avantages mais j’ai souvent entendu dire que l'asm généré était loin d’être performant (ce qui n’est pas un problème dans la majorité des cas, mais il faut le savoir).


tongue

Hors ligne

#1533 Le 06/07/2013, à 01:16

david96

Re : /* Topic des codeurs [8] */

Elzen a écrit :

Bon, pour clore un peu les histoires d'indentation, parce que c'est un des rares trolls dont je n'avais pas encore causé sur mon site, dites-moi si j'ai oublié des trucs, d'après vous.

Bâ franchement, tu n'as oublié personne je pense, les puristes confirmeront… Bravo et respect, très bon article.
Sous quelle licence est-il diffusé, possible que je le reprenne sur qqs sites.

Hors ligne

#1534 Le 06/07/2013, à 02:37

grim7reaper

Re : /* Topic des codeurs [8] */

tshirtman a écrit :
grim7reaper a écrit :

Sinon les compilateurs ont pas mal d’avantages mais j’ai souvent entendu dire que l'asm généré était loin d’être performant (ce qui n’est pas un problème dans la majorité des cas, mais il faut le savoir).


tongue

Parallèle foireux. Très. tongue
Les compilo’ génère de l’assembleur plus efficace que la majorité des programmeurs. J’ai rarement entendu dire la même chose des ORM…
Et je pense qu’il y a eu bien plus de boulots et de recherches sur les optimisations de code par les compilo’ que sur l’optimisation SQL par les ORM roll
Mais ça n’enlève rien à l’intérêt qu’il y a à utiliser un ORM.



@Elzen : rien à redire smile

Dernière modification par grim7reaper (Le 06/07/2013, à 03:21)

Hors ligne

#1535 Le 06/07/2013, à 10:52

Elzen

Re : /* Topic des codeurs [8] */

tshirtman a écrit :

@Elzen: tu voudrais pas ":set autoindent" au lieu de (probablement) ":set smartindent" pour corriger ton soucis d'indentation?

Mon .vimrc contenait « autoindent » ; mais mettre « smartindent » à la place semble revenir au même.

Tiens, le .vimrc en question, si jamais le soucis vient de là :

if has("syntax")
	syntax on
	set background=dark
	set list listchars=tab:→»,trail:·
endif
if has("mouse")
	set mouse=a
endif
if has("extra_search")
	set incsearch
	set hlsearch
endif
if has("cmdline_info")
	set ruler
endif
set autoindent
set wildmenu
set so=2
set nu

Je dois préciser que j'ai oublié l'effet d'une bonne moitié des trucs qu'il y a dedans ><

tshirtman a écrit :

Je pense que ça s'explique plus par de la retouche d'algo a la mode coupé/collé, en laissant l'éditeur gérer l'indentation la plupart du temps à l'insertion, que par quoi que ce soit d'autre (peut être qu'ils corrigent manuellement un bloc de temps a autres pour des critères esthétiques obscures). Je pense que de passer aux tabulations augmenterait juste la taille de l'anomalie visuelle (mais diminuerais peut-être leur nombre, du fait de l'augmentation de taille).

Pas faux ; mais justement, je préférerais vérifier en pratique.

david96 a écrit :

Bâ franchement, tu n'as oublié personne je pense, les puristes confirmeront… Bravo et respect, très bon article.
Sous quelle licence est-il diffusé, possible que je le reprenne sur qqs sites.

Répondu là-bas. Merci wink

grim7reaper a écrit :

Mouais.
Enfin je suppose qu’ils parlent anglais, donc bon…
Voire français.

Sans doute ; mais obtenir des conditions expérimentales parfaites, de toute façon, ce serait dur. D'ailleurs, ils peuvent aussi (et ils le font) parler avec les étudiants qui sont en filière classique, dont je n'ai pas la moindre idée de la politique à ce niveau.

grim7reaper a écrit :

@Elzen : rien à redire smile

smile

Dernière modification par Elzen (Le 06/07/2013, à 10:54)

Hors ligne

#1536 Le 07/07/2013, à 14:16

Shanx

Re : /* Topic des codeurs [8] */

@Elzen : *"restent"(quelque part vers la fin). Très bon article. wink


Mes randos : grande traversées des Alpes, de l'Islande, de la Corse, du Japon (en vélo), etc.
Traversée des États-Unis à pied

Hors ligne

#1537 Le 07/07/2013, à 14:45

Elzen

Re : /* Topic des codeurs [8] */

Shanx a écrit :

quelque part vers la fin

C'est précis tongue

Corrigé, merci smile

Hors ligne

#1538 Le 07/07/2013, à 18:11

Shanx

Re : /* Topic des codeurs [8] */

Elzen a écrit :
Shanx a écrit :

quelque part vers la fin

C'est précis tongue

J’étais sur mon téléphone. tongue

Une petite question, vu qu’on parle de ton blog : pourquoi une licence aussi “restrictive” (CC by-nc-sa) et pas un peu plus permissive (CC by ou GPL) ? (bon, c’est un peu HS par rapport au topic, donc si tu veux me répondre ailleurs fais-toi plaisir wink )


Mes randos : grande traversées des Alpes, de l'Islande, de la Corse, du Japon (en vélo), etc.
Traversée des États-Unis à pied

Hors ligne

#1539 Le 07/07/2013, à 18:14

nesthib

Re : /* Topic des codeurs [8] */

Shanx a écrit :

un peu HS par rapport au topic

quelque part vers la fin : s/topic/sujet/

tongue


GUL Bordeaux : GirollServices libres : TdCT.org
Hide in your shell, scripts & astuces :  applications dans un tunnelsmart wgettrouver des pdfinstall. auto de paquetssauvegarde auto♥ awk
  ⃛ɹǝsn xnuᴉꞁ uʍop-ǝpᴉsdn

Hors ligne

#1540 Le 07/07/2013, à 18:24

nesthib

Re : /* Topic des codeurs [8] */

@The Uploader : j'aurais personnellement utilisé « fil » ou « discussion », mais quitte à faire un abus de langage (ce que « topic » est, en anglais), « sujet » est la traduction adéquate wink


GUL Bordeaux : GirollServices libres : TdCT.org
Hide in your shell, scripts & astuces :  applications dans un tunnelsmart wgettrouver des pdfinstall. auto de paquetssauvegarde auto♥ awk
  ⃛ɹǝsn xnuᴉꞁ uʍop-ǝpᴉsdn

Hors ligne

#1541 Le 07/07/2013, à 18:55

The Uploader

Re : /* Topic des codeurs [8] */

Yép, s'pour ça que j'ai supprimé mon message.


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1542 Le 07/07/2013, à 19:19

Elzen

Re : /* Topic des codeurs [8] */

Shanx a écrit :

Une petite question, vu qu’on parle de ton blog : pourquoi une licence aussi “restrictive” (CC by-nc-sa) et pas un peu plus permissive (CC by ou GPL) ?

T'as même le droit de dire « pas libre », vu que c'est le cas tongue

J'explique pourquoi par là, mais je devrais en remanier des bouts.
En gros, c'est parce que comme ce n'est pas du code, le fait que ce soit libre me semble moins important ; et que tant que c'est sur un support dématérialisé, ça me paraît juste normal qu'il ne faille pas payer pour ça. Et en cas de publication papier, ou d'adaptation pour mettre dans un logiciel ou quelque chose comme ça… j'aimerais bien être au courant, donc s'il faut me demander l'autorisation avant, tant mieux.

Hors ligne

#1543 Le 07/07/2013, à 20:48

Pylades

Re : /* Topic des codeurs [8] */

Shanx a écrit :

Une petite question, vu qu’on parle de ton blog : pourquoi une licence aussi “restrictive” (CC by-nc-sa) et pas un peu plus permissive (CC by ou GPL) ? (bon, c’est un peu HS par rapport au topic, donc si tu veux me répondre ailleurs fais-toi plaisir wink )

En fait, moi je mettrais même du CC BY-ND (ou CC BY-ND-NC, à la rigueur). tongue


“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
                Linus Torvalds – 12 janvier 2003

Hors ligne

#1544 Le 08/07/2013, à 10:31

doudoulolita

Re : /* Topic des codeurs [8] */

J'ai mis le blog de Elzen en marque-pages, il semble qu'il y a pas mal de choses intéressantes à lire dessus, quelle qu’en soit la licence (qui doit rester le choix de l'auteur). cool
-------------------------------------------------------------------------------------
Je ne sais pas si c'est le bon endroit ici, mais j'aimerais avoir un peu d'aide sur mon site whatthefleur (basé sur un autre site nommé Whatthefeuille qui inclut un système de reconnaissance visuelle plutôt intéressant mais que je n'ai pas réussi à inclure dans le mien)
J'ai une partie en javascript avec la liste des fleurs (scripts > color.js), qui n'est pas du tout optimisée et un système de reconnaissance de couleurs via la balise canvas, pas très au point. Voila le code source : whatthefleur.zip
En particulier, pour color.js je voudrais savoir, dans un tableau clé-valeur comment accéder aux clés. Ça me permettrait d'obtenir à la fois le nom des fleurs et leur couleur au lieu d'avoir 3 tableaux.

Je ne sais pas s'il ne faudrait pas une base de données, mais le but est de pouvoir télécharger le site pour pouvoir l'utiliser off-line quand on est dans la nature sans connexion. Il est destiné avant tout aux enfants de 5-6 ans, donc je rajouterai des jeux en javascript, mais à terme, je voudrais inclure aussi des pages ou des sections pour les adultes, liées à Wikipedia et Wikispecies.

J'en parle sur le topic Création d'un logiciel libre de reconnaissance végétale mais il semble que les codeurs expérimentés ne sont pas nombreux parmi les participants du topic.

Dernière modification par doudoulolita (Le 08/07/2013, à 10:33)

Hors ligne

#1545 Le 11/07/2013, à 11:27

Dr Le Rouge

Re : /* Topic des codeurs [8] */

Les PRNG, c'est casse-gueule hmm


C'est deux suites de Cauchy qui veulent aller à la soirée 'no limit'. Hélas, à l'entrée le videur leur dit : "désolé, c'est complet !".
mon site perso (π²/6.fr) et mon blog

Hors ligne

#1546 Le 11/07/2013, à 11:36

sweetly3

Re : /* Topic des codeurs [8] */

Déjà, passer le diehard, c'est le minimum.

Hors ligne

#1547 Le 12/07/2013, à 01:28

grim7reaper

Re : /* Topic des codeurs [8] */

Le Rouge a écrit :

Bon apparement là ça parle de celui de Javascript (que je ne connais pas).
Mais celui du C (le fameux rand) est réputé pour être bien pourri aussi. Sans même allez jusqu’à des applications cryptographiques, il est inutilisable même pour faire des simulations.On va dire que c’est bien pour faire des jeux, et c’est tout quoi…
On lui préférera le MT19937 en général (pour des simulations, par contre pas pour de la crypto’), d’ailleurs la majorité des langages se base dessus (Ruby, Python pour ce que j’en sais) ou le propose (C++11, R, PHP, …).

Mais ouais, les PRNG (et la crypto’ en général), c’est casse-gueule donc faut pas modifier des trucs à la légère (optimisation par exemple, ça peut amener à des timing attack).
Il me semble qu’à une époque certaines implémentations de RSA était cassable via une timing attack à cause d’une optimisation basée sur le Chinese Remainder Theorem.

Dernière modification par grim7reaper (Le 12/07/2013, à 01:39)

Hors ligne

#1548 Le 12/07/2013, à 07:20

The Uploader

Re : /* Topic des codeurs [8] */

nouveau kernel, nouvelles emmerdes. sad
< 3.10 ça compile :

   rm -rf src && rm -rf pkg && makepkg -s
==> Création du paquet nvidia-96xx-all 96.43.23-19 (ven. juil. 12 07:55:25 CEST 2013)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> NVIDIA-Linux-x86_64-96.43.23-pkg2.run trouvé
  -> 173.14.36-37.patch trouvé
==> Validation des fichiers sources avec md5sums...
    NVIDIA-Linux-x86_64-96.43.23-pkg2.run ... Réussite
    173.14.36-37.patch ... Réussite
==> Extraction des sources...
==> Lancement de build()...
==> Building nvidia-96xx-all...
==> Making module for linux 3.9.9-1-ARCH :
==> 1 of 4 - Extracting nvidia drivers...
Creating directory NVIDIA-Linux-x86_64-96.43.23-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 96.43.23....................................................................................................................................
==> 2 of 4 - Applying patchs...
patching file conftest.sh
Hunk #1 succeeded at 128 (offset 1 line).
Hunk #2 succeeded at 138 (offset 1 line).
Hunk #3 succeeded at 1413 (offset -46 lines).
patching file nv.c
Hunk #1 succeeded at 2348 (offset -259 lines).
patching file nv-linux.h
==> 3 of 4 - Building module for 3.9.9-1-ARCH...
NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/3.9.9-1-ARCH/build SUBDIRS=/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv modules
make[2]: AVERTISSEMENT : le serveur de tâches n'est pas disponible: utilisation de -j1. Ajouter « + » à la règle parent du make.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
mkdir -p /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_versions ; rm -f /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_nv.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_ioctl’:
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:2457:26: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
             if (arg_size < (sizeof(*ci) * num_nv_devices))
                          ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.o"; fi; fi;
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_nv-vm.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.o"; fi; fi;
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.os-agp.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_os-agp.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.c:24:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.o"; fi; fi;
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.os-interface.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_os-interface.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.c:26:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.o"; fi; fi;
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.os-registry.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_os-registry.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:78:48: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.o"; fi; fi;
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.nv-i2c.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_nv-i2c.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2470:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.9.9-1-ARCH/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:201:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1434,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.c:8:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
  if [ "-pg" = "-pg" ]; then if [ /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.9-1-ARCH/scripts/recordmcount  "/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.o"; fi; fi;
  ld -m elf_x86_64   -r -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-kernel.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-vm.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-agp.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-interface.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/os-registry.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-i2c.o 
(cat /dev/null;   echo kernel//home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.ko;) > /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-3.9.9-1-ARCH/scripts/Makefile.modpost
  scripts/mod/modpost -m  -i /usr/src/linux-3.9.9-1-ARCH/Module.symvers -I /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/Module.symvers  -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/Module.symvers -S -w -s
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.nvidia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.9.9-1-ARCH/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.9.9-1-ARCH/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE  -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.c
In file included from include/linux/list.h:6:0,
                 from include/linux/module.h:9,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.c:1:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:598:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:599:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:4,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.c:1:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.9.9-1-ARCH/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:4,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.c:1:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
  ld -r -m elf_x86_64 -T /usr/src/linux-3.9.9-1-ARCH/scripts/module-common.lds --build-id  -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.ko /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.

avec linux 3.10 y'a des problèmes de "déréférencement de pointeur de type incomplet" :

==> 4 of 4 - Making preparations for next kernel/packaging...
==> Making module for linux 3.10.0-1-ck :
==> 1 of 4 - Extracting nvidia drivers...
Creating directory NVIDIA-Linux-x86_64-96.43.23-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 96.43.23....................................................................................................................................
==> 2 of 4 - Applying patchs...
patching file conftest.sh
Hunk #1 succeeded at 128 (offset 1 line).
Hunk #2 succeeded at 138 (offset 1 line).
Hunk #3 succeeded at 1413 (offset -46 lines).
patching file nv.c
Hunk #1 succeeded at 2348 (offset -259 lines).
patching file nv-linux.h
==> 3 of 4 - Building module for 3.10.0-1-ck...
NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/3.10.0-1-ck/build SUBDIRS=/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv modules
make[2]: AVERTISSEMENT : le serveur de tâches n'est pas disponible: utilisation de -j1. Ajouter « + » à la règle parent du make.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
mkdir -p /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_versions ; rm -f /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv
  cc -Wp,-MD,/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include -I/usr/src/linux-3.10.0-1-ck/arch/x86/include -Iarch/x86/include/generated  -Iinclude -I/usr/src/linux-3.10.0-1-ck/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.10.0-1-ck/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.10.0-1-ck/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=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 -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.23\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/.tmp_nv.o /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c
In file included from include/linux/bitops.h:22:0,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h: In function ‘set_bit’:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:66:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h: In function ‘clear_bit’:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:104:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h: In function ‘change_bit’:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:43:61: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define CONST_MASK_ADDR(nr, addr) BITOP_ADDR((void *)(addr) + ((nr)>>3))
                                                             ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:33:49: note: in definition of macro ‘BITOP_ADDR’
 #define BITOP_ADDR(x) "+m" (*(volatile long *) (x))
                                                 ^
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:180:6: note: in expansion of macro ‘CONST_MASK_ADDR’
    : CONST_MASK_ADDR(nr, addr)
      ^
In file included from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/bitops.h:514:0,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:10,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/bitops.h: In function ‘hweight_long’:
include/asm-generic/bitops/const_hweight.h:27:70: attention : signed and unsigned type in conditional expression [-Wsign-compare]
 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w))
                                                                      ^
include/linux/bitops.h:66:41: note: in expansion of macro ‘hweight64’
  return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
                                         ^
In file included from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/cpumask.h:4:0,
                 from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/cpumask.h: In function ‘cpumask_parse’:
include/linux/cpumask.h:603:26: attention : signed and unsigned type in conditional expression [-Wsign-compare]
  int len = nl ? nl - buf : strlen(buf);
                          ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/list.h: In function ‘list_del’:
include/linux/poison.h:22:44: attention : 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: attention : 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: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:609:12: note: in expansion of macro ‘LIST_POISON1’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/list.h:610:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/linux/list.h:6:0,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/rculist.h: In function ‘list_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:117:16: note: in expansion of macro ‘LIST_POISON2’
  entry->prev = LIST_POISON2;
                ^
include/linux/rculist.h: In function ‘list_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:163:14: note: in expansion of macro ‘LIST_POISON2’
  old->prev = LIST_POISON2;
              ^
include/linux/rculist.h: In function ‘hlist_del_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:325:13: note: in expansion of macro ‘LIST_POISON2’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist.h: In function ‘hlist_replace_rcu’:
include/linux/poison.h:23:44: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
 #define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
                                            ^
include/linux/rculist.h:345:15: note: in expansion of macro ‘LIST_POISON2’
  old->pprev = LIST_POISON2;
               ^
In file included from include/linux/utsname.h:5:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2392:41: attention : 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:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/uapi/linux/timex.h:56,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:17,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/list_bl.h: In function ‘hlist_bl_del’:
include/linux/poison.h:22:44: attention : 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’
  n->next = LIST_POISON1;
            ^
include/linux/poison.h:23:44: attention : 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’
  n->pprev = LIST_POISON2;
             ^
include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
include/linux/poison.h:23:44: attention : 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_POISON2’
  n->pprev = LIST_POISON2;
             ^
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.10.0-1-ck/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:13,
                 from include/linux/utsname.h:5,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:25,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/uaccess_64.h:62:28: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
  if (likely(sz == -1 || sz >= n))
                            ^
include/linux/compiler.h:152: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 /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1451,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:220:35: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return page_address(sg_page(sg)) + sg->offset;
                                   ^
In file included from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/dma-mapping.h:44:0,
                 from include/linux/dma-mapping.h:76,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-3.10.0-1-ck/arch/x86/include/asm/pci.h:154,
                 from include/linux/pci.h:1451,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:101,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/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: attention : 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 /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:129,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/video/vga.h: In function ‘vga_mm_r’:
include/video/vga.h:220:24: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  return readb (regbase + port);
                        ^
include/video/vga.h: In function ‘vga_mm_w’:
include/video/vga.h:225:23: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writeb (val, regbase + port);
                       ^
include/video/vga.h: In function ‘vga_mm_w_fast’:
include/video/vga.h:231:43: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
  writew (VGA_OUT16VAL (val, reg), regbase + port);
                                           ^
In file included from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv-linux.h:139:0,
                 from /home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:13:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:201:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start1, 0, end1 - start1);
                ^
include/linux/highmem.h:204:16: attention : pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
   memset(kaddr + start2, 0, end2 - start2);
                ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c: In function ‘nvos_proc_create’:
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:512:5: erreur: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
     proc_nvidia = create_proc_entry("driver/nvidia", d_flags, NULL);
     ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:512:17: attention : assignment makes pointer from integer without a cast [enabled by default]
     proc_nvidia = create_proc_entry("driver/nvidia", d_flags, NULL);
                 ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:516:23: attention : assignment makes pointer from integer without a cast [enabled by default]
     proc_nvidia_cards = create_proc_entry("cards", d_flags, proc_nvidia);
                       ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:520:26: attention : assignment makes pointer from integer without a cast [enabled by default]
     proc_nvidia_warnings = create_proc_entry("warnings", d_flags, proc_nvidia);
                          ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:524:25: attention : assignment makes pointer from integer without a cast [enabled by default]
     proc_nvidia_patches = create_proc_entry("patches", d_flags, proc_nvidia);
                         ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:549:15: attention : assignment makes pointer from integer without a cast [enabled by default]
         entry = create_proc_entry(name, flags, proc_nvidia_cards);
               ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:555:14: erreur: déréférencement d'un pointeur de type incomplet
         entry->data = nv;
              ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:556:14: erreur: déréférencement d'un pointeur de type incomplet
         entry->read_proc = nv_kern_read_cardinfo;
              ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:566:19: attention : assignment makes pointer from integer without a cast [enabled by default]
             entry = create_proc_entry("agp", d_flags, proc_nvidia);
                   ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:577:19: attention : assignment makes pointer from integer without a cast [enabled by default]
             entry = create_proc_entry("status", flags, proc_nvidia_agp);
                   ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:583:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->data = nv;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:584:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->read_proc = nv_kern_read_status;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:589:19: attention : assignment makes pointer from integer without a cast [enabled by default]
             entry = create_proc_entry("host-bridge", flags, proc_nvidia_agp);
                   ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:595:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->data = NULL;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:596:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->read_proc = nv_kern_read_agpinfo;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:601:19: attention : assignment makes pointer from integer without a cast [enabled by default]
             entry = create_proc_entry("card", flags, proc_nvidia_agp);
                   ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:607:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->data = nv;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:608:18: erreur: déréférencement d'un pointeur de type incomplet
             entry->read_proc = nv_kern_read_agpinfo;
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:617:11: attention : assignment makes pointer from integer without a cast [enabled by default]
     entry = create_proc_entry("version", flags, proc_nvidia);
           ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:621:10: erreur: déréférencement d'un pointeur de type incomplet
     entry->read_proc = nv_kern_read_version;
          ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:626:11: attention : assignment makes pointer from integer without a cast [enabled by default]
     entry = create_proc_entry("registry", flags, proc_nvidia);
           ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:630:10: erreur: déréférencement d'un pointeur de type incomplet
     entry->read_proc = nv_kern_read_registry;
          ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c: In function ‘nvos_proc_add_text_file’:
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:656:11: attention : assignment makes pointer from integer without a cast [enabled by default]
     entry = create_proc_entry(filename, flags, parent);
           ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:659:10: erreur: déréférencement d'un pointeur de type incomplet
     entry->data = (void *)text;
          ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:660:10: erreur: déréférencement d'un pointeur de type incomplet
     entry->read_proc = nv_kern_read_text_file;
          ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c: In function ‘nvos_proc_remove_all’:
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:671:44: erreur: déréférencement d'un pointeur de type incomplet
         struct proc_dir_entry *next = entry->next;
                                            ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:672:18: erreur: déréférencement d'un pointeur de type incomplet
         if (entry->subdir)
                  ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:673:39: erreur: déréférencement d'un pointeur de type incomplet
             nvos_proc_remove_all(entry->subdir);
                                       ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:674:32: erreur: déréférencement d'un pointeur de type incomplet
         remove_proc_entry(entry->name, entry->parent);
                                ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:674:45: erreur: déréférencement d'un pointeur de type incomplet
         remove_proc_entry(entry->name, entry->parent);
                                             ^
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c: In function ‘nv_kern_ioctl’:
/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c:2457:26: attention : comparaison entre des expressions entières signée et non signée [-Wsign-compare]
             if (arg_size < (sizeof(*ci) * num_nv_devices))
                          ^
cc1: some warnings being treated as errors
make[3]: *** [/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.o] Erreur 1
make[2]: *** [_module_/home/max/aur-nvidia-96xx-all/src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
    Abandon...

PKGBUILD :

# Maintainer : Maximilien Noal <noal dot maximilien at gmail dot com>
# Contributor: Luis Moreno <luismoreno83 at gmail dot com>
# Contributor: Christos Nouskas <nous at archlinux dot us>
# Now based on nvidia-96xx by natrio <natrio at list dot ru>
# Previously based on nvidia-beta-all by Ng Oon-Ee <n g o o n e e AT g mail dot com>
# ...Which was based on nvidia-beta by Dan Vratil <vratil at progdansoft dot com>

pkgname=nvidia-96xx-all
pkgver=96.43.23
pkgrel=19
pkgdesc="NVIDIA drivers, 96xx branch, for all kernels."
arch=('i686' 'x86_64')
[ "$CARCH" = "i686" ] && ARCH=x86 && _nv=0
[ "$CARCH" = "x86_64" ] && ARCH=x86_64 && _nv=2
makedepends=('linux-headers')
provides=('nvidia-96xx')
url="http://www.nvidia.com/"
optdepends=("nvidia-96xx-utils>=${pkgver}: driver utilities, 96xx branch"
            'pangox-compat: to run nvidia-settings'
            'xorg-server1.12: latest compatible Xorg server'
            'xf86-input-evdev1.12: needed by xorg-server1.12')
conflicts=('nvidia' 'nvidia-304xx' 'nvidia-304xx-lts' 'nvidia-lts' \
  'nvidia-ck' 'nvidia-173xx' 'nvidia-173xx-all' 'nvidia-173xx-lts' \
  'nvidia-275xx' 'nvidia-275xx-ck' 'nvidia-275xx-pf' 'nvidia-304xx-ck' \
  'nvidia-304xx-dkms' 'nvidia-304xx-pf' 'nvidia-96xx' 'nvidia-96xx-ck' \
  'nvidia-96xx-lts' 'nvidia-all' 'nvidia-beta' 'nvidia-beta-ck' \
  'nvidia-beta-dkms' 'nvidia-beta-zen' 'nvidia-bfs' 'nvidia-custom' \
  'nvidia-dkms' 'nvidia-f2fs' 'nvidia-fbcondor' 'nvidia-gl43preview' \
  'nvidia-linux-git' 'nvidia-ll' 'nvidia-lqx' 'nvidia-lqx-legacy' \
  'nvidia-lts-ck' 'nvidia-mainline' 'nvidia-pae' 'nvidia-pf' \
  'nvidia-uksm' 'nvidia-uksm-ck' 'nvidia-zen')
license=('custom')
install="nvidia.install"
source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg${_nv}.run" \
  "173.14.36-37.patch")
options=(!strip)
md5sums=('ca0bc6ae3b37cb259f3a906b4dc4670b' \
  '944ed806c8d0f9174d5e9e16ae065bf6')
[ "$CARCH" = "x86_64" ] && md5sums[0]='dd8546e5ae7d10da072306e5f13952b8'

_packages=$(pacman -Qs linux | grep local | awk {'print $1'})
_kernvers=$(pacman -Ql ${_packages} | grep /modules.alias.bin | \
  sed 's/.*\/lib\/modules\/\(.*\)\/modules.alias.bin/\1/g')

build() {
  msg "Building ${pkgname}..."
  for _kernver in ${_kernvers}
  do
    msg "Making module for linux $_kernver :"
    msg "1 of 4 - Extracting nvidia drivers..."
    cd $srcdir
    sh NVIDIA-Linux-${ARCH}-${pkgver}-pkg${_nv}.run --extract-only
    cd NVIDIA-Linux-${ARCH}-${pkgver}-pkg${_nv}/usr/src/nv
    msg "2 of 4 - Applying patchs..."
    patch -p1 -i $srcdir/173.14.36-37.patch
    msg "3 of 4 - Building module for ${_kernver}..."
    make SYSSRC=/lib/modules/${_kernver}/build module
    msg "4 of 4 - Making preparations for next kernel/packaging..."
    mv nvidia.ko $srcdir/nvidia-${_kernver}.ko
    mv -f $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg${_nv}/LICENSE \
      $srcdir/LICENSE
    rm -rf $srcdir/NVIDIA-Linux-${ARCH}-${pkgver}-pkg${_nv}
  done
}

package() {
  msg "Packaging ${pkgname}..."
  for _kernver in ${_kernvers}
  do
    mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video
    install -m644 $srcdir/nvidia-${_kernver}.ko \
      $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/nvidia.ko
    mkdir -p $pkgdir/usr/share/licenses/${pkgname}
    install -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/${pkgname}
    mkdir -p $pkgdir/etc/modprobe.d
    echo "blacklist nouveau" >> \
      $pkgdir/etc/modprobe.d/nouveau_blacklist.conf
  done
}

patch (tiers) :

cat 173.14.36-37.patch
diff -pur 173.14.36/conftest.sh 173.14.37/conftest.sh
--- 173.14.36/conftest.sh	2012-09-11 23:36:21.000000000 +0400
+++ 173.14.37/conftest.sh	2013-03-07 05:17:45.000000000 +0400
@@ -127,6 +127,7 @@ build_cflags() {
         if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
             MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
             MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
+            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
         fi
         if [ "$XEN_PRESENT" != "0" ]; then
             MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-xen $MACH_CFLAGS"
@@ -136,16 +137,21 @@ build_cflags() {
         if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
             MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
             MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
+            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
         fi
         if [ "$XEN_PRESENT" != "0" ]; then
             MACH_CFLAGS="-I$HEADERS/asm/mach-xen $MACH_CFLAGS"
         fi
     fi
 
-    CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
+    CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS $AUTOCONF_CFLAGS"
+    CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/uapi -I$OUTPUT/include/generated/uapi"
 
     if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
-        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$OUTPUT/arch/x86/include/generated"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include/uapi"
+        CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated"
+        CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated/uapi"
     fi
     if [ -n "$BUILD_PARAMS" ]; then
         CFLAGS="$CFLAGS -D$BUILD_PARAMS"
@@ -1453,7 +1459,8 @@ case "$6" in
         FILE="linux/version.h"
         SELECTED_MAKEFILE=""
 
-        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
+        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE -o \
+             -f $OUTPUT/include/generated/uapi/$FILE ]; then
             #
             # We are either looking at a configured kernel source
             # tree or at headers shipped for a specific kernel.
diff -pur 173.14.36/nv.c 173.14.37/nv.c
--- 173.14.36/nv.c	2012-09-11 23:36:21.000000000 +0400
+++ 173.14.37/nv.c	2013-03-07 05:17:44.000000000 +0400
@@ -2607,9 +2607,8 @@ int nv_kern_mmap(
         NV_PRINT_AT(NV_DBG_MEMINFO, at);
         nv_vm_list_page_count(&at->page_table[i], pages);
 
-        /* prevent the swapper from swapping it out */
-        /* mark the memory i/o so the buffers aren't dumped on core dumps */
         vma->vm_flags |= (VM_IO | VM_LOCKED | VM_RESERVED);
+        vma->vm_flags |= (VM_DONTEXPAND | VM_DONTDUMP);
     }
 
     NV_VMA_FILE(vma) = file;
diff -pur 173.14.36/nv-linux.h 173.14.37/nv-linux.h
--- 173.14.36/nv-linux.h	2012-09-11 23:36:21.000000000 +0400
+++ 173.14.37/nv-linux.h	2013-03-07 05:17:45.000000000 +0400
@@ -64,6 +64,18 @@
 #include <linux/module.h>
 #include <linux/kmod.h>
 
+#include <linux/mm.h>
+
+#if !defined(VM_RESERVED)
+#define VM_RESERVED    0x00000000
+#endif
+#if !defined(VM_DONTEXPAND)
+#define VM_DONTEXPAND  0x00000000
+#endif
+#if !defined(VM_DONTDUMP)
+#define VM_DONTDUMP    0x00000000
+#endif
+
 #include <linux/init.h>             /* module_init, module_exit         */
 #include <linux/types.h>            /* pic_t, size_t, __u32, etc        */
 #include <linux/errno.h>            /* error codes                      */

nv.c :
4000 lignes... big_smile
1373609270.png

   head src/NVIDIA-Linux-x86_64-96.43.23-pkg2/usr/src/nv/nv.c
/* _NVRM_COPYRIGHT_BEGIN_
 *
 * Copyright 1999-2001 by NVIDIA Corporation.  All rights reserved.  All
 * information contained herein is proprietary and confidential to NVIDIA
 * Corporation.  Any use, reproduction, or disclosure without the written
 * permission of NVIDIA Corporation is prohibited.
 *
 * _NVRM_COPYRIGHT_END_
 */

Ah, bon ben les sources (enfin une partie, ça reste juste la glue pour faire fonctionner un blob avec le kernel) sont là :
http://download.nvidia.com/XFree86/Linu … 23-pkg.run

NVIDIA-Linux--96.43.23-pkg.run --extract-only

Et cette fois, pas de chance avec google, ni le bugtracker gentoo, ni les forums nvidia, ni avec nouveau (qui fonctionne bien avec une GeForce 9300 mais très mal avec une GeForce 4 ti4200). hmm

Dernière modification par The Uploader (Le 12/07/2013, à 07:27)


- Oldies PC : Intel Pentium 3 @ 800 Mhz sur CM ASUS P2B-F, GeForce 4 Ti4800 SE, Disque Dur Hitachi 160 Go, 512 Mo de RAM, 3DFX Voodoo 2, Sound Blaster 16 ISA PnP, Windows 98 SE / XP)
- Desktop : Intel Core i7 6700K @ 4 GHz sur CM ASUS Z170-P, GeForce GTX 1070, SSD Samsung 850 EVO 1 To, 16 Go de RAM, Disque Dur Seagate Barracuda 3 To, Windows 10

Hors ligne

#1549 Le 12/07/2013, à 08:08

sweetly3

Re : /* Topic des codeurs [8] */

grim7reaper a écrit :

Mais ouais, les PRNG (et la crypto’ en général), c’est casse-gueule donc faut pas modifier des trucs à la légère (optimisation par exemple, ça peut amener à des timing attack).
Il me semble qu’à une époque certaines implémentations de RSA était cassable via une timing attack à cause d’une optimisation basée sur le Chinese Remainder Theorem.

C'est marrant, en lurkant HN, je suis tombé sur ça, hier.

TL;DR : En gros, l'auteur dit que de tous les domaines de développements, il se garde bien de toucher de la crypto, le seul où il faut avoir la prétention de toucher la perfection (contrairement à un développement lambda, où la majorité des bugs sont non-critiques à l'utilisation du logiciel).

Hors ligne

#1550 Le 12/07/2013, à 11:25

Dr Le Rouge

Re : /* Topic des codeurs [8] */

Justement, si ça se trouve je vais vraiment devoir coder en ASM... Non pas parce que je peux optimiser le code mieux qu'un compilo mais parce qu'il faut que je sache exactement ce qu'il se passe pour ne pas me prendre de side-channel attack (genre timing attack, effectivement).


Fuck neutral


C'est deux suites de Cauchy qui veulent aller à la soirée 'no limit'. Hélas, à l'entrée le videur leur dit : "désolé, c'est complet !".
mon site perso (π²/6.fr) et mon blog

Hors ligne