[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100902.093451.189703514.davem@davemloft.net>
Date: Thu, 02 Sep 2010 09:34:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: macro@...ux-mips.org
Cc: grant.likely@...retlab.ca, afleming@...escale.com,
netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: ERR_PTR pattern in phylib
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists