lkml.org 
[lkml]   [2004]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: 2.4.25-rc1: Inconsistent ioctl symbol usage in drivers/messag e/fusion/mptctl.c
Moore, Eric Dean writes:
> If we pass NULL as the 2nd parameter for register_ioctl32_conversion(),
> the mpt_ioctl() entry point is *not* called when running a 32 bit
> application in x86_64 mode.

Ok, but you still don't need sys_ioctl() since the one-liner

> > filp->f_op->ioctl(filp->f_dentry->d_inode, filp, cmd, arg)

(or a hardcoded call to your ioctl() method) suffices.

sys_ioctl() mostly just checks for special case ioctls before
doing the line above, but those special cases can't occur
since the kernel has already matched your particular ioctl.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.031 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site