Subject: Re: [PATCH] drivers: net: cpsw: fix buggy loop condition

From: Mugunthan V N <[email-masked]>
Date: Thu, 13 Feb 2014 19:44:46 +0530

On Thursday 13 February 2014 07:17 PM, Heiko Schocher wrote:
> commit:
> From 0cd8f9cc0654c06adde353c6532114c5f53a18e8 Mon Sep 17 00:00:00 2001
> From: Mugunthan V N <[email-masked]>
> Date: Thu, 23 Jan 2014 00:03:12 +0530
> Subject: [PATCH] drivers: net: cpsw: enable promiscuous mode support
>
> Enable promiscuous mode support for CPSW.
>
> Introduced a crash on an am335x based board (similiar to am335x-evm).
> Reason is buggy end condition in for loop in cpsw_set_promiscious()
>
> for (i = 0; i <= priv->data.slaves; i++)
>
> should be
>
> for (i = 0; i < priv->data.slaves; i++)
>
> Fix this ...
>
> Signed-off-by: Heiko Schocher <[email-masked]>
> Cc: Mugunthan V N <[email-masked]>
> Cc: David S. Miller <[email-masked]>
> Cc: Sebastian Siewior <[email-masked]>
> Cc: Daniel Mack <[email-masked]>
> Cc: Felipe Balbi <[email-masked]>
> Cc: Markus Pargmann <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
Ah, it's copy paste error, thanks for the fix.

Acked-by: Mugunthan V N <[email-masked]>

Regards
Mugunthan V N