Linux CXL
 help / color / mirror / Atom feed
* [PATCH v6 0/8] driver core: class: Fix bug and code improvements for class APIs
@ 2025-01-05  8:34 Zijun Hu
  2025-01-05  8:34 ` [PATCH v6 1/8] driver core: class: Fix wild pointer dereferences in API class_dev_iter_next() Zijun Hu
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Zijun Hu @ 2025-01-05  8:34 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Rafael J. Wysocki, Tejun Heo, Josef Bacik, Jens Axboe,
	Boris Burkov, Davidlohr Bueso, Jonathan Cameron, Dave Jiang,
	Alison Schofield, Vishal Verma, Ira Weiny, Dan Williams,
	Danilo Krummrich, Zijun Hu, linux-kernel, cgroups, linux-block,
	linux-cxl, Zijun Hu, Jonathan Cameron, Michal Koutný, stable,
	Fan Ni

This patch series is to fix bugs and improve codes regarding various
driver core device iterating APIs

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
Changes in v6:
- Remove dependencies since they have been merged into driver-core tree
- Link to v5: https://lore.kernel.org/r/20241224-class_fix-v5-0-9eaaf7abe843@quicinc.com

Changes in v5:
- Add comments back and correct tile and commit messages for patch 8/8.
- Link to v4: https://lore.kernel.org/r/20241218-class_fix-v4-0-3c40f098356b@quicinc.com

Changes in v4:
- Squich patches 3-5 into one based on Jonathan and Fan comments.
- Add one more patch 
- Link to v3: https://lore.kernel.org/r/20241212-class_fix-v3-0-04e20c4f0971@quicinc.com

Changes in v3:
- Correct commit message, add fix tag, and correct pr_crit() message for 1st patch
- Add more patches regarding driver core device iterating APIs.
- Link to v2: https://lore.kernel.org/r/20241112-class_fix-v2-0-73d198d0a0d5@quicinc.com

Changes in v2:
- Remove both fix and stable tag for patch 1/3
- drop patch 3/3
- Link to v1: https://lore.kernel.org/r/20241105-class_fix-v1-0-80866f9994a5@quicinc.com

---
Zijun Hu (8):
      driver core: class: Fix wild pointer dereferences in API class_dev_iter_next()
      blk-cgroup: Fix class @block_class's subsystem refcount leakage
      driver core: Move true expression out of if condition in 3 device finding APIs
      driver core: Rename declaration parameter name for API device_find_child() cluster
      driver core: Correct parameter check for API device_for_each_child_reverse_from()
      driver core: Correct API device_for_each_child_reverse_from() prototype
      driver core: Introduce device_iter_t for device iterating APIs
      driver core: Move two simple APIs for finding child device to header

 block/blk-cgroup.c            |  1 +
 drivers/base/bus.c            |  9 +++++---
 drivers/base/class.c          | 11 ++++++++--
 drivers/base/core.c           | 49 +++++++++----------------------------------
 drivers/base/driver.c         |  9 +++++---
 drivers/cxl/core/hdm.c        |  2 +-
 drivers/cxl/core/region.c     |  2 +-
 include/linux/device.h        | 46 +++++++++++++++++++++++++++++++---------
 include/linux/device/bus.h    |  7 +++++--
 include/linux/device/class.h  |  4 ++--
 include/linux/device/driver.h |  2 +-
 11 files changed, 78 insertions(+), 64 deletions(-)
---
base-commit: 7687c66c18c66d4ccd9949c6f641c0e7b5773483
change-id: 20241104-class_fix-f176bd9eba22

Best regards,
-- 
Zijun Hu <quic_zijuhu@quicinc.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-05  8:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-05  8:34 [PATCH v6 0/8] driver core: class: Fix bug and code improvements for class APIs Zijun Hu
2025-01-05  8:34 ` [PATCH v6 1/8] driver core: class: Fix wild pointer dereferences in API class_dev_iter_next() Zijun Hu
2025-01-05  8:34 ` [PATCH v6 2/8] blk-cgroup: Fix class @block_class's subsystem refcount leakage Zijun Hu
2025-01-05  8:34 ` [PATCH v6 3/8] driver core: Move true expression out of if condition in 3 device finding APIs Zijun Hu
2025-01-05  8:34 ` [PATCH v6 4/8] driver core: Rename declaration parameter name for API device_find_child() cluster Zijun Hu
2025-01-05  8:34 ` [PATCH v6 5/8] driver core: Correct parameter check for API device_for_each_child_reverse_from() Zijun Hu
2025-01-05  8:34 ` [PATCH v6 6/8] driver core: Correct API device_for_each_child_reverse_from() prototype Zijun Hu
2025-01-05  8:34 ` [PATCH v6 7/8] driver core: Introduce device_iter_t for device iterating APIs Zijun Hu
2025-01-05  8:34 ` [PATCH v6 8/8] driver core: Move two simple APIs for finding child device to header Zijun Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox