[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200611031638.51425.m.kozlowski@tuxland.pl>
Date:	Fri, 3 Nov 2006 16:38:51 +0100
From:	Mariusz Kozlowski <m.kozlowski@...land.pl>
To:	Andreas Schwab <schwab@...e.de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: orinoco driver question
> > 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
