Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932099AbXBAWwc (ORCPT ); Thu, 1 Feb 2007 17:52:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932564AbXBAWwc (ORCPT ); Thu, 1 Feb 2007 17:52:32 -0500 Received: from ozlabs.org ([203.10.76.45]:44829 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932099AbXBAWwb (ORCPT ); Thu, 1 Feb 2007 17:52:31 -0500 From: Michael Neuling To: Carl Love cc: cbe-oss-dev@ozlabs.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] CELL PPU Oprofile cleanup patch In-reply-to: <1170360615.5204.18.camel@dyn9047021078.beaverton.ibm.com> References: <1170360615.5204.18.camel@dyn9047021078.beaverton.ibm.com> Comments: In-reply-to Carl Love message dated "Thu, 01 Feb 2007 12:10:15 -0800." X-Mailer: MH-E 8.0; nmh 1.1; GNU Emacs 21.4.1 Date: Fri, 02 Feb 2007 09:52:28 +1100 Message-ID: <10720.1170370348@neuling.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 612 Lines: 23 Carl, > +#define NUM_TRACE_BUS_WORDS 4 > +#define NUM_INPUT_BUS_WORDS 2 > - for (i = 0; i < 4; i++) > + for (i = 0; i < NUM_INPUT_BUS_WORDS; i++) > trace_bus[i] = 0xff; > > - for (i = 0; i < 2; i++) > + for (i = 0; i < NUM_INPUT_BUS_WORDS; i++) > input_bus[i] = 0xff; The first loop looks like a bug... Shouldn't it be NUM_TRACE_BUS_WORDS? Mikey - 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/