[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230403081423.62460-1-hejunhao3@huawei.com>
Date: Mon, 3 Apr 2023 16:14:21 +0800
From: Junhao He <hejunhao3@...wei.com>
To: <jonathan.cameron@...wei.com>, <will@...nel.org>,
<linux-kernel@...r.kernel.org>, <mark.rutland@....com>
CC: <linux-arm-kernel@...ts.infradead.org>, <catalin.marinas@....com>,
<kernel-team@...roid.com>, <linuxarm@...wei.com>,
<yangyicong@...wei.com>, <f.fangjian@...wei.com>,
<shenyang39@...wei.com>, <prime.zeng@...ilicon.com>,
<hejunhao3@...wei.com>
Subject: [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(-)
--
2.33.0
Powered by blists - more mailing lists