Re: ioctl definition - has it changed recently?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Piotr Hosowicz
Date: Tuesday, August 17, 2010 - 6:59 am

On 17.08.2010 15:51, Piotr Hosowicz wrote:

This is as I said, I just commented inode parameter and it wont build:

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c: At top level: 
 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:426: warning: 
initialization from incompatible pointer type 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c: In function 
‘nv_kern_unlocked_ioctl’: 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3062: warning: 
passing argument 1 of ‘nv_kern_ioctl’ from incompatible pointer type 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:2876: note: expected 
‘struct file *’ but argument is of type ‘struct inode *’ 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3062: warning: 
passing argument 2 of ‘nv_kern_ioctl’ makes integer from pointer without 
a cast 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:2876: note: expected 
‘unsigned int’ but argument is of type ‘struct file *’ 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3062: error: too 
many arguments to function ‘nv_kern_ioctl’ 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c: In function 
‘nv_kern_compat_ioctl’: 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3071: warning: 
passing argument 1 of ‘nv_kern_ioctl’ from incompatible pointer type 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:2876: note: expected 
‘struct file *’ but argument is of type ‘struct inode *’ 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3071: warning: 
passing argument 2 of ‘nv_kern_ioctl’ makes integer from pointer without 
a cast 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:2876: note: expected 
‘unsigned int’ but argument is of type ‘struct file *’ 
 

/root/nvidia/NVIDIA-Linux-x86_64-256.44/kernel/nv.c:3071: error: too 
many arguments to function ‘nv_kern_ioctl’

Regards,

Piotr Hosowicz

-- 
Zatrzymuje się samochód na sejmowym parkingu. Podchodzi do niego 
ochroniarz i mówi:
- Pan tu parkuje?! Tu Sejm ... Ministrowie, politycy, posłowiei ...
- Dzięki, włączę alarm.
NP:  -
NB: 2.6.36-rc1
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ioctl definition - has it changed recently?, Piotr Hosowicz, (Sat Aug 14, 1:53 pm)
Re: ioctl definition - has it changed recently?, Sam Ravnborg, (Sat Aug 14, 2:00 pm)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Sat Aug 14, 2:02 pm)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Sat Aug 14, 3:10 pm)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Sun Aug 15, 1:24 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Sun Aug 15, 4:57 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Sun Aug 15, 7:22 am)
Re: ioctl definition - has it changed recently?, Arnd Bergmann, (Sun Aug 15, 11:58 pm)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Mon Aug 16, 12:11 am)
Re: ioctl definition - has it changed recently?, Arnd Bergmann, (Mon Aug 16, 12:17 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Mon Aug 16, 12:59 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Tue Aug 17, 6:11 am)
Re: ioctl definition - has it changed recently?, Arnd Bergmann, (Tue Aug 17, 6:18 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Tue Aug 17, 6:51 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Tue Aug 17, 6:59 am)
Re: ioctl definition - has it changed recently?, Piotr Hosowicz, (Tue Aug 17, 7:33 am)