Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbWAHMAo (ORCPT ); Sun, 8 Jan 2006 07:00:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752590AbWAHMAo (ORCPT ); Sun, 8 Jan 2006 07:00:44 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:58005 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S1751365AbWAHMAn (ORCPT ); Sun, 8 Jan 2006 07:00:43 -0500 Date: Sun, 8 Jan 2006 13:00:33 +0100 (MET) From: Jan Engelhardt To: kernel@kolivas.org cc: Marco Costalba , linux-kernel@vger.kernel.org Subject: Re: Typo in include/linux/mmzone.h In-Reply-To: <200601081403.15850.kernel@kolivas.org> Message-ID: References: <200601081403.15850.kernel@kolivas.org> 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: 571 Lines: 21 >> >> +static inline int populated_zone(struct zone *zone) >> +{ >> + return (!!zone->present_pages); >> +} >> + > >No typo there at all. !! guarantees return of 1. > But we do not need the parentheses around it. Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ | jengelh's site, http://jengelh.hopto.org/ - 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/