mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: Florian Fainelli <f.fainelli@gmail.com>,
	Michal Simek <michal.simek@xilinx.com>,
	linux-kernel@vger.kernel.org, monstr@monstr.eu, git@xilinx.com
Cc: Andrew Lunn <andrew@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] phy: mdio_bus: Check ENOTSUPP instead of ENOSYS in mdiobus_register_reset
Date: Wed, 20 Nov 2019 07:47:45 +0100	[thread overview]
Message-ID: <3435da8a-6942-d292-c901-df1bd7fb5d94@xilinx.com> (raw)
In-Reply-To: <99a8ea54-9a27-9e0a-9aaa-8aeef7feabe2@gmail.com>

On 19. 11. 19 19:04, Florian Fainelli wrote:
> On 11/19/19 5:27 AM, Michal Simek wrote:
>> Origin patch was using ENOTSUPP instead of ENOSYS. Silently changing error
>> value ends up in an access to bad area on Microblaze with axi ethernet
>> driver.
>>
>> Fixes: 1d4639567d97 ("mdio_bus: Fix PTR_ERR applied after initialization to constant")
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> 
> This has been fixed in the "net" tree already:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=075e238d12c21c8bde700d21fb48be7a3aa80194
> 

Works for me.

Thanks,
Michal

      reply	other threads:[~2019-11-20  6:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19 13:27 Michal Simek
2019-11-19 18:04 ` Florian Fainelli
2019-11-20  6:47   ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3435da8a-6942-d292-c901-df1bd7fb5d94@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=git@xilinx.com \
    --cc=hkallweit1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monstr@monstr.eu \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®