Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764585AbXEYReR (ORCPT ); Fri, 25 May 2007 13:34:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763177AbXEYReE (ORCPT ); Fri, 25 May 2007 13:34:04 -0400 Received: from hp3.statik.TU-Cottbus.De ([141.43.120.68]:38546 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763168AbXEYReD (ORCPT ); Fri, 25 May 2007 13:34:03 -0400 Message-ID: <46571E08.1050509@s5r6.in-berlin.de> Date: Fri, 25 May 2007 19:34:00 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Auke Kok CC: randy.dunlap@oracle.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] [condingstyle] Add chapter on tests References: <20070525172509.5138.56430.stgit@localhost.localdomain> <20070525172515.5138.13652.stgit@localhost.localdomain> In-Reply-To: <20070525172515.5138.13652.stgit@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 15 Auke Kok wrote: > +If you give your variables and pointers good names, there is never a need > +to compare the value stored in that variable to NULL or true/false, so > +omit all that and keep it short. I agree with this in principle. But do we have to standardize it? -- Stefan Richter -=====-=-=== -=-= ==--= http://arcgraph.de/sr/ - 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/