Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp570037ybc; Fri, 22 Nov 2019 09:33:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwUD7uhIKJRbnYFnukgOIdxrt1yV/0tFa91PhzAvfUAf74YWZNZj5lIHFJncYSVUtYegQ9k X-Received: by 2002:a05:6402:7d8:: with SMTP id u24mr2599185edy.238.1574443993234; Fri, 22 Nov 2019 09:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574443993; cv=none; d=google.com; s=arc-20160816; b=BbQZYuAG+Cw58qQbcWBkFrMuDdeIWeocMYe6gujizVV338JVY4WCwHv5uYSsF04xMh N21fkO729PlGNUd3cqYlRf6i86rz1F0rmftLnKOpbeaLfWVMdwf/rCW7n7EoXevHB7hH vzDATnEUwd50X05It6aKvnns/rjLECv1cmX/45Jo+X389azNVqUyNZJKQ1Ok59vMs1nF LtUynoswXGKMpxaeuceNTyFuglNemKg36YZbK4W9pyhm+pJa5tPbQIF2exK53BkQyhaI N2PPkCp4tUP35qvT2QyPDL5FBOx7pYuE17eZSuWssx2ua9d97TApWJmy8Un/Rrxg6AtS NEzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=fIwzH4VtHN+Yd7m4XVbTXO3hR31B4xw0CWOuW7kzkfU=; b=z/KCWGEtin7/nEl0Tt4xbPSPprTvqppCUCodJKmDrfz/nG/kMzWK5D8aiKlFspIaHV wRzh/nW4RJlTD6NIdPPhSNQvHKfkN2cVRTKPBlcFVaty6oUsv+prd1jwfGzKtdI0FSqp qb4nDz3AlKzLcHZqEE09UrACVpsIUqGzDF9DUsA2nOXGe62g2yCQWCLuwnMUQQZGNwqs wNBmM6XkK1Bnadlb7YJtTTG5UWSMYGv2MnTaHK1/OFlplgfhW6v3HPaucE6DlR05zNxb HvkYCWh6mNcxcZq0DSs3P5iD1CTXRbjJCcK/vewcU+CZ4jmKna22VXalIk8m2I8eYNrX Tfpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si4683684ejr.251.2019.11.22.09.32.48; Fri, 22 Nov 2019 09:33:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726880AbfKVRbj (ORCPT + 99 others); Fri, 22 Nov 2019 12:31:39 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37928 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbfKVRbj (ORCPT ); Fri, 22 Nov 2019 12:31:39 -0500 Received: from localhost (c-73-35-209-67.hsd1.wa.comcast.net [73.35.209.67]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 6EC491526A747; Fri, 22 Nov 2019 09:31:38 -0800 (PST) Date: Fri, 22 Nov 2019 09:31:35 -0800 (PST) Message-Id: <20191122.093135.32405983321803856.davem@davemloft.net> To: helmut.grohne@intenta.de Cc: yuehaibing@huawei.com, andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] mdio_bus: revert inadvertent error code change From: David Miller In-Reply-To: <20191122091711.GA31495@laureti-dev> References: <20191122091711.GA31495@laureti-dev> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 22 Nov 2019 09:31:38 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Helmut Grohne Date: Fri, 22 Nov 2019 10:17:13 +0100 > The fixed commit inadvertently changes the error code from ENOTSUPP to > ENOSYS. Doing so breaks (among other things) probing of macb, which > returns -ENOTSUPP as it is now returned from mdiobus_register_reset. > > Fixes: 1d4639567d97 ("mdio_bus: Fix PTR_ERR applied after initialization to constant") > Signed-off-by: Helmut Grohne You should always generate networking bug fixes against the networking GIT tree, which had you done you would have seen that this bug is fixed there already. Thank you.