Re: ioctl definition - has it changed recently?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Monday, August 16, 2010 - 12:17 am

On Monday 16 August 2010 09:11:33 Piotr Hosowicz wrote:

Just take a look at all the other patches that went into the
kernel to do this for other drivers. You only really
need to change the line with .ioctl=... to .unlocked_ioctl=
and change the prototype of the referenced function to

static long foo_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

	Arnd
--
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)