From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sunset.davemloft.net (74-93-104-97-Washington.hfc.comcastbusiness.net [74.93.104.97]) by ozlabs.org (Postfix) with ESMTP id CC64BB7170 for ; Fri, 3 Sep 2010 02:34:36 +1000 (EST) Date: Thu, 02 Sep 2010 09:34:51 -0700 (PDT) Message-Id: <20100902.093451.189703514.davem@davemloft.net> To: macro@linux-mips.org Subject: Re: ERR_PTR pattern in phylib From: David Miller In-Reply-To: References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: netdev@vger.kernel.org, afleming@freescale.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Maciej W. Rozycki" Date: Thu, 2 Sep 2010 16:20:34 +0100 (BST) > Arguably using a union here would make things cleaner and any reasonable > ABI will place small unions used as arguments or return values in > registers, but I'm not sure if the cost of the rewrite is worth the Well, sparc 32-bit's ABI for one is "not reasonable" and these return values will always get stack slots and passed back by reference.