]> err.no Git - linux-2.6/commit
libertas: remove casts from lbs_cmd() and lbs_cmd_with_response() macros
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 11 Dec 2007 20:28:18 +0000 (15:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:47 +0000 (15:06 -0800)
commit0f1c8232e839e215e38055cd8ae79225ab178185
treed83d1f6f9805918b982fef18e5d9fcc2a9326191
parent301eacbf30e33f461701df91cb250d3fc24c5fe5
libertas: remove casts from lbs_cmd() and lbs_cmd_with_response() macros

If stupid people like me give it arguments with the wrong type (like a
pointer to the structure, for example, instead of the structure itself),
then we should probably notice that at compile time. Otherwise, much
confusion ensues.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.h