diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/3w-9xxx.c | 3 | ||||
-rw-r--r-- | drivers/scsi/3w-sas.c | 3 | ||||
-rw-r--r-- | drivers/scsi/3w-xxxx.c | 3 | ||||
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 1 | ||||
-rw-r--r-- | drivers/scsi/ch.c | 1 | ||||
-rw-r--r-- | drivers/scsi/dpt_i2o.c | 1 | ||||
-rw-r--r-- | drivers/scsi/gdth.c | 1 | ||||
-rw-r--r-- | drivers/scsi/megaraid.c | 1 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mm.c | 1 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.c | 1 | ||||
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_ctl.c | 1 | ||||
-rw-r--r-- | drivers/scsi/osd/osd_uld.c | 1 | ||||
-rw-r--r-- | drivers/scsi/pmcraid.c | 1 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 1 | ||||
-rw-r--r-- | drivers/scsi/scsi_tgt_if.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sg.c | 1 |
16 files changed, 19 insertions, 3 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index e20b7bdd4c78..67aad69cfbc2 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -222,7 +222,8 @@ static const struct file_operations twa_fops = { | |||
222 | .owner = THIS_MODULE, | 222 | .owner = THIS_MODULE, |
223 | .unlocked_ioctl = twa_chrdev_ioctl, | 223 | .unlocked_ioctl = twa_chrdev_ioctl, |
224 | .open = twa_chrdev_open, | 224 | .open = twa_chrdev_open, |
225 | .release = NULL | 225 | .release = NULL, |
226 | .llseek = noop_llseek, | ||
226 | }; | 227 | }; |
227 | 228 | ||
228 | /* This function will complete an aen request from the isr */ | 229 | /* This function will complete an aen request from the isr */ |
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index f481e734aad4..7afac93d889f 100644 --- a/drivers/scsi/3w-sas.c +++ b/drivers/scsi/3w-sas.c | |||
@@ -890,7 +890,8 @@ static const struct file_operations twl_fops = { | |||
890 | .owner = THIS_MODULE, | 890 | .owner = THIS_MODULE, |
891 | .unlocked_ioctl = twl_chrdev_ioctl, | 891 | .unlocked_ioctl = twl_chrdev_ioctl, |
892 | .open = twl_chrdev_open, | 892 | .open = twl_chrdev_open, |
893 | .release = NULL | 893 | .release = NULL, |
894 | .llseek = noop_llseek, | ||
894 | }; | 895 | }; |
895 | 896 | ||
896 | /* This function passes sense data from firmware to scsi layer */ | 897 | /* This function passes sense data from firmware to scsi layer */ |
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index 30d735ad35b5..5a2337306037 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -1059,7 +1059,8 @@ static const struct file_operations tw_fops = { | |||
1059 | .owner = THIS_MODULE, | 1059 | .owner = THIS_MODULE, |
1060 | .unlocked_ioctl = tw_chrdev_ioctl, | 1060 | .unlocked_ioctl = tw_chrdev_ioctl, |
1061 | .open = tw_chrdev_open, | 1061 | .open = tw_chrdev_open, |
1062 | .release = NULL | 1062 | .release = NULL, |
1063 | .llseek = noop_llseek, | ||
1063 | }; | 1064 | }; |
1064 | 1065 | ||
1065 | /* This function will free up device extension resources */ | 1066 | /* This function will free up device extension resources */ |
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index cad6f9abaeb9..13af86eec96e 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -1039,6 +1039,7 @@ static const struct file_operations aac_cfg_fops = { | |||
1039 | .compat_ioctl = aac_compat_cfg_ioctl, | 1039 | .compat_ioctl = aac_compat_cfg_ioctl, |
1040 | #endif | 1040 | #endif |
1041 | .open = aac_cfg_open, | 1041 | .open = aac_cfg_open, |
1042 | .llseek = noop_llseek, | ||
1042 | }; | 1043 | }; |
1043 | 1044 | ||
1044 | static struct scsi_host_template aac_driver_template = { | 1045 | static struct scsi_host_template aac_driver_template = { |
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index d6532187f616..e40c9f7a002a 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -981,6 +981,7 @@ static const struct file_operations changer_fops = { | |||
981 | #ifdef CONFIG_COMPAT | 981 | #ifdef CONFIG_COMPAT |
982 | .compat_ioctl = ch_ioctl_compat, | 982 | .compat_ioctl = ch_ioctl_compat, |
983 | #endif | 983 | #endif |
984 | .llseek = noop_llseek, | ||
984 | }; | 985 | }; |
985 | 986 | ||
986 | static int __init init_ch_module(void) | 987 | static int __init init_ch_module(void) |
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index ffc1edf5e80d..7a61206ed1c0 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c | |||
@@ -126,6 +126,7 @@ static const struct file_operations adpt_fops = { | |||
126 | #ifdef CONFIG_COMPAT | 126 | #ifdef CONFIG_COMPAT |
127 | .compat_ioctl = compat_adpt_ioctl, | 127 | .compat_ioctl = compat_adpt_ioctl, |
128 | #endif | 128 | #endif |
129 | .llseek = noop_llseek, | ||
129 | }; | 130 | }; |
130 | 131 | ||
131 | /* Structures and definitions for synchronous message posting. | 132 | /* Structures and definitions for synchronous message posting. |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index b860d650a563..9886586df01f 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -372,6 +372,7 @@ static const struct file_operations gdth_fops = { | |||
372 | .unlocked_ioctl = gdth_unlocked_ioctl, | 372 | .unlocked_ioctl = gdth_unlocked_ioctl, |
373 | .open = gdth_open, | 373 | .open = gdth_open, |
374 | .release = gdth_close, | 374 | .release = gdth_close, |
375 | .llseek = noop_llseek, | ||
375 | }; | 376 | }; |
376 | 377 | ||
377 | #include "gdth_proc.h" | 378 | #include "gdth_proc.h" |
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 0b6e3228610a..aac80f7bb999 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -101,6 +101,7 @@ static const struct file_operations megadev_fops = { | |||
101 | .owner = THIS_MODULE, | 101 | .owner = THIS_MODULE, |
102 | .unlocked_ioctl = megadev_unlocked_ioctl, | 102 | .unlocked_ioctl = megadev_unlocked_ioctl, |
103 | .open = megadev_open, | 103 | .open = megadev_open, |
104 | .llseek = noop_llseek, | ||
104 | }; | 105 | }; |
105 | 106 | ||
106 | /* | 107 | /* |
diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c index 41f82f76d884..ab801232d777 100644 --- a/drivers/scsi/megaraid/megaraid_mm.c +++ b/drivers/scsi/megaraid/megaraid_mm.c | |||
@@ -75,6 +75,7 @@ static const struct file_operations lsi_fops = { | |||
75 | .compat_ioctl = mraid_mm_compat_ioctl, | 75 | .compat_ioctl = mraid_mm_compat_ioctl, |
76 | #endif | 76 | #endif |
77 | .owner = THIS_MODULE, | 77 | .owner = THIS_MODULE, |
78 | .llseek = noop_llseek, | ||
78 | }; | 79 | }; |
79 | 80 | ||
80 | static struct miscdevice megaraid_mm_dev = { | 81 | static struct miscdevice megaraid_mm_dev = { |
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c index 99e4478c3f3e..209cc87b9a32 100644 --- a/drivers/scsi/megaraid/megaraid_sas.c +++ b/drivers/scsi/megaraid/megaraid_sas.c | |||
@@ -3957,6 +3957,7 @@ static const struct file_operations megasas_mgmt_fops = { | |||
3957 | #ifdef CONFIG_COMPAT | 3957 | #ifdef CONFIG_COMPAT |
3958 | .compat_ioctl = megasas_mgmt_compat_ioctl, | 3958 | .compat_ioctl = megasas_mgmt_compat_ioctl, |
3959 | #endif | 3959 | #endif |
3960 | .llseek = noop_llseek, | ||
3960 | }; | 3961 | }; |
3961 | 3962 | ||
3962 | /* | 3963 | /* |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_ctl.c b/drivers/scsi/mpt2sas/mpt2sas_ctl.c index b774973f0765..9a4e584ae3cc 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_ctl.c +++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.c | |||
@@ -2952,6 +2952,7 @@ static const struct file_operations ctl_fops = { | |||
2952 | #ifdef CONFIG_COMPAT | 2952 | #ifdef CONFIG_COMPAT |
2953 | .compat_ioctl = _ctl_ioctl_compat, | 2953 | .compat_ioctl = _ctl_ioctl_compat, |
2954 | #endif | 2954 | #endif |
2955 | .llseek = noop_llseek, | ||
2955 | }; | 2956 | }; |
2956 | 2957 | ||
2957 | static struct miscdevice ctl_dev = { | 2958 | static struct miscdevice ctl_dev = { |
diff --git a/drivers/scsi/osd/osd_uld.c b/drivers/scsi/osd/osd_uld.c index ffdd9fdb9995..b31a8e3841d7 100644 --- a/drivers/scsi/osd/osd_uld.c +++ b/drivers/scsi/osd/osd_uld.c | |||
@@ -182,6 +182,7 @@ static const struct file_operations osd_fops = { | |||
182 | .open = osd_uld_open, | 182 | .open = osd_uld_open, |
183 | .release = osd_uld_release, | 183 | .release = osd_uld_release, |
184 | .unlocked_ioctl = osd_uld_ioctl, | 184 | .unlocked_ioctl = osd_uld_ioctl, |
185 | .llseek = noop_llseek, | ||
185 | }; | 186 | }; |
186 | 187 | ||
187 | struct osd_dev *osduld_path_lookup(const char *name) | 188 | struct osd_dev *osduld_path_lookup(const char *name) |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index ecc45c8b4e6b..4b8765785aeb 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -4165,6 +4165,7 @@ static const struct file_operations pmcraid_fops = { | |||
4165 | #ifdef CONFIG_COMPAT | 4165 | #ifdef CONFIG_COMPAT |
4166 | .compat_ioctl = pmcraid_chr_ioctl, | 4166 | .compat_ioctl = pmcraid_chr_ioctl, |
4167 | #endif | 4167 | #endif |
4168 | .llseek = noop_llseek, | ||
4168 | }; | 4169 | }; |
4169 | 4170 | ||
4170 | 4171 | ||
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 1e4bff695254..9946fac54255 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -3948,6 +3948,7 @@ static struct pci_driver qla2xxx_pci_driver = { | |||
3948 | 3948 | ||
3949 | static struct file_operations apidev_fops = { | 3949 | static struct file_operations apidev_fops = { |
3950 | .owner = THIS_MODULE, | 3950 | .owner = THIS_MODULE, |
3951 | .llseek = noop_llseek, | ||
3951 | }; | 3952 | }; |
3952 | 3953 | ||
3953 | /** | 3954 | /** |
diff --git a/drivers/scsi/scsi_tgt_if.c b/drivers/scsi/scsi_tgt_if.c index a87e21c35ef2..bbb02f6e917c 100644 --- a/drivers/scsi/scsi_tgt_if.c +++ b/drivers/scsi/scsi_tgt_if.c | |||
@@ -333,6 +333,7 @@ static const struct file_operations tgt_fops = { | |||
333 | .poll = tgt_poll, | 333 | .poll = tgt_poll, |
334 | .write = tgt_write, | 334 | .write = tgt_write, |
335 | .mmap = tgt_mmap, | 335 | .mmap = tgt_mmap, |
336 | .llseek = noop_llseek, | ||
336 | }; | 337 | }; |
337 | 338 | ||
338 | static struct miscdevice tgt_miscdev = { | 339 | static struct miscdevice tgt_miscdev = { |
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 78d616315d8e..00baea1e2dbf 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1351,6 +1351,7 @@ static const struct file_operations sg_fops = { | |||
1351 | .mmap = sg_mmap, | 1351 | .mmap = sg_mmap, |
1352 | .release = sg_release, | 1352 | .release = sg_release, |
1353 | .fasync = sg_fasync, | 1353 | .fasync = sg_fasync, |
1354 | .llseek = no_llseek, | ||
1354 | }; | 1355 | }; |
1355 | 1356 | ||
1356 | static struct class *sg_sysfs_class; | 1357 | static struct class *sg_sysfs_class; |