Thread (13 messages) flat view 13 messages, 5 authors, 2025-03-11

Re: [net v1] devlink: fix xa_alloc_cyclic error handling

From: Dan Carpenter <hidden>
Date: 2025-02-17 07:47:03

On Sun, Feb 16, 2025 at 05:08:23PM +0100, Andrew Lunn wrote:
 * Returns negative errno, 0 if there was no change, and 1 in case of change

So there is the potential for the same issue with
mdiobus_modify_changed(), phy_modify_changed(),
phy_modify_mmd_changed(), phy_modify_paged_changed(). Hope this helps
with testing.
Thanks, that's useful.

The first check would have caught all these, but the second one would
only have caught the first three.  The combined check will catch them
all.  :)

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help