[PATCH v2 0/3] perf/cxlpmu: Fix allocation argument order and minor formatting

Alok Tiwari posted 3 patches 3 months, 2 weeks ago
drivers/perf/cxl_pmu.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
[PATCH v2 0/3] perf/cxlpmu: Fix allocation argument order and minor formatting
Posted by Alok Tiwari 3 months, 2 weeks ago
This patch series includes a few minor cleanups and correctness
improvements in drivers/perf/cxl_pmu.c

Correct the argument order in devm_kcalloc() to follow the
conventional count, size form to avoid any confusion or bugs.

Remove an unintended newline in the IRQ name string passed to
devm_kasprintf() and  fix a formatting issue in the devm_kasprintf()

Fix several typos in comments and documentation strings, improving code
readability and alignment with the CXL specification.

v1 -> v2
created individual patches into a series as suggested Jonathan.

Alok Tiwari (3):
  perf/cxlpmu: Fix devm_kcalloc() argument order in cxl_pmu_probe()
  perf/cxlpmu: Remove unintended newline from IRQ name format string
  perf/cxlpmu: Fix typos in cxl_pmu.c comments and documentation

 drivers/perf/cxl_pmu.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.46.0
Re: [PATCH v2 0/3] perf/cxlpmu: Fix allocation argument order and minor formatting
Posted by Will Deacon 2 months, 3 weeks ago
On Tue, 24 Jun 2025 12:43:37 -0700, Alok Tiwari wrote:
> This patch series includes a few minor cleanups and correctness
> improvements in drivers/perf/cxl_pmu.c
> 
> Correct the argument order in devm_kcalloc() to follow the
> conventional count, size form to avoid any confusion or bugs.
> 
> Remove an unintended newline in the IRQ name string passed to
> devm_kasprintf() and  fix a formatting issue in the devm_kasprintf()
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/3] perf/cxlpmu: Fix devm_kcalloc() argument order in cxl_pmu_probe()
      https://git.kernel.org/will/c/6ae58c74e7aa
[2/3] perf/cxlpmu: Remove unintended newline from IRQ name format string
      https://git.kernel.org/will/c/3e870815ccf5
[3/3] perf/cxlpmu: Fix typos in cxl_pmu.c comments and documentation
      https://git.kernel.org/will/c/0259de6331df

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev