From: Holger Schurig Date: Wed, 29 Oct 2008 09:35:02 +0000 (+0100) Subject: libertas: remove two libertas sparse warning X-Git-Tag: v2.6.28-rc3~3^2~13^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87bf24f3d2e076468deaa5181d44184887072904;p=pandora-kernel.git libertas: remove two libertas sparse warning Johannes Berg detected this two sparse warnings: drivers/net/wireless/libertas/cmd.c:609:16: warning: cast to restricted __le16 drivers/net/wireless/libertas/cmd.c:611:16: warning: cast to restricted __le16 ... but cmd.minlevel is "s8", so we can access it directly and hope for the sign-extension-code in the compiler to convert that to the "s16" type. Signed-off-by: Holger Schurig Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed