Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030431AbWHROkj (ORCPT ); Fri, 18 Aug 2006 10:40:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030437AbWHROkj (ORCPT ); Fri, 18 Aug 2006 10:40:39 -0400 Received: from wohnheim.fh-wedel.de ([213.39.233.138]:56215 "EHLO wohnheim.fh-wedel.de") by vger.kernel.org with ESMTP id S1030431AbWHROki (ORCPT ); Fri, 18 Aug 2006 10:40:38 -0400 Date: Fri, 18 Aug 2006 16:40:34 +0200 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Jan-Bernd Themann Cc: netdev , Christoph Raisch , Jan-Bernd Themann , linux-kernel , linux-ppc , Marcus Eder , Thomas Klein , Thomas Klein Subject: Re: [2.6.19 PATCH 3/7] ehea: queue management Message-ID: <20060818144034.GD6393@wohnheim.fh-wedel.de> References: <200608181331.19501.ossthema@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200608181331.19501.ossthema@de.ibm.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 956 Lines: 32 On Fri, 18 August 2006 13:31:19 +0200, Jan-Bernd Themann wrote: > > + if (queue->current_q_offset > queue->queue_length) { > + queue->current_q_offset -= queue->pagesize; > + retvalue = NULL; > + } > + else if ((((u64) retvalue) & (EHEA_PAGESIZE-1)) != 0) { } else if (((u64) retvalue) & (EHEA_PAGESIZE-1)) { > + if (hret < H_SUCCESS) { Do you have a reason to keep H_SUCCESS? > + if(qp_attr->rq_count > 1) > + hw_queue_dtor(&qp->hw_rqueue2); > + if(qp_attr->rq_count > 2) Small amount of whitespace damage. J?rn -- Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface. -- Doug MacIlroy - 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/