Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265323AbTFWLf7 (ORCPT ); Mon, 23 Jun 2003 07:35:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265485AbTFWLf6 (ORCPT ); Mon, 23 Jun 2003 07:35:58 -0400 Received: from pub237.cambridge.redhat.com ([213.86.99.237]:4818 "EHLO passion.cambridge.redhat.com") by vger.kernel.org with ESMTP id S265323AbTFWLfs (ORCPT ); Mon, 23 Jun 2003 07:35:48 -0400 Subject: Re: [PATCH] mtd/maps/impa7.c fixes From: David Woodhouse To: Andries.Brouwer@cwi.nl Cc: linux-kernel@vger.kernel.org, Pavel Bartusek , mag@sysgo.de In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1056368992.29264.156.camel@passion.cambridge.redhat.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5.dwmw2) Date: Mon, 23 Jun 2003 12:49:53 +0100 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 23 On Sat, 2003-06-21 at 00:57, Andries.Brouwer@cwi.nl wrote: > I happened to come across mtd/maps/impa7.c. > It looks like some stuff that needs > occurs outside #ifdef CONFIG_MTD_PARTITIONS. > Also, there is a spurious #endif. > Also, there is one of the many redefinitions for ARRAY_SIZE. > Below a patch. Thank you. I've applied this and some additional cleanups too -- and also removed the redefinition of ARRAY_SIZE from other map drivers which had it. Compiled but still not tested as I don't have this hardware -- driver owner Cc'd. -- dwmw2 - 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/