Skip to content

Fix NULL pointer and doing cleanup

Junhao He linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to will (for-next/perf), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2drivers/perf: hisi: Remove redundant initialized of pmu->namedrivers/perf/hisilicon/hisi_uncore_cpa_pmu.c drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c drivers/perf/hisilicon/hisi_uncore_hha_pmu.c +5 more+8 -111 reply
2/2drivers/perf: hisi: add NULL check for namedrivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c drivers/perf/hisilicon/hisi_uncore_hha_pmu.c drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c+20 -151 reply

Reviews trailers per patch

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

PatchJonathan Cameron
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2]Fix NULL pointer and doing cleanup

Fix NULL pointer and cleanup redundant initialized.

Junhao He (2):
drivers/perf: hisi: Remove redundant initialized of pmu->name drivers/perf: hisi: add NULL check for name

 drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c  |  2 +-
 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 19 +++++++++++--------
 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  |  9 ++++++---
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  | 13 ++++++-------
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   |  2 +-
 drivers/perf/hisilicon/hisi_uncore_pmu.c      |  4 +---
 drivers/perf/hisilicon/hisi_uncore_pmu.h      |  3 +--
 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c |  2 +-
 8 files changed, 28 insertions(+), 26 deletions(-)
Signature · 1 line
2.33.0