Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1275716rwb; Tue, 29 Nov 2022 11:11:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf7C8LsmDSq3Pullrhw+ugaLCYvm2pJ1RHAfiq2fDTUKyFzwpEEiIEU3T3M8UjRZ17G96Ky0 X-Received: by 2002:a17:906:e87:b0:78d:b88f:1548 with SMTP id p7-20020a1709060e8700b0078db88f1548mr51191464ejf.221.1669749070970; Tue, 29 Nov 2022 11:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669749070; cv=none; d=google.com; s=arc-20160816; b=l+yGVEAm+ugAGNNXbeM7Qkc1WDCIgvhBnHeXn612pXHi4Ik1OQPw35jkWhfX0a2+GO oRzFZVvc8ESQinnMuOeMBS3cl8BZI7qqTCk7/kA5q8wqeXsdoiDpFAnAlts9IGF7rWUI OXriMtBBsPz0FNNZ88ay0+2MKnWLSa0qE5PXJAlNp4xOHIYpcPMM/nHu4oAoylhAZmK8 sfcHGNn2Y6K6S2kxlyho/qxr1wbeLULCfAo+Z67BIz6IxB52omz9l2lDdwUoC2hNtywl Tm2lifJzP+BpOjcP1gSi+Wq4IVgreClxtta6kLWl/IziN4QfxPqxY31LamNUgi1rZ12A ShlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MjfE13HsyIxqUU7DpN5W7YqFqj4N5ZRJ5znpcpplD5k=; b=rUZbJpkOUHBx58UpjO+8YfG1jWtpskXo+NwAMzkLZFkpBONFz6HyQdDhTqmv1CNc8S bd7IQmPaopjrkVY7P2ksjKrc/+5z1BjTKJfeM4OOZ4Jb6pjNfnfsgP5UkcynGdyDeWqx 0mXHXrI83EUWanoQ85jQvu86zItBK86mmgdAVu/Cj58avhhkv6Cor05EZf1z1qyybN9A 4wLVay0VhOpoCkYq4TajKhaBtn84Te9rCaqtmNirwmRYzW4zkEm+1KhaNJdS3QWHhxRS wDNMU5ySkpep9hd4RGPcjXKREhZFz3sCaQIkxo4zeVO/7cMGGpA0dz8BP1XZY2fLCqcv c5aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=5a9Kb49H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne28-20020a1709077b9c00b007c080a6b4d5si2942655ejc.428.2022.11.29.11.10.48; Tue, 29 Nov 2022 11:11:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=5a9Kb49H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbiK2StK (ORCPT + 85 others); Tue, 29 Nov 2022 13:49:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236132AbiK2StH (ORCPT ); Tue, 29 Nov 2022 13:49:07 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AB830556; Tue, 29 Nov 2022 10:49:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=MjfE13HsyIxqUU7DpN5W7YqFqj4N5ZRJ5znpcpplD5k=; b=5a9Kb49H7bRTLUApwPUlalHdWV JWSYzedCP7wOFB7XSOaoEY2ar3E8AYA2E4LmcqfKWZjUW12RQZOeLraTaKgD6sYyxyTvg1IhUDk47 JIxllfQYErJZNO4lP4z6b5dZ9GyV9i1QGkwo/ZsVhyi+jR7mxhv5zkxrtvKuGfpn2H+A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1p05f8-003u4Z-8Q; Tue, 29 Nov 2022 19:48:58 +0100 Date: Tue, 29 Nov 2022 19:48:58 +0100 From: Andrew Lunn To: Vladimir Oltean Cc: netdev@vger.kernel.org, Ioana Ciornei , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 01/12] net: dpaa2-eth: don't use -ENOTSUPP error code Message-ID: References: <20221129141221.872653-1-vladimir.oltean@nxp.com> <20221129141221.872653-2-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221129141221.872653-2-vladimir.oltean@nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 29, 2022 at 04:12:10PM +0200, Vladimir Oltean wrote: > dpaa2_eth_setup_dpni() is called from the probe path and > dpaa2_eth_set_link_ksettings() is propagated to user space. > > include/linux/errno.h says that ENOTSUPP is "Defined for the NFSv3 > protocol". Conventional wisdom has it to not use it in networking > drivers. Replace it with -EOPNOTSUPP. > > Signed-off-by: Vladimir Oltean Reviewed-by: Andrew Lunn Andrew