linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2]Fix NULL pointer and doing cleanup
@ 2023-04-03  8:14 Junhao He
  2023-04-03  8:14 ` [PATCH 1/2] drivers/perf: hisi: Remove redundant initialized of pmu->name Junhao He
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Junhao He @ 2023-04-03  8:14 UTC (permalink / raw)
  To: jonathan.cameron, will, linux-kernel, mark.rutland
  Cc: linux-arm-kernel, catalin.marinas, kernel-team, linuxarm,
	yangyicong, f.fangjian, shenyang39, prime.zeng, hejunhao3

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(-)

-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-04-17 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-03  8:14 [PATCH 0/2]Fix NULL pointer and doing cleanup Junhao He
2023-04-03  8:14 ` [PATCH 1/2] drivers/perf: hisi: Remove redundant initialized of pmu->name Junhao He
2023-04-03 11:02   ` Jonathan Cameron
2023-04-03  8:14 ` [PATCH 2/2] drivers/perf: hisi: add NULL check for name Junhao He
2023-04-03 11:08   ` Jonathan Cameron
2023-04-17 15:03 ` [PATCH 0/2]Fix NULL pointer and doing cleanup Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).