Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759570AbYBKSpZ (ORCPT ); Mon, 11 Feb 2008 13:45:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751573AbYBKSpM (ORCPT ); Mon, 11 Feb 2008 13:45:12 -0500 Received: from mail.suse.de ([195.135.220.2]:42377 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbYBKSpK (ORCPT ); Mon, 11 Feb 2008 13:45:10 -0500 From: Andi Kleen Organization: SUSE Linux Products GmbH, Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg) To: David Rientjes Subject: Re: [patch 1/4] mempolicy: convert MPOL constants to enum Date: Mon, 11 Feb 2008 19:45:05 +0100 User-Agent: KMail/1.9.6 Cc: Andrew Morton , Paul Jackson , Christoph Lameter , Lee Schermerhorn , linux-kernel@vger.kernel.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802111945.05917.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 526 Lines: 13 On Monday 11 February 2008 16:30:32 David Rientjes wrote: > The mempolicy mode constants, MPOL_DEFAULT, MPOL_PREFERRED, MPOL_BIND, > and MPOL_INTERLEAVE, are better declared as part of an enum for type > checking. What type checking? There is none in standard C for enums. -Andi -- 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/