net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5e73ea1a31
commit
95c9617472
167 changed files with 461 additions and 455 deletions
|
@ -250,7 +250,7 @@ static void dn_unhash_sock_bh(struct sock *sk)
|
|||
static struct hlist_head *listen_hash(struct sockaddr_dn *addr)
|
||||
{
|
||||
int i;
|
||||
unsigned hash = addr->sdn_objnum;
|
||||
unsigned int hash = addr->sdn_objnum;
|
||||
|
||||
if (hash == 0) {
|
||||
hash = addr->sdn_objnamel;
|
||||
|
@ -1844,9 +1844,9 @@ static inline int dn_queue_too_long(struct dn_scp *scp, struct sk_buff_head *que
|
|||
* inclusion (or not) of the two 16 bit acknowledgement fields so it doesn't
|
||||
* make much practical difference.
|
||||
*/
|
||||
unsigned dn_mss_from_pmtu(struct net_device *dev, int mtu)
|
||||
unsigned int dn_mss_from_pmtu(struct net_device *dev, int mtu)
|
||||
{
|
||||
unsigned mss = 230 - DN_MAX_NSP_DATA_HEADER;
|
||||
unsigned int mss = 230 - DN_MAX_NSP_DATA_HEADER;
|
||||
if (dev) {
|
||||
struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr);
|
||||
mtu -= LL_RESERVED_SPACE(dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue