All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel@kolivas.org
To: Marco Costalba <mcostalba@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Typo in include/linux/mmzone.h
Date: Sun, 8 Jan 2006 14:03:15 +1100	[thread overview]
Message-ID: <200601081403.15850.kernel@kolivas.org> (raw)
In-Reply-To: <e5bfff550601071354k2c86afcs62d1526a3a1487cd@mail.gmail.com>

On Sunday 08 January 2006 08:54, Marco Costalba wrote:
> Hi,
>
>    probably there is a typo in your last patch:
> [PATCH] mm: add populated_zone() helper
>
> In
>
> +++ b/include/linux/mmzone.h
> @@ -388,6 +388,11 @@ static inline struct zone *next_zone(str
>  #define for_each_zone(zone) \
>  	for (zone = pgdat_list->node_zones; zone; zone = next_zone(zone))
>
> +static inline int populated_zone(struct zone *zone)
> +{
> +	return (!!zone->present_pages);
> +}
> +

No typo there at all. !! guarantees return of 1.

Cheers,
Con

       reply	other threads:[~2006-01-08  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e5bfff550601071354k2c86afcs62d1526a3a1487cd@mail.gmail.com>
2006-01-08  3:03 ` kernel [this message]
2006-01-08 12:00   ` Typo in include/linux/mmzone.h Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601081403.15850.kernel@kolivas.org \
    --to=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcostalba@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.