Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1601690 > unrolled thread

[PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned

Started byVivien Didelot <vivien.didelot@savoirfairelinux.com>
First post2017-03-15 21:00 +0100
Last post2017-03-15 21:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-03-15 21:00 +0100
    Re: [PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return  unsigned Florian Fainelli <f.fainelli@gmail.com> - 2017-03-15 21:20 +0100

#1601690 — [PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2017-03-15 21:00 +0100
Subject[PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned
Message-ID<tlnfs-3Ul-11@gated-at.bofh.it>
The ageing time is defined as unsigned int, so make
dsa_fastest_ageing_time return an unsigned int instead of int.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 net/dsa/slave.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index c34872e1febc..cec47e843570 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -419,8 +419,8 @@ static int dsa_slave_vlan_filtering(struct net_device *dev,
 	return 0;
 }
 
-static int dsa_fastest_ageing_time(struct dsa_switch *ds,
-				   unsigned int ageing_time)
+static unsigned int dsa_fastest_ageing_time(struct dsa_switch *ds,
+					    unsigned int ageing_time)
 {
 	int i;
 
-- 
2.12.0

[toc] | [next] | [standalone]


#1601703 — Re: [PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2017-03-15 21:20 +0100
SubjectRe: [PATCH net-next v2 1/3] net: dsa: dsa_fastest_ageing_time return unsigned
Message-ID<tlnyO-4i6-13@gated-at.bofh.it>
In reply to#1601690
On 03/15/2017 12:53 PM, Vivien Didelot wrote:
> The ageing time is defined as unsigned int, so make
> dsa_fastest_ageing_time return an unsigned int instead of int.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web