From de18e64e3e56530d3ec8606e87c7d7e373b25c78 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 21 May 2008 15:40:33 +0000 Subject: [PATCH] Patch from Bart Van Assche : The patch below fixes another category of checkpatch warnings, namely: ERROR: "foo * bar" should be "foo *bar" This patch has been verified by checking that the output of svn diff -x -w is empty. Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@382 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 2 +- scst/src/scst_proc.c | 2 +- srpt/src/ib_srpt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 6db0db1e7..b95f73e06 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -2548,7 +2548,7 @@ struct scst_proc_data { int scst_single_seq_open(struct inode *inode, struct file *file); -struct proc_dir_entry *scst_create_proc_entry(struct proc_dir_entry * root, +struct proc_dir_entry *scst_create_proc_entry(struct proc_dir_entry *root, const char *name, struct scst_proc_data *pdata); #define SCST_DEF_RW_SEQ_OP(x) \ diff --git a/scst/src/scst_proc.c b/scst/src/scst_proc.c index b09c3918d..bfd8319dd 100644 --- a/scst/src/scst_proc.c +++ b/scst/src/scst_proc.c @@ -2123,7 +2123,7 @@ static struct scst_proc_data scst_dev_handler_proc_data = { .show = scst_dev_handler_info_show, }; -struct proc_dir_entry *scst_create_proc_entry(struct proc_dir_entry * root, +struct proc_dir_entry *scst_create_proc_entry(struct proc_dir_entry *root, const char *name, struct scst_proc_data *pdata) { struct proc_dir_entry *p = NULL; diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index f4aa2c9fc..26d187c50 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -145,7 +145,7 @@ static void srpt_qp_event(struct ib_event *event, void *ctx) } } -static void srpt_set_ioc(u8 * c_list, u32 slot, u8 value) +static void srpt_set_ioc(u8 *c_list, u32 slot, u8 value) { u16 id; u8 tmp;