[PATCH net-next] tcp: fix under-evaluated ssthresh in TCP Vegas

2017-09-27 Thread Hoang Tran
With the commit 76174004a0f19785 (tcp: do not slow start when cwnd equals ssthresh), the comparison to the reduced cwnd in tcp_vegas_ssthresh() would under-evaluate the ssthresh. Signed-off-by: Hoang Tran --- net/ipv4/tcp_vegas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-22 Thread Hoang Tran
clared. Should it be static? Signed-off-by: Hoang Tran --- drivers/staging/rtl8821ae/stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c index 4d383d1..fdbde43 100644 --- a/drivers/staging/rtl

Re: [PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
On Aug 20, 2014 at 06:19am, Greg Kroah-Hartman wrote: > On Wed, Aug 20, 2014 at 04:53:22PM +0800, Hoang Tran wrote: > > This patch fixes the following sparse warnings in rtl8821ae/stats.c > > > > drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol > > 'rtl_t

[[PATCH v2] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
clared. Should it be static? Signed-off-by: Hoang Tran --- drivers/staging/rtl8821ae/stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c index 4d383d1..fdbde43 100644 --- a/drivers/staging/rtl

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
clared. Should it be static? Signed-off-by: Hoang Tran --- drivers/staging/rtl8821ae/stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c index 4d383d1..fdbde43 100644 --- a/drivers/staging/rtl

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
clared. Should it be static? Signed-off-by: Hoang Tran --- drivers/staging/rtl8821ae/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c index 4d383d1..556d1ac 100644 --- a/drivers/staging/rtl

[PATCH] staging: goldfish: fix coding style.

2014-06-16 Thread Hoang Tran
Using an else following a break or return can unnecessarily indent code blocks. This patch fixes coding style reported by checkpatch.pl, a part of eudyptula challenge. Signed-off-by: Hoang Tran --- drivers/staging/goldfish/goldfish_audio.c | 10 +- 1 file changed, 5 insertions(+), 5