diff options
author | Victor Fusco <victor@cetuc.puc-rio.br> | 2005-07-19 16:56:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-19 16:56:29 -0400 |
commit | 5938a7b580bb7a738ee349048565ac76e6f3f5d7 (patch) | |
tree | df59a9cc06712310f847ddfec589d8e5919f359f | |
parent | c9e42614585dddd544a56907ff5fd5ca55411967 (diff) |
[ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type"
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/atm/ambassador.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index c46d9520c5a7..73c6b85299c1 100644 --- a/drivers/atm/ambassador.c +++ b/drivers/atm/ambassador.c | |||
@@ -794,7 +794,9 @@ static void drain_rx_pools (amb_dev * dev) { | |||
794 | drain_rx_pool (dev, pool); | 794 | drain_rx_pool (dev, pool); |
795 | } | 795 | } |
796 | 796 | ||
797 | static inline void fill_rx_pool (amb_dev * dev, unsigned char pool, int priority) { | 797 | static inline void fill_rx_pool (amb_dev * dev, unsigned char pool, |
798 | unsigned int __nocast priority) | ||
799 | { | ||
798 | rx_in rx; | 800 | rx_in rx; |
799 | amb_rxq * rxq; | 801 | amb_rxq * rxq; |
800 | 802 | ||