projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9e4261
)
[ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type"
author
Victor Fusco
<victor@cetuc.puc-rio.br>
Tue, 19 Jul 2005 20:56:29 +0000
(13:56 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Jul 2005 20:56:29 +0000
(13:56 -0700)
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>
drivers/atm/ambassador.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/atm/ambassador.c
b/drivers/atm/ambassador.c
index c46d9520c5a75f4ce5bbbc4be8eb9055832df76e..73c6b85299c12e1e34097b7723b039ef5fc522e3 100644
(file)
--- a/
drivers/atm/ambassador.c
+++ b/
drivers/atm/ambassador.c
@@
-794,7
+794,9
@@
static void drain_rx_pools (amb_dev * dev) {
drain_rx_pool (dev, pool);
}
-static inline void fill_rx_pool (amb_dev * dev, unsigned char pool, int priority) {
+static inline void fill_rx_pool (amb_dev * dev, unsigned char pool,
+ unsigned int __nocast priority)
+{
rx_in rx;
amb_rxq * rxq;