Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750997AbWBFKQe (ORCPT ); Mon, 6 Feb 2006 05:16:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750947AbWBFKQe (ORCPT ); Mon, 6 Feb 2006 05:16:34 -0500 Received: from vanessarodrigues.com ([192.139.46.150]:34188 "EHLO jaguar.mkp.net") by vger.kernel.org with ESMTP id S1750836AbWBFKQe (ORCPT ); Mon, 6 Feb 2006 05:16:34 -0500 To: Linux Kernel Mailing List Cc: gregkh@suse.de Subject: Re: [RFC][PATCH 1/5] Virtualization/containers: startup References: <43E38BD1.4070707@openvz.org> From: Jes Sorensen Date: 06 Feb 2006 05:16:33 -0500 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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 Content-Length: 874 Lines: 21 >>>>> "Linus" == Linus Torvalds writes: [snip - excellent description of typedefs considered evil] Linus> Maybe there are other cases too, but the rule should basically Linus> be to NEVER EVER use a typedef unless you can clearly match one Linus> of those rules. Linus> In general, a pointer, or a struct that has elements that can Linus> reasonably be directly accessed should _never_ be a typedef. Hi, This one sounds like yet another example of something any new Linux developer should print and stick on his/her wall next to their monitor. A candidate for Documentation/ any volunteers? Cheers, Jes - 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/