lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] EDAC: Clean up errors in edac.h
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
\
 
 \ /
  Last update: 2023-10-13 04:48    [W:0.031 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site