diff --git a/net/core/dev.c b/net/core/dev.c index fb766d906148e7d1e85a654eaf6048c1cdf49364..37d6a3c59e69cf799c2782642ce1101ef3968c29 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -7989,7 +7989,7 @@ struct net_device *alloc_netdev_mqs(int sizeof_priv, const char *name, unsigned int txqs, unsigned int rxqs) { struct net_device *dev; - size_t alloc_size; + unsigned int alloc_size; struct net_device *p; BUG_ON(strlen(name) >= sizeof(dev->name));