Skip to content

fix xa_alloc_cyclic() return checks

Michal Swiatkowski netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 13 repliesApplied 3/3
  2. v11 patch 12 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3devlink: fix xa_alloc_cyclic() error handlingnet/devlink/core.c+1 -12 repliesApplied
2/3dpll: fix xa_alloc_cyclic() error handlingdrivers/dpll/dpll_core.c+1 -13 repliesApplied
3/3phy: fix xa_alloc_cyclic() error handlingdrivers/net/phy/phy_link_topology.c+1 -11 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchVadim FedorenkoArkadiusz KubalewskiMaxime ChevallierAndrew LunnJiri Pirko
1/3R-b R-b
2/3R-b R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH net v2 0/3] fix xa_alloc_cyclic() return checks

Pierre Riteau <[email protected]> found suspicious handling an error from xa_alloc_cyclic() in scheduler code [1]. The same is done in few other places.

v1 --> v2: [2]
* add fixes tags
* fix also the same usage in dpll and phy

[1] https://lore.kernel.org/netdev/[email protected]/
[2] https://lore.kernel.org/netdev/[email protected]/

Michal Swiatkowski (3):
devlink: fix xa_alloc_cyclic() error handling
dpll: fix xa_alloc_cyclic() error handling
phy: fix xa_alloc_cyclic() error handling

 drivers/dpll/dpll_core.c            | 2 +-
 drivers/net/phy/phy_link_topology.c | 2 +-
 net/devlink/core.c                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.42.0