Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423922AbWKABUg (ORCPT ); Tue, 31 Oct 2006 20:20:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423923AbWKABUg (ORCPT ); Tue, 31 Oct 2006 20:20:36 -0500 Received: from srv5.dvmed.net ([207.36.208.214]:32723 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1423922AbWKABUe (ORCPT ); Tue, 31 Oct 2006 20:20:34 -0500 Message-ID: <4547F65F.4050500@pobox.com> Date: Tue, 31 Oct 2006 20:20:31 -0500 From: Jeff Garzik User-Agent: Thunderbird 1.5.0.7 (X11/20061008) MIME-Version: 1.0 To: Akinobu Mita , linux-kernel@vger.kernel.org, linux-netdev@vger.kernel.org, Jeff Garzik , Krzysztof Halasa Subject: Re: [PATCH] n2: fix confusing error code References: <20061028184712.GG9973@localhost> In-Reply-To: <20061028184712.GG9973@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.1.7 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 622 Lines: 21 Akinobu Mita wrote: > modprobe n2 with no parameters or no such devices > will get confusing error message. > > # modprobe n2 > ... Kernel does not have module support > > This patch replaces return code from -ENOSYS to -EINVAL. > > Cc: Jeff Garzik > Cc: Krzysztof Halasa > Signed-off-by: Akinobu Mita applied - 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/