Re: ioctl definition - has it changed recently?

From: Piotr Hosowicz
Date: Sat Aug 14 2010 - 18:10:48 EST


On 14.08.2010 23:00, Sam Ravnborg wrote:
On Sat, Aug 14, 2010 at 10:53:17PM +0200, Piotr Hosowicz wrote:
Hello,

I build new kernels when they become available. Now I have a problem.
After I install new kernel I have to run NVidia setup script. Starting
from git15 it fails, see attached file. The error line is here:

/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c: At top level:
/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c:426: error:
unknown field âioctlâ specified in initializer
/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c:426: warning:
initialization from incompatible pointer type

The likely culprint is:
b19dd42faf413b4705d4adb38521e82d73fa4249
(bkl: Remove locked .ioctl file operation)

This commit finally killed ioctl from file_operations, as part of the
bkl removal project.

Yes, this was it. I made git pull and git revert and now I am up and kicking. But how will I manage with it not by git but by kernel org provioded files? And even if I used git all the time will I have to revert it each time and what's the worse I will become more and more out of sync because people will write their code as if I did not revert.

Thanks for your help. Regards,

Piotr Hosowicz

--
- Jaka jest najwiÄksza anomalia fizjologiczno-polityczna?
- CzÅonek wysuniÄty z ramienia na czoÅo.
NP: Peter Green Splinter Group - Big Change Is Gonna Come
NB: 2.6.35-20100814-2310+
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/