hi,
this patch makes stradis driver uses struct file_operations (struct
video_device changed).
--
aris
> On Fri, 2002-09-27 at 18:22, Aristeu Sergio Rozanski Filho wrote:
> > hi,
> > this patch makes stradis driver uses struct file_operations (struct
> > video_device changed).
> >
>
> What are all the (void *) casts you added supposed to be for ?
stradis.c: In function `saa_ioctl':
stradis.c:1340: warning: passing arg 1 of `__constant_copy_to_user' makes
pointer from integer without a cast
stradis.c:1340: warning: passing arg 1 of `__generic_copy_to_user' makes
pointer from integer without a cast
(snip)
am I missing something?
--
aris
On Fri, 2002-09-27 at 18:22, Aristeu Sergio Rozanski Filho wrote:
> hi,
> this patch makes stradis driver uses struct file_operations (struct
> video_device changed).
>
What are all the (void *) casts you added supposed to be for ?
On Fri, 2002-09-27 at 19:33, Aristeu Sergio Rozanski Filho wrote:
> stradis.c: In function `saa_ioctl':
> stradis.c:1340: warning: passing arg 1 of `__constant_copy_to_user' makes
> pointer from integer without a cast
> stradis.c:1340: warning: passing arg 1 of `__generic_copy_to_user' makes
> pointer from integer without a cast
> (snip)
> am I missing something?
Maybe you should ask why they are integers and what else is wrong ?
> Maybe you should ask why they are integers and what else is wrong ?
ok, I guess I found it (?)
--
aris