[PATCH net 0/3] phyter bug fixes

2015-05-25 Thread Richard Cochran
While working on a project using the phyter, I noticed some bugs that have crept in over time. This series fixes those bugs. These patches are also meant for stable. Thanks, Richard Richard Cochran (3): net: dp83640: fix broken calibration routine. net: dp83640: reinforce locking rules.

[PATCH net 1/3] net: dp83640: fix broken calibration routine.

2015-05-25 Thread Richard Cochran
Currently, the calibration function that corrects the initial offsets among multiple devices only works the first time. If the function is called more than once, the calibration fails and bogus offsets will be programmed into the devices. In a well hidden spot, the device documentation tells that

Re: [PATCH] staging: r8712u: Fix kernel warning for improper call of del_timer_sync()

2015-05-25 Thread Dan Carpenter
On Sun, May 24, 2015 at 07:11:40PM -0500, Larry Finger wrote: > On 05/24/2015 02:03 PM, Haggai Eran wrote: > >On 24 May 2015 at 00:16, Larry Finger wrote: > >>The driver is reporting a warning at kernel/time/timer.c:1096 due to calling > >>del_timer_sync() while in interrupt mode. Such warnings ar

[PATCH net-next 3/4] net: cpsw: remove redundant calls enabling dma interrupts.

2015-05-25 Thread Richard Cochran
The function, cpsw_intr_enable, already calls cpdma_ctlr_int_ctrl. There is no need to enable the dma interrupts twice. This patch removes the extra call. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/cpsw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet

[PATCH net-next 1/4] net: cpsw: fix misplaced break statements.

2015-05-25 Thread Richard Cochran
Having the breaks too far to the left makes parsing the dense switch/case block unnecessarily harder. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/cpsw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti

[PATCH net-next 2/4] net: cpsw: remove two unused global functions

2015-05-25 Thread Richard Cochran
The funtions, cpsw_ale_flush and cpsw_ale_set_ageout, have never been used since they were first introduced. This patch removes the dead code. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/cpsw_ale.c | 45 -- drivers/net/ethernet/ti/cpsw_ale.h |

[PATCH net-next 0/4] cpsw cleanups

2015-05-25 Thread Richard Cochran
While working on an out-of-tree customization, I noticed a few minor problems in the cpsw code. This series cleans up the issues I found. Thanks, Richard Richard Cochran (4): net: cpsw: fix misplaced break statements. net: cpsw: remove two unused global functions net: cpsw: remove redunda

[PATCH net-next 4/4] net: cpsw: remove redundant calls disabling dma interrupts.

2015-05-25 Thread Richard Cochran
The function, cpsw_intr_disable, already calls cpdma_ctlr_int_ctrl. There is no need to disable the dma interrupts twice. This patch removes the extra calls. Signed-off-by: Richard Cochran --- drivers/net/ethernet/ti/cpsw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethe

Re: [PATCH net-next v2 0/7] netns: ease netlink use with a lot of netns

2015-05-25 Thread Nicolas Dichtel
Le 22/05/2015 22:50, Alexander Holler a écrit : Am 08.05.2015 um 14:02 schrieb Eric W. Biederman: So I am dense. I have read through the patches and I don't see where you tag packets from other network namespaces with a network namespace id. Me too, I've recently written a little tool calle

Re: [PATCH v3 net-next 2/2] rocker: mark parameters and local variables as const

2015-05-25 Thread Jiri Pirko
Mon, May 25, 2015 at 07:28:36AM CEST, simon.hor...@netronome.com wrote: >Mark parameters and local variables as const where possible. > >Signed-off-by: Simon Horman >Acked-by: Scott Feldman Acked-by: Jiri Pirko -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of

<    1   2