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;