Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261863AbTIYTPN (ORCPT ); Thu, 25 Sep 2003 15:15:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261868AbTIYTPM (ORCPT ); Thu, 25 Sep 2003 15:15:12 -0400 Received: from pub234.cambridge.redhat.com ([213.86.99.234]:63498 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S261863AbTIYTPK (ORCPT ); Thu, 25 Sep 2003 15:15:10 -0400 Date: Thu, 25 Sep 2003 20:15:05 +0100 From: Christoph Hellwig To: Martin Schwidefsky Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] s390 (9/19): xpram driver. Message-ID: <20030925201505.A22993@infradead.org> Mail-Followup-To: Christoph Hellwig , Martin Schwidefsky , torvalds@osdl.org, linux-kernel@vger.kernel.org References: <20030925171917.GJ2951@mschwid3.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030925171917.GJ2951@mschwid3.boeblingen.de.ibm.com>; from schwidefsky@de.ibm.com on Thu, Sep 25, 2003 at 07:19:17PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 15 On Thu, Sep 25, 2003 at 07:19:17PM +0200, Martin Schwidefsky wrote: > static xpram_device_t xpram_devices[XPRAM_MAX_DEVS]; > -static int xpram_sizes[XPRAM_MAX_DEVS]; > +static unsigned int xpram_sizes[XPRAM_MAX_DEVS]; > static struct gendisk *xpram_disks[XPRAM_MAX_DEVS]; Btw, you should really consolidate all these per-device arrays in a struct. Maybe some day you even get rid of the artifical limit on the number of devices :) - 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/