[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231201104615.173933-1-jtornosm@redhat.com>
Date: Fri, 1 Dec 2023 11:46:14 +0100
From: Jose Ignacio Tornos Martinez <jtornosm@...hat.com>
To: stern@...land.harvard.edu
Cc: davem@...emloft.net, edumazet@...gle.com, jtornosm@...hat.com,
kuba@...nel.org, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
oneukum@...e.com, pabeni@...hat.com
Subject: Re: [PATCH] net: usb: ax88179_178a: avoid failed operations when device is disconnected
Hi Alan,
Thank you for your help.
> Another possibility would be to have the unbind routine set a flag in
> the private data structure, and then make the ax88179_write_cmd() and
> ax88179_read_cmd() routines avoid printing error messages if the flag is
> set. Or don't bother with the flag, and simply make the routines skip
> printing an error message if a transfer fails with error code -ENODEV.
Yes, I had thought about those possibilities and I think they are the only
ones from the driver. As you are commenting as well, I will try a second
version with that.
Best regards
José Ignacio
Powered by blists - more mailing lists