lkml.org 
[lkml]   [2006]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: orinoco driver question
Date
> > 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@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: 2006-11-03 16:43    [W:3.431 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site