Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759296AbZFONb5 (ORCPT ); Mon, 15 Jun 2009 09:31:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753655AbZFONbt (ORCPT ); Mon, 15 Jun 2009 09:31:49 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:34930 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbZFONbt (ORCPT ); Mon, 15 Jun 2009 09:31:49 -0400 Date: Mon, 15 Jun 2009 07:31:51 -0600 From: Matthew Wilcox To: Arnd Bergmann Cc: liqin.chen@sunplusct.com, Andrew Morton , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org Subject: Re: [PATCH] asm-generic: add EMAXERRNO Message-ID: <20090615133151.GI19977@parisc-linux.org> References: <200906151530.10299.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906151530.10299.arnd@arndb.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 18 On Mon, Jun 15, 2009 at 03:30:09PM +0200, Arnd Bergmann wrote: > Some architectures want to flag error returns from a syscall based on > the return value. The range from zero to -511 is for errors that > we can return to user space, so add a #define for this to > include/asm-generic/errno.h. I thought we could return anything up to -4095. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- 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/