Driver build issue

Jeremy Kerr jeremy.kerr at canonical.com
Fri May 13 09:56:28 UTC 2011


Hi David,

> I am working on porting a driver from 2.4 to 2.6 and I have encountered
> what appears to be an ubuntu specific anomoly. 
> 
> the ctl_table.proc_handler() and proc_dostring() functions do not
> include the struct file *file arguments atleast not for
> 2.6.35-28-generic. According to lxr as best as I can tell these have
> been part of those functions back to 2.2. 

This change isn't Ubuntu-specific; the filp argument was removed
upstream in 2009 (around v2.6.31 time):

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8d65af789f3e2cf4cfbdbf71a0f7a61ebcd41d38

Cheers,

Jeremy







More information about the kernel-team mailing list