Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751460AbaBMOQa (ORCPT ); Thu, 13 Feb 2014 09:16:30 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:36126 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbaBMOQ3 (ORCPT ); Thu, 13 Feb 2014 09:16:29 -0500 Message-ID: <52FCD356.4060201@ti.com> Date: Thu, 13 Feb 2014 19:44:46 +0530 From: Mugunthan V N User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Heiko Schocher , CC: "David S. Miller" , Sebastian Siewior , Daniel Mack , Felipe Balbi , Markus Pargmann , , Subject: Re: [PATCH] drivers: net: cpsw: fix buggy loop condition References: <1392299247-16917-1-git-send-email-hs@denx.de> In-Reply-To: <1392299247-16917-1-git-send-email-hs@denx.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 > Cc: Mugunthan V N > Cc: David S. Miller > Cc: Sebastian Siewior > Cc: Daniel Mack > Cc: Felipe Balbi > Cc: Markus Pargmann > Cc: netdev@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Ah, it's copy paste error, thanks for the fix. Acked-by: Mugunthan V N Regards Mugunthan V N -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/