Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5938a7b5 authored by Victor Fusco's avatar Victor Fusco Committed by David S. Miller
Browse files

[ATM]: [ambassador] Fix the sparse warning "implicit cast to nocast type"

parent c9e42614
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;