Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Joe Perches and committed by
Martin Schwidefsky
302bfe20 cb4deb69

+10 -10
+5 -5
arch/s390/appldata/appldata_base.c
··· 48 48 * /proc entries (sysctl) 49 49 */ 50 50 static const char appldata_proc_name[APPLDATA_PROC_NAME_LENGTH] = "appldata"; 51 - static int appldata_timer_handler(ctl_table *ctl, int write, 51 + static int appldata_timer_handler(struct ctl_table *ctl, int write, 52 52 void __user *buffer, size_t *lenp, loff_t *ppos); 53 - static int appldata_interval_handler(ctl_table *ctl, int write, 53 + static int appldata_interval_handler(struct ctl_table *ctl, int write, 54 54 void __user *buffer, 55 55 size_t *lenp, loff_t *ppos); 56 56 ··· 201 201 * Start/Stop timer, show status of timer (0 = not active, 1 = active) 202 202 */ 203 203 static int 204 - appldata_timer_handler(ctl_table *ctl, int write, 204 + appldata_timer_handler(struct ctl_table *ctl, int write, 205 205 void __user *buffer, size_t *lenp, loff_t *ppos) 206 206 { 207 207 unsigned int len; ··· 243 243 * current timer interval. 244 244 */ 245 245 static int 246 - appldata_interval_handler(ctl_table *ctl, int write, 246 + appldata_interval_handler(struct ctl_table *ctl, int write, 247 247 void __user *buffer, size_t *lenp, loff_t *ppos) 248 248 { 249 249 unsigned int len; ··· 287 287 * monitoring (0 = not in process, 1 = in process) 288 288 */ 289 289 static int 290 - appldata_generic_handler(ctl_table *ctl, int write, 290 + appldata_generic_handler(struct ctl_table *ctl, int write, 291 291 void __user *buffer, size_t *lenp, loff_t *ppos) 292 292 { 293 293 struct appldata_ops *ops = NULL, *tmp_ops;
+1 -1
arch/s390/kernel/debug.c
··· 889 889 * if debug_active is already off 890 890 */ 891 891 static int 892 - s390dbf_procactive(ctl_table *table, int write, 892 + s390dbf_procactive(struct ctl_table *table, int write, 893 893 void __user *buffer, size_t *lenp, loff_t *ppos) 894 894 { 895 895 if (!write || debug_stoppable || !debug_active)
+4 -4
arch/s390/mm/cmm.c
··· 253 253 254 254 static struct ctl_table cmm_table[]; 255 255 256 - static int cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer, 257 - size_t *lenp, loff_t *ppos) 256 + static int cmm_pages_handler(struct ctl_table *ctl, int write, 257 + void __user *buffer, size_t *lenp, loff_t *ppos) 258 258 { 259 259 char buf[16], *p; 260 260 unsigned int len; ··· 293 293 return 0; 294 294 } 295 295 296 - static int cmm_timeout_handler(ctl_table *ctl, int write, void __user *buffer, 297 - size_t *lenp, loff_t *ppos) 296 + static int cmm_timeout_handler(struct ctl_table *ctl, int write, 297 + void __user *buffer, size_t *lenp, loff_t *ppos) 298 298 { 299 299 char buf[64], *p; 300 300 long nr, seconds;