Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 30 Nov 2002 14:28:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 30 Nov 2002 14:28:25 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:27664 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Sat, 30 Nov 2002 14:28:25 -0500 Message-ID: <3DE912F6.5090306@pobox.com> Date: Sat, 30 Nov 2002 14:35:18 -0500 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zwane Mwaikambo CC: Linux Kernel , Dave Jones Subject: Re: [PATCH][2.5] xircom_cb small cleanups References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 18 Patch looks basically ok, but you should get together with Dave Jones and come up with a unified patch that also eliminates the private=kmalloc allocation by filling in init_etherdev's 2nd argument. Both init_etherdev and alloc_etherdev allocate struct net_device* and dev->priv in a single allocation. As an additional bonus, dev->priv is aligned on a 32-byte [not bit] boundary, and the entire area is zeroed with memset() Jeff - 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/