Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936470AbWLFQpz (ORCPT ); Wed, 6 Dec 2006 11:45:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936424AbWLFQpy (ORCPT ); Wed, 6 Dec 2006 11:45:54 -0500 Received: from terminus.zytor.com ([192.83.249.54]:51196 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936470AbWLFQpx (ORCPT ); Wed, 6 Dec 2006 11:45:53 -0500 Message-ID: <4576F368.4070804@zytor.com> Date: Wed, 06 Dec 2006 08:44:24 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Samuel Thibault , "H. Peter Anvin" , Arjan van de Ven , linux-kernel@vger.kernel.org Subject: Re: Linux should define ENOTSUP References: <20061206135134.GJ3927@implementation.labri.fr> <1165415115.3233.449.camel@laptopd505.fenrus.org> <4576DED7.10800@zytor.com> <20061206152542.GS3927@implementation.labri.fr> <4576E134.5020109@zytor.com> <20061206153404.GU3927@implementation.labri.fr> <4576E355.7080708@zytor.com> <20061206161405.GV3927@implementation.labri.fr> In-Reply-To: <20061206161405.GV3927@implementation.labri.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 29 Samuel Thibault wrote: > H. Peter Anvin, le Wed 06 Dec 2006 07:35:49 -0800, a ?crit : >> Samuel Thibault wrote: >>>> The two can't be done at the same time. In fact, the two probably can't >>>> be done without a period of quite a few *years* between them. >>> Not a reason for not doing it ;) >> No, but breakage is. There has to be a major benefit to justify the >> cost, and you, at least, have not provided such a justification. > > Well, as I said, existing code like > > switch(errno) { > case ENOTSUP: > foo(); > break; > case EOPNOTSUP: > bar(); > break; > } > That's pretty weak, though. -hpa - 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/