Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Jun 2002 21:23:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Jun 2002 21:23:23 -0400 Received: from chaos.physics.uiowa.edu ([128.255.34.189]:10398 "EHLO chaos.physics.uiowa.edu") by vger.kernel.org with ESMTP id ; Wed, 5 Jun 2002 21:23:14 -0400 Date: Wed, 5 Jun 2002 20:23:12 -0500 (CDT) From: Kai Germaschewski X-X-Sender: kai@chaos.physics.uiowa.edu To: Patrick Mochel cc: lkml Subject: Re: [patch] PCI device matching fix In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Jun 2002, Patrick Mochel wrote: > Alright, I can deal. I expanded on what you had, and moved it into the > core. It's not tested, but lemme know what you think. Looks fine to me, though I didn't test it either ;-) However, it's possible to put the struct completion onto the stack as I suggested, it saves a couple of bytes in struct driver, and, more importantly, it'll blow up if the refcount goes to zero before driver_unregister() has been called, so it provides a bug trap for messed-up refcounting. Anyway, that's a question of taste, I suppose. --Kai - 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/