mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] EDAC: Clean up errors in edac.h
@ 2023-10-13  2:45 chenguohua
  0 siblings, 0 replies; only message in thread
From: chenguohua @ 2023-10-13  2:45 UTC (permalink / raw)
  To: bp, tony.luck, james.morse, mchehab, rric; +Cc: linux-edac, linux-kernel

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
 include/linux/edac.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/linux/edac.h b/include/linux/edac.h
index fa4bda2a70f6..c1f5a7ee8b6e 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -515,24 +515,24 @@ struct mem_ctl_info {
 	   internal representation and configures whatever else needs
 	   to be configured.
 	 */
-	int (*set_sdram_scrub_rate) (struct mem_ctl_info * mci, u32 bw);
+	int (*set_sdram_scrub_rate) (struct mem_ctl_info *mci, u32 bw);
 
 	/* Get the current sdram memory scrub rate from the internal
 	   representation and converts it to the closest matching
 	   bandwidth in bytes/sec.
 	 */
-	int (*get_sdram_scrub_rate) (struct mem_ctl_info * mci);
+	int (*get_sdram_scrub_rate) (struct mem_ctl_info *mci);
 
 
 	/* pointer to edac checking routine */
-	void (*edac_check) (struct mem_ctl_info * mci);
+	void (*edac_check) (struct mem_ctl_info *mci);
 
 	/*
 	 * Remaps memory pages: controller pages to physical pages.
 	 * For most MC's, this will be NULL.
 	 */
 	/* FIXME - why not send the phys page to begin with? */
-	unsigned long (*ctl_page_to_phys) (struct mem_ctl_info * mci,
+	unsigned long (*ctl_page_to_phys) (struct mem_ctl_info *mci,
 					   unsigned long page);
 	int mc_idx;
 	struct csrow_info **csrows;
-- 
2.17.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-13  2:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13  2:45 [PATCH] EDAC: Clean up errors in edac.h chenguohua

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

all inboxes | Powered by JetHome®