Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Feb 2002 08:40:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Feb 2002 08:40:05 -0500 Received: from se1.cogenit.fr ([195.68.53.173]:4839 "EHLO cogenit.fr") by vger.kernel.org with ESMTP id ; Wed, 20 Feb 2002 08:39:44 -0500 Date: Wed, 20 Feb 2002 14:39:22 +0100 From: Francois Romieu To: Krzysztof Halasa Cc: linux-kernel@vger.kernel.org, jgarzik@mandrakesoft.com Subject: Re: [PATCH] HDLC patch for 2.5.5 (0/3) Message-ID: <20020220143922.A13224@fafner.intra.cogenit.fr> In-Reply-To: <20020217193005.B14629@se1.cogenit.fr> <20020218143448.B7530@fafner.intra.cogenit.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from khc@pm.waw.pl on Tue, Feb 19, 2002 at 12:02:08PM +0100 X-Organisation: Marie's fan club - II Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Krzysztof Halasa : [...] > Now... You just want to introduce an artificial struct which contains > only the union... Why? Copy-paste abuse. > We could use just the union instead (?). Yes. I'll try that tonite. [...] > Yes, the compiler would compile that. Anyway, don't you think it's > a little messy? Void * pointers are IMHO not that evil. Once the union in a struct disappears it should be minimal. Regarding void * against union/union * I feel like minimal type checking is better than none. -- Ueimor - 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/