]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: cleanup a min_t() cast
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 1 Feb 2012 07:43:31 +0000 (10:43 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:55:42 +0000 (14:55 -0500)
commitf69066f710ac395efaded6345092017d49afaf79
tree812f2e620f9565b7ad60037fe15686f7e2ba2037
parentc0bd40447daef730efa45bb4c6afc665e82c9217
ath9k: cleanup a min_t() cast

If the firmware was over 2G, it would cause memory corruption and the
system would die here.  Obviously we all know the firmware isn't going
to be that large but static checkers get upset.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hif_usb.c