Re: orinoco driver question

From: Mariusz Kozlowski
Date: Fri Nov 03 2006 - 10:40:34 EST


> > I don't think this patch decreases code readability.
>
> It breaks the interface.

You mean this part:

- *val = priv->prefer_port3;
+ *extra = (char)priv->prefer_port3;

It can be done another way.

- *val = priv->prefer_port3;
+ *(int *)extra = priv->prefer_port3;

Where can I read about this 'interface'?

Regards,

Mariusz
-
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/