Have you got some code that uses these ioctl?

> -----Original Message-----
> From: Alan Cox [mailto:[EMAIL PROTECTED]]
> Sent: marted� 25 maggio 1999 15.54
> To: Stefano Giacometti
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: tulip.c (maybe) bug???
>
>
> > trying to use the private ioctl, but it seems to me that there is
> > a problem with the pointer address. Should this patch solve the
> > problem?
>
> The original code is correct
>
> > -   u16 *data = (u16 *)&rq->ifr_data;
> > +   u16 *data = (u16 *)rq->ifr_data;
>
> The patch breaks the driver. You are using rq->ifr_data as a pointer, it
> is not, it is the data instance
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to