staging: ath6kl: Cast variable to size_t to avoid compile warning
authorJavier Martinez Canillas <martinez.javier@gmail.com>
Fri, 11 Mar 2011 02:55:28 +0000 (18:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Mar 2011 22:31:46 +0000 (14:31 -0800)
commit7702c36072072427db2166cc6e68bfc52b4209bb
tree50b585c5e21d8adbe338ac2220136ae48a6e2eba
parente49c459c33189cfc7cff581d3c2e7f0074835118
staging: ath6kl: Cast variable to size_t to avoid compile warning

The min() macro does strict type-checking so use min_t() instead
to silence a compile warning.

Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.c