Loading drivers/cdrom/cdrom.c +5 −5 Original line number Diff line number Diff line Loading @@ -3470,7 +3470,7 @@ static int cdrom_print_info(const char *header, int val, char *info, return 0; } static int cdrom_sysctl_info(ctl_table *ctl, int write, static int cdrom_sysctl_info(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int pos; Loading Loading @@ -3583,7 +3583,7 @@ static void cdrom_update_settings(void) mutex_unlock(&cdrom_mutex); } static int cdrom_sysctl_handler(ctl_table *ctl, int write, static int cdrom_sysctl_handler(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int ret; Loading @@ -3609,7 +3609,7 @@ static int cdrom_sysctl_handler(ctl_table *ctl, int write, } /* Place files in /proc/sys/dev/cdrom */ static ctl_table cdrom_table[] = { static struct ctl_table cdrom_table[] = { { .procname = "info", .data = &cdrom_sysctl_settings.info, Loading Loading @@ -3655,7 +3655,7 @@ static ctl_table cdrom_table[] = { { } }; static ctl_table cdrom_cdrom_table[] = { static struct ctl_table cdrom_cdrom_table[] = { { .procname = "cdrom", .maxlen = 0, Loading @@ -3666,7 +3666,7 @@ static ctl_table cdrom_cdrom_table[] = { }; /* Make sure that /proc/sys/dev is there */ static ctl_table cdrom_root_table[] = { static struct ctl_table cdrom_root_table[] = { { .procname = "dev", .maxlen = 0, Loading Loading
drivers/cdrom/cdrom.c +5 −5 Original line number Diff line number Diff line Loading @@ -3470,7 +3470,7 @@ static int cdrom_print_info(const char *header, int val, char *info, return 0; } static int cdrom_sysctl_info(ctl_table *ctl, int write, static int cdrom_sysctl_info(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int pos; Loading Loading @@ -3583,7 +3583,7 @@ static void cdrom_update_settings(void) mutex_unlock(&cdrom_mutex); } static int cdrom_sysctl_handler(ctl_table *ctl, int write, static int cdrom_sysctl_handler(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { int ret; Loading @@ -3609,7 +3609,7 @@ static int cdrom_sysctl_handler(ctl_table *ctl, int write, } /* Place files in /proc/sys/dev/cdrom */ static ctl_table cdrom_table[] = { static struct ctl_table cdrom_table[] = { { .procname = "info", .data = &cdrom_sysctl_settings.info, Loading Loading @@ -3655,7 +3655,7 @@ static ctl_table cdrom_table[] = { { } }; static ctl_table cdrom_cdrom_table[] = { static struct ctl_table cdrom_cdrom_table[] = { { .procname = "cdrom", .maxlen = 0, Loading @@ -3666,7 +3666,7 @@ static ctl_table cdrom_cdrom_table[] = { }; /* Make sure that /proc/sys/dev is there */ static ctl_table cdrom_root_table[] = { static struct ctl_table cdrom_root_table[] = { { .procname = "dev", .maxlen = 0, Loading