Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/gi…

…t/arnd/bkl

* 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl:
  vfs: make no_llseek the default
  vfs: don't use BKL in default_llseek
  llseek: automatically add .llseek fop
  libfs: use generic_file_llseek for simple_attr
  mac80211: disallow seeks in minstrel debug code
  lirc: make chardev nonseekable
  viotape: use noop_llseek
  raw: use explicit llseek file operations
  ibmasmfs: use generic_file_llseek
  spufs: use llseek in all file operations
  arm/omap: use generic_file_llseek in iommu_debug
  lkdtm: use generic_file_llseek in debugfs
  net/wireless: use generic_file_llseek in debugfs
  drm: use noop_llseek
  • Loading branch information...
commit 092e0e7e520a1fca03e13c9f2d157432a8657ff2 2 parents 79f14b7 + 776c163
@torvalds authored
Showing with 478 additions and 61 deletions.
  1. +1 −0  Documentation/DocBook/drm.tmpl
  2. +1 −0  arch/arm/kernel/etm.c
  3. +2 −1  arch/arm/mach-msm/last_radio_log.c
  4. +1 −0  arch/arm/mach-msm/smd_debug.c
  5. +1 −0  arch/arm/plat-mxc/audmux-v2.c
  6. +2 −0  arch/arm/plat-omap/iommu-debug.c
  7. +1 −0  arch/avr32/boards/mimc200/fram.c
  8. +1 −0  arch/blackfin/kernel/kgdb_test.c
  9. +1 −0  arch/blackfin/mach-bf561/coreb.c
  10. +1 −0  arch/cris/arch-v10/drivers/ds1302.c
  11. +1 −0  arch/cris/arch-v10/drivers/gpio.c
  12. +1 −0  arch/cris/arch-v10/drivers/i2c.c
  13. +1 −0  arch/cris/arch-v10/drivers/pcf8563.c
  14. +2 −1  arch/cris/arch-v10/drivers/sync_serial.c
  15. +2 −1  arch/cris/arch-v32/drivers/cryptocop.c
  16. +1 −0  arch/cris/arch-v32/drivers/i2c.c
  17. +1 −0  arch/cris/arch-v32/drivers/mach-a3/gpio.c
  18. +1 −0  arch/cris/arch-v32/drivers/mach-fs/gpio.c
  19. +1 −0  arch/cris/arch-v32/drivers/pcf8563.c
  20. +2 −1  arch/cris/arch-v32/drivers/sync_serial.c
  21. +1 −0  arch/cris/kernel/profile.c
  22. +2 −0  arch/ia64/kernel/salinfo.c
  23. +1 −0  arch/ia64/sn/kernel/sn2/sn_hwperf.c
  24. +1 −0  arch/m68k/bvme6000/rtc.c
  25. +1 −0  arch/m68k/mvme16x/rtc.c
  26. +2 −1  arch/mips/kernel/rtlx.c
  27. +2 −1  arch/mips/kernel/vpe.c
  28. +1 −0  arch/mips/sibyte/common/sb_tbprof.c
  29. +1 −0  arch/powerpc/kernel/lparcfg.c
  30. +3 −0  arch/powerpc/kernel/rtas_flash.c
  31. +1 −0  arch/powerpc/kernel/rtasd.c
  32. +1 −0  arch/powerpc/platforms/iseries/mf.c
  33. +2 −1  arch/powerpc/platforms/pseries/reconfig.c
  34. +1 −0  arch/powerpc/platforms/pseries/scanlog.c
  35. +1 −0  arch/s390/crypto/prng.c
  36. +1 −0  arch/s390/hypfs/hypfs_diag.c
  37. +1 −0  arch/s390/hypfs/hypfs_vm.c
  38. +1 −0  arch/s390/hypfs/inode.c
  39. +1 −0  arch/s390/kernel/debug.c
  40. +1 −0  arch/sh/boards/mach-landisk/gio.c
  41. +1 −0  arch/sparc/kernel/apc.c
  42. +1 −0  arch/sparc/kernel/mdesc.c
  43. +1 −0  arch/tile/kernel/hardwall.c
  44. +1 −0  arch/um/drivers/harddog_kern.c
  45. +1 −0  arch/um/drivers/mconsole_kern.c
  46. +1 −0  arch/um/drivers/mmapper_kern.c
  47. +1 −0  arch/um/drivers/random.c
  48. +1 −0  arch/x86/kernel/apm_32.c
  49. +1 −0  arch/x86/kernel/cpu/mcheck/mce-severity.c
  50. +1 −0  arch/x86/kernel/cpu/mcheck/mce.c
  51. +1 −0  arch/x86/kernel/kdebugfs.c
  52. +1 −0  arch/x86/kernel/microcode_core.c
  53. +1 −0  arch/x86/kernel/tlb_uv.c
  54. +1 −0  arch/x86/xen/debugfs.c
  55. +1 −0  block/bsg.c
  56. +1 −0  drivers/acpi/apei/erst-dbg.c
  57. +1 −0  drivers/acpi/debugfs.c
  58. +1 −0  drivers/acpi/ec_sys.c
  59. +1 −0  drivers/acpi/event.c
  60. +2 −1  drivers/block/DAC960.c
  61. +1 −0  drivers/block/aoe/aoechr.c
  62. +1 −0  drivers/block/paride/pg.c
  63. +1 −0  drivers/block/paride/pt.c
  64. +1 −0  drivers/block/pktcdvd.c
  65. +10 −0 drivers/bluetooth/btmrvl_debugfs.c
  66. +1 −0  drivers/bluetooth/hci_vhci.c
  67. +1 −0  drivers/char/apm-emulation.c
  68. +1 −0  drivers/char/bfin-otp.c
  69. +1 −0  drivers/char/briq_panel.c
  70. +1 −0  drivers/char/bsr.c
  71. +2 −1  drivers/char/cs5535_gpio.c
  72. +1 −0  drivers/char/ds1302.c
  73. +1 −0  drivers/char/ds1620.c
  74. +1 −0  drivers/char/dsp56k.c
  75. +1 −0  drivers/char/dtlk.c
  76. +1 −0  drivers/char/genrtc.c
  77. +1 −0  drivers/char/hw_random/core.c
  78. +1 −0  drivers/char/ip2/ip2main.c
  79. +1 −0  drivers/char/ipmi/ipmi_devintf.c
  80. +1 −0  drivers/char/ipmi/ipmi_watchdog.c
  81. +1 −0  drivers/char/istallion.c
  82. +1 −0  drivers/char/lp.c
  83. +3 −0  drivers/char/mem.c
  84. +1 −0  drivers/char/misc.c
  85. +1 −0  drivers/char/mmtimer.c
  86. +6 −3 drivers/char/mspec.c
  87. +2 −1  drivers/char/mwave/mwavedd.c
  88. +1 −0  drivers/char/nwbutton.c
  89. +1 −0  drivers/char/pc8736x_gpio.c
  90. +1 −0  drivers/char/pcmcia/cm4000_cs.c
  91. +1 −0  drivers/char/pcmcia/cm4040_cs.c
  92. +2 −0  drivers/char/random.c
  93. +2 −0  drivers/char/raw.c
  94. +1 −0  drivers/char/rio/rio_linux.c
  95. +1 −0  drivers/char/scx200_gpio.c
  96. +1 −0  drivers/char/snsc.c
  97. +1 −0  drivers/char/stallion.c
  98. +1 −0  drivers/char/sx.c
  99. +1 −0  drivers/char/sysrq.c
  100. +1 −0  drivers/char/tb0219.c
  101. +1 −0  drivers/char/tlclk.c
  102. +1 −0  drivers/char/toshiba.c
  103. +1 −0  drivers/char/uv_mmtimer.c
  104. +1 −0  drivers/char/viotape.c
  105. +1 −0  drivers/char/xilinx_hwicap/xilinx_hwicap.c
  106. +1 −0  drivers/dma/coh901318.c
  107. +1 −0  drivers/firewire/nosy.c
  108. +2 −1  drivers/gpu/drm/drm_drv.c
  109. +1 −0  drivers/gpu/drm/i810/i810_dma.c
  110. +1 −0  drivers/gpu/drm/i810/i810_drv.c
  111. +1 −0  drivers/gpu/drm/i830/i830_dma.c
  112. +1 −0  drivers/gpu/drm/i830/i830_drv.c
  113. +1 −0  drivers/gpu/drm/i915/i915_debugfs.c
  114. +1 −0  drivers/gpu/drm/i915/i915_drv.c
  115. +1 −0  drivers/gpu/drm/mga/mga_drv.c
  116. +1 −0  drivers/gpu/drm/nouveau/nouveau_drv.c
  117. +1 −0  drivers/gpu/drm/r128/r128_drv.c
  118. +1 −0  drivers/gpu/drm/radeon/radeon_drv.c
  119. +1 −0  drivers/gpu/drm/savage/savage_drv.c
  120. +1 −0  drivers/gpu/drm/sis/sis_drv.c
  121. +1 −0  drivers/gpu/drm/tdfx/tdfx_drv.c
  122. +1 −0  drivers/gpu/drm/via/via_drv.c
  123. +1 −0  drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
  124. +1 −0  drivers/gpu/vga/vgaarb.c
  125. +1 −0  drivers/hid/hid-debug.c
  126. +1 −0  drivers/hid/hid-roccat.c
  127. +1 −0  drivers/hid/hidraw.c
  128. +1 −0  drivers/hid/usbhid/hiddev.c
  129. +1 −0  drivers/hwmon/asus_atk0110.c
  130. +1 −0  drivers/ide/ide-tape.c
  131. +1 −0  drivers/idle/i7300_idle.c
  132. +3 −1 drivers/infiniband/hw/ipath/ipath_diag.c
  133. +2 −1  drivers/infiniband/hw/ipath/ipath_file_ops.c
  134. +3 −0  drivers/infiniband/hw/ipath/ipath_fs.c
  135. +3 −1 drivers/infiniband/hw/qib/qib_diag.c
  136. +2 −1  drivers/infiniband/hw/qib/qib_file_ops.c
  137. +1 −0  drivers/infiniband/hw/qib/qib_fs.c
  138. +2 −1  drivers/input/evdev.c
  139. +1 −0  drivers/input/input.c
  140. +1 −0  drivers/input/joydev.c
  141. +1 −0  drivers/input/misc/uinput.c
  142. +1 −0  drivers/input/mousedev.c
  143. +1 −0  drivers/input/serio/serio_raw.c
  144. +1 −0  drivers/isdn/mISDN/timerdev.c
  145. +1 −0  drivers/lguest/lguest_user.c
  146. +1 −0  drivers/macintosh/ans-lcd.c
  147. +1 −0  drivers/macintosh/via-pmu.c
  148. +1 −0  drivers/md/dm-ioctl.c
  149. +4 −2 drivers/media/IR/imon.c
  150. +1 −0  drivers/media/IR/ir-lirc-codec.c
  151. +3 −0  drivers/media/IR/lirc_dev.c
  152. +2 −1  drivers/media/dvb/bt8xx/dst_ca.c
  153. +2 −0  drivers/media/dvb/dvb-core/dmxdev.c
  154. +1 −0  drivers/media/dvb/dvb-core/dvb_ca_en50221.c
  155. +2 −1  drivers/media/dvb/dvb-core/dvb_frontend.c
  156. +1 −0  drivers/media/dvb/dvb-core/dvb_net.c
  157. +1 −0  drivers/media/dvb/dvb-core/dvbdev.c
  158. +1 −0  drivers/media/dvb/firewire/firedtv-ci.c
  159. +1 −0  drivers/media/dvb/ttpci/av7110.c
  160. +2 −0  drivers/media/dvb/ttpci/av7110_av.c
  161. +1 −0  drivers/media/dvb/ttpci/av7110_ca.c
  162. +1 −0  drivers/media/dvb/ttpci/av7110_ir.c
  163. +1 −0  drivers/mfd/ab3100-core.c
  164. +1 −0  drivers/misc/hpilo.c
  165. +4 −0 drivers/misc/ibmasm/ibmasmfs.c
  166. +3 −0  drivers/misc/iwmc3200top/debugfs.c
  167. +9 −0 drivers/misc/lkdtm.c
  168. +1 −0  drivers/misc/phantom.c
  169. +1 −0  drivers/misc/sgi-gru/grufile.c
  170. +1 −0  drivers/mmc/core/debugfs.c
  171. +1 −0  drivers/mtd/ubi/cdev.c
  172. +4 −2 drivers/net/caif/caif_spi.c
  173. +1 −0  drivers/net/cxgb4/cxgb4_main.c
  174. +2 −1  drivers/net/ppp_generic.c
  175. +2 −0  drivers/net/wimax/i2400m/debugfs.c
  176. +16 −8 drivers/net/wireless/airo.c
  177. +7 −0 drivers/net/wireless/ath/ath5k/debug.c
  178. +22 −11 drivers/net/wireless/ath/ath9k/debug.c
  179. +6 −3 drivers/net/wireless/ath/ath9k/htc_drv_main.c
  180. +1 −0  drivers/net/wireless/b43/debugfs.c
  181. +1 −0  drivers/net/wireless/b43legacy/debugfs.c
  182. +1 −0  drivers/net/wireless/iwlwifi/iwl-3945-rs.c
  183. +3 −0  drivers/net/wireless/iwlwifi/iwl-agn-rs.c
  184. +3 −0  drivers/net/wireless/iwlwifi/iwl-debugfs.c
  185. +4 −0 drivers/net/wireless/iwmc3200wifi/debugfs.c
  186. +1 −0  drivers/net/wireless/iwmc3200wifi/sdio.c
  187. +2 −0  drivers/net/wireless/libertas/debugfs.c
  188. +2 −0  drivers/net/wireless/ray_cs.c
  189. +5 −0 drivers/net/wireless/rt2x00/rt2x00debug.c
  190. +4 −0 drivers/net/wireless/wl12xx/wl1251_debugfs.c
  191. +5 −1 drivers/net/wireless/wl12xx/wl1271_debugfs.c
  192. +7 −1 drivers/oprofile/oprofile_files.c
  193. +3 −0  drivers/oprofile/oprofilefs.c
  194. +1 −0  drivers/pci/pcie/aer/aer_inject.c
  195. +1 −0  drivers/platform/x86/sony-laptop.c
  196. +1 −0  drivers/rtc/rtc-m41t80.c
  197. +1 −0  drivers/s390/block/dasd_eer.c
  198. +1 −0  drivers/s390/char/fs3270.c
  199. +1 −0  drivers/s390/char/monreader.c
  200. +1 −0  drivers/s390/char/monwriter.c
  201. +1 −0  drivers/s390/char/tape_char.c
  202. +1 −0  drivers/s390/char/vmcp.c
  203. +1 −0  drivers/s390/char/vmlogrdr.c
  204. +1 −0  drivers/s390/char/vmwatchdog.c
  205. +2 −0  drivers/s390/char/zcore.c
  206. +1 −0  drivers/s390/cio/chsc_sch.c
  207. +1 −0  drivers/s390/cio/css.c
  208. +2 −1  drivers/s390/crypto/zcrypt_api.c
  209. +2 −1  drivers/s390/scsi/zfcp_cfdc.c
  210. +1 −0  drivers/sbus/char/display7seg.c
  211. +1 −0  drivers/sbus/char/envctrl.c
  212. +2 −1  drivers/scsi/3w-9xxx.c
  213. +2 −1  drivers/scsi/3w-sas.c
  214. +2 −1  drivers/scsi/3w-xxxx.c
  215. +1 −0  drivers/scsi/aacraid/linit.c
  216. +1 −0  drivers/scsi/ch.c
  217. +1 −0  drivers/scsi/dpt_i2o.c
  218. +1 −0  drivers/scsi/gdth.c
  219. +1 −0  drivers/scsi/megaraid.c
  220. +1 −0  drivers/scsi/megaraid/megaraid_mm.c
  221. +1 −0  drivers/scsi/megaraid/megaraid_sas.c
  222. +1 −0  drivers/scsi/mpt2sas/mpt2sas_ctl.c
  223. +1 −0  drivers/scsi/osd/osd_uld.c
  224. +1 −0  drivers/scsi/pmcraid.c
  225. +1 −0  drivers/scsi/qla2xxx/qla_os.c
  226. +1 −0  drivers/scsi/scsi_tgt_if.c
  227. +1 −0  drivers/scsi/sg.c
  228. +2 −0  drivers/serial/mfd.c
  229. +1 −0  drivers/spi/dw_spi.c
  230. +1 −0  drivers/spi/spidev.c
  231. +1 −0  drivers/staging/comedi/comedi_fops.c
  232. +1 −0  drivers/staging/crystalhd/crystalhd_lnx.c
  233. +3 −0  drivers/staging/dream/camera/msm_camera.c
  234. +2 −0  drivers/staging/dream/pmem.c
  235. +1 −0  drivers/staging/dream/qdsp5/adsp_driver.c
  236. +1 −0  drivers/staging/dream/qdsp5/audio_aac.c
  237. +1 −0  drivers/staging/dream/qdsp5/audio_amrnb.c
  238. +1 −0  drivers/staging/dream/qdsp5/audio_evrc.c
  239. +2 −0  drivers/staging/dream/qdsp5/audio_in.c
  240. +1 −0  drivers/staging/dream/qdsp5/audio_mp3.c
  241. +2 −0  drivers/staging/dream/qdsp5/audio_out.c
  242. +1 −0  drivers/staging/dream/qdsp5/audio_qcelp.c
  243. +1 −0  drivers/staging/dream/qdsp5/evlog.h
  244. +1 −0  drivers/staging/dream/qdsp5/snd.c
  245. +1 −0  drivers/staging/frontier/alphatrack.c
  246. +1 −0  drivers/staging/frontier/tranzport.c
  247. +1 −0  drivers/staging/iio/industrialio-core.c
  248. +1 −0  drivers/staging/iio/industrialio-ring.c
  249. +2 −1  drivers/staging/lirc/lirc_imon.c
  250. +1 −0  drivers/staging/lirc/lirc_it87.c
  251. +1 −0  drivers/staging/lirc/lirc_sasem.c
  252. +1 −0  drivers/staging/lirc/lirc_serial.c
  253. +1 −0  drivers/staging/lirc/lirc_sir.c
  254. +1 −0  drivers/staging/memrar/memrar_handler.c
  255. +1 −0  drivers/staging/panel/panel.c
  256. +1 −0  drivers/staging/tidspbridge/rmgr/drv_interface.c
  257. +2 −1  drivers/telephony/ixj.c
  258. +1 −0  drivers/telephony/phonedev.c
  259. +1 −0  drivers/uio/uio.c
  260. +2 −1  drivers/usb/class/cdc-wdm.c
  261. +1 −0  drivers/usb/class/usblp.c
  262. +1 −0  drivers/usb/class/usbtmc.c
  263. +1 −0  drivers/usb/core/file.c
  264. +1 −0  drivers/usb/gadget/f_hid.c
  265. +2 −1  drivers/usb/gadget/printer.c
  266. +4 −0 drivers/usb/host/ehci-dbg.c
  267. +3 −0  drivers/usb/host/ohci-dbg.c
  268. +1 −0  drivers/usb/image/mdc800.c
  269. +1 −0  drivers/usb/misc/adutux.c
  270. +1 −0  drivers/usb/misc/idmouse.c
  271. +1 −0  drivers/usb/misc/iowarrior.c
  272. +1 −0  drivers/usb/misc/ldusb.c
  273. +1 −0  drivers/usb/misc/rio500.c
  274. +1 −0  drivers/usb/misc/usblcd.c
  275. +1 −0  drivers/usb/usb-skeleton.c
  276. +1 −0  drivers/vhost/net.c
  277. +1 −0  drivers/video/fbmem.c
  278. +6 −0 drivers/video/mbx/mbxdebugfs.c
  279. +1 −0  drivers/watchdog/ar7_wdt.c
  280. +1 −0  drivers/watchdog/cpwd.c
  281. +1 −0  drivers/watchdog/ep93xx_wdt.c
  282. +1 −0  drivers/watchdog/omap_wdt.c
  283. +1 −0  drivers/xen/evtchn.c
  284. +1 −0  drivers/xen/xenfs/super.c
  285. +1 −0  drivers/xen/xenfs/xenbus.c
  286. +1 −0  fs/afs/mntpt.c
  287. +1 −0  fs/autofs4/dev-ioctl.c
  288. +3 −0  fs/binfmt_misc.c
  289. +1 −0  fs/btrfs/super.c
  290. +1 −0  fs/cachefiles/daemon.c
  291. +1 −0  fs/char_dev.c
  292. +1 −0  fs/coda/pioctl.c
  293. +1 −0  fs/coda/psdev.c
  294. +3 −0  fs/debugfs/file.c
  295. +2 −1  fs/dlm/debug_fs.c
  296. +2 −1  fs/dlm/plock.c
  297. +3 −0  fs/dlm/user.c
  298. +1 −0  fs/ecryptfs/file.c
  299. +1 −0  fs/ecryptfs/miscdev.c
  300. +1 −0  fs/eventfd.c
Sorry, we could not display the entire diff because too many files (370) changed.
View
1  Documentation/DocBook/drm.tmpl
@@ -136,6 +136,7 @@
#ifdef CONFIG_COMPAT
.compat_ioctl = i915_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  arch/arm/kernel/etm.c
@@ -329,6 +329,7 @@ static const struct file_operations etb_fops = {
.read = etb_read,
.open = etb_open,
.release = etb_release,
+ .llseek = no_llseek,
};
static struct miscdevice etb_miscdev = {
View
3  arch/arm/mach-msm/last_radio_log.c
@@ -48,7 +48,8 @@ static ssize_t last_radio_log_read(struct file *file, char __user *buf,
}
static struct file_operations last_radio_log_fops = {
- .read = last_radio_log_read
+ .read = last_radio_log_read,
+ .llseek = default_llseek,
};
void msm_init_last_radio_log(struct module *owner)
View
1  arch/arm/mach-msm/smd_debug.c
@@ -212,6 +212,7 @@ static int debug_open(struct inode *inode, struct file *file)
static const struct file_operations debug_ops = {
.read = debug_read,
.open = debug_open,
+ .llseek = default_llseek,
};
static void debug_create(const char *name, mode_t mode,
View
1  arch/arm/plat-mxc/audmux-v2.c
@@ -137,6 +137,7 @@ static ssize_t audmux_read_file(struct file *file, char __user *user_buf,
static const struct file_operations audmux_debugfs_fops = {
.open = audmux_open_file,
.read = audmux_read_file,
+ .llseek = default_llseek,
};
static void audmux_debugfs_init(void)
View
2  arch/arm/plat-omap/iommu-debug.c
@@ -328,12 +328,14 @@ static int debug_open_generic(struct inode *inode, struct file *file)
.open = debug_open_generic, \
.read = debug_read_##name, \
.write = debug_write_##name, \
+ .llseek = generic_file_llseek, \
};
#define DEBUG_FOPS_RO(name) \
static const struct file_operations debug_##name##_fops = { \
.open = debug_open_generic, \
.read = debug_read_##name, \
+ .llseek = generic_file_llseek, \
};
DEBUG_FOPS_RO(ver);
View
1  arch/avr32/boards/mimc200/fram.c
@@ -41,6 +41,7 @@ static int fram_mmap(struct file *filp, struct vm_area_struct *vma)
static const struct file_operations fram_fops = {
.owner = THIS_MODULE,
.mmap = fram_mmap,
+ .llseek = noop_llseek,
};
#define FRAM_MINOR 0
View
1  arch/blackfin/kernel/kgdb_test.c
@@ -88,6 +88,7 @@ static const struct file_operations kgdb_test_proc_fops = {
.owner = THIS_MODULE,
.read = kgdb_test_proc_read,
.write = kgdb_test_proc_write,
+ .llseek = noop_llseek,
};
static int __init kgdbtest_init(void)
View
1  arch/blackfin/mach-bf561/coreb.c
@@ -51,6 +51,7 @@ coreb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static const struct file_operations coreb_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = coreb_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice coreb_dev = {
View
1  arch/cris/arch-v10/drivers/ds1302.c
@@ -388,6 +388,7 @@ print_rtc_status(void)
static const struct file_operations rtc_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = rtc_unlocked_ioctl,
+ .llseek = noop_llseek,
};
/* Probe for the chip by writing something to its RAM and try reading it back. */
View
1  arch/cris/arch-v10/drivers/gpio.c
@@ -745,6 +745,7 @@ static const struct file_operations gpio_fops = {
.write = gpio_write,
.open = gpio_open,
.release = gpio_release,
+ .llseek = noop_llseek,
};
static void ioif_watcher(const unsigned int gpio_in_available,
View
1  arch/cris/arch-v10/drivers/i2c.c
@@ -617,6 +617,7 @@ static const struct file_operations i2c_fops = {
.unlocked_ioctl = i2c_ioctl,
.open = i2c_open,
.release = i2c_release,
+ .llseek = noop_llseek,
};
int __init
View
1  arch/cris/arch-v10/drivers/pcf8563.c
@@ -64,6 +64,7 @@ static int voltage_low;
static const struct file_operations pcf8563_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = pcf8563_unlocked_ioctl,
+ .llseek = noop_llseek,
};
unsigned char
View
3  arch/cris/arch-v10/drivers/sync_serial.c
@@ -251,7 +251,8 @@ static const struct file_operations sync_serial_fops = {
.poll = sync_serial_poll,
.unlocked_ioctl = sync_serial_ioctl,
.open = sync_serial_open,
- .release = sync_serial_release
+ .release = sync_serial_release,
+ .llseek = noop_llseek,
};
static int __init etrax_sync_serial_init(void)
View
3  arch/cris/arch-v32/drivers/cryptocop.c
@@ -281,7 +281,8 @@ const struct file_operations cryptocop_fops = {
.owner = THIS_MODULE,
.open = cryptocop_open,
.release = cryptocop_release,
- .unlocked_ioctl = cryptocop_ioctl
+ .unlocked_ioctl = cryptocop_ioctl,
+ .llseek = noop_llseek,
};
View
1  arch/cris/arch-v32/drivers/i2c.c
@@ -698,6 +698,7 @@ static const struct file_operations i2c_fops = {
.unlocked_ioctl = i2c_ioctl,
.open = i2c_open,
.release = i2c_release,
+ .llseek = noop_llseek,
};
static int __init i2c_init(void)
View
1  arch/cris/arch-v32/drivers/mach-a3/gpio.c
@@ -894,6 +894,7 @@ static const struct file_operations gpio_fops = {
.write = gpio_write,
.open = gpio_open,
.release = gpio_release,
+ .llseek = noop_llseek,
};
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
View
1  arch/cris/arch-v32/drivers/mach-fs/gpio.c
@@ -871,6 +871,7 @@ static const struct file_operations gpio_fops = {
.write = gpio_write,
.open = gpio_open,
.release = gpio_release,
+ .llseek = noop_llseek,
};
#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
View
1  arch/cris/arch-v32/drivers/pcf8563.c
@@ -60,6 +60,7 @@ static int voltage_low;
static const struct file_operations pcf8563_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = pcf8563_unlocked_ioctl,
+ .llseek = noop_llseek,
};
unsigned char
View
3  arch/cris/arch-v32/drivers/sync_serial.c
@@ -248,7 +248,8 @@ static const struct file_operations sync_serial_fops = {
.poll = sync_serial_poll,
.unlocked_ioctl = sync_serial_ioctl,
.open = sync_serial_open,
- .release = sync_serial_release
+ .release = sync_serial_release,
+ .llseek = noop_llseek,
};
static int __init etrax_sync_serial_init(void)
View
1  arch/cris/kernel/profile.c
@@ -59,6 +59,7 @@ write_cris_profile(struct file *file, const char __user *buf,
static const struct file_operations cris_proc_profile_operations = {
.read = read_cris_profile,
.write = write_cris_profile,
+ .llseek = default_llseek,
};
static int __init init_cris_profile(void)
View
2  arch/ia64/kernel/salinfo.c
@@ -354,6 +354,7 @@ salinfo_event_read(struct file *file, char __user *buffer, size_t count, loff_t
static const struct file_operations salinfo_event_fops = {
.open = salinfo_event_open,
.read = salinfo_event_read,
+ .llseek = noop_llseek,
};
static int
@@ -571,6 +572,7 @@ static const struct file_operations salinfo_data_fops = {
.release = salinfo_log_release,
.read = salinfo_log_read,
.write = salinfo_log_write,
+ .llseek = default_llseek,
};
static int __cpuinit
View
1  arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -860,6 +860,7 @@ static long sn_hwperf_ioctl(struct file *fp, u32 op, unsigned long arg)
static const struct file_operations sn_hwperf_fops = {
.unlocked_ioctl = sn_hwperf_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice sn_hwperf_dev = {
View
1  arch/m68k/bvme6000/rtc.c
@@ -155,6 +155,7 @@ static const struct file_operations rtc_fops = {
.unlocked_ioctl = rtc_ioctl,
.open = rtc_open,
.release = rtc_release,
+ .llseek = noop_llseek,
};
static struct miscdevice rtc_dev = {
View
1  arch/m68k/mvme16x/rtc.c
@@ -144,6 +144,7 @@ static const struct file_operations rtc_fops = {
.unlocked_ioctl = rtc_ioctl,
.open = rtc_open,
.release = rtc_release,
+ .llseek = noop_llseek,
};
static struct miscdevice rtc_dev=
View
3  arch/mips/kernel/rtlx.c
@@ -468,7 +468,8 @@ static const struct file_operations rtlx_fops = {
.release = file_release,
.write = file_write,
.read = file_read,
- .poll = file_poll
+ .poll = file_poll,
+ .llseek = noop_llseek,
};
static struct irqaction rtlx_irq = {
View
3  arch/mips/kernel/vpe.c
@@ -1192,7 +1192,8 @@ static const struct file_operations vpe_fops = {
.owner = THIS_MODULE,
.open = vpe_open,
.release = vpe_release,
- .write = vpe_write
+ .write = vpe_write,
+ .llseek = noop_llseek,
};
/* module wrapper entry points */
View
1  arch/mips/sibyte/common/sb_tbprof.c
@@ -545,6 +545,7 @@ static const struct file_operations sbprof_tb_fops = {
.unlocked_ioctl = sbprof_tb_ioctl,
.compat_ioctl = sbprof_tb_ioctl,
.mmap = NULL,
+ .llseek = default_llseek,
};
static struct class *tb_class;
View
1  arch/powerpc/kernel/lparcfg.c
@@ -780,6 +780,7 @@ static const struct file_operations lparcfg_fops = {
.write = lparcfg_write,
.open = lparcfg_open,
.release = single_release,
+ .llseek = seq_lseek,
};
static int __init lparcfg_init(void)
View
3  arch/powerpc/kernel/rtas_flash.c
@@ -716,6 +716,7 @@ static const struct file_operations rtas_flash_operations = {
.write = rtas_flash_write,
.open = rtas_excl_open,
.release = rtas_flash_release,
+ .llseek = default_llseek,
};
static const struct file_operations manage_flash_operations = {
@@ -724,6 +725,7 @@ static const struct file_operations manage_flash_operations = {
.write = manage_flash_write,
.open = rtas_excl_open,
.release = rtas_excl_release,
+ .llseek = default_llseek,
};
static const struct file_operations validate_flash_operations = {
@@ -732,6 +734,7 @@ static const struct file_operations validate_flash_operations = {
.write = validate_flash_write,
.open = rtas_excl_open,
.release = validate_flash_release,
+ .llseek = default_llseek,
};
static int __init rtas_flash_init(void)
View
1  arch/powerpc/kernel/rtasd.c
@@ -354,6 +354,7 @@ static const struct file_operations proc_rtas_log_operations = {
.poll = rtas_log_poll,
.open = rtas_log_open,
.release = rtas_log_release,
+ .llseek = noop_llseek,
};
static int enable_surveillance(int timeout)
View
1  arch/powerpc/platforms/iseries/mf.c
@@ -1249,6 +1249,7 @@ static ssize_t proc_mf_change_vmlinux(struct file *file,
static const struct file_operations proc_vmlinux_operations = {
.write = proc_mf_change_vmlinux,
+ .llseek = default_llseek,
};
static int __init mf_proc_init(void)
View
3  arch/powerpc/platforms/pseries/reconfig.c
@@ -539,7 +539,8 @@ static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t coun
}
static const struct file_operations ofdt_fops = {
- .write = ofdt_write
+ .write = ofdt_write,
+ .llseek = noop_llseek,
};
/* create /proc/powerpc/ofdt write-only by root */
View
1  arch/powerpc/platforms/pseries/scanlog.c
@@ -170,6 +170,7 @@ const struct file_operations scanlog_fops = {
.write = scanlog_write,
.open = scanlog_open,
.release = scanlog_release,
+ .llseek = noop_llseek,
};
static int __init scanlog_init(void)
View
1  arch/s390/crypto/prng.c
@@ -152,6 +152,7 @@ static const struct file_operations prng_fops = {
.open = &prng_open,
.release = NULL,
.read = &prng_read,
+ .llseek = noop_llseek,
};
static struct miscdevice prng_dev = {
View
1  arch/s390/hypfs/hypfs_diag.c
@@ -618,6 +618,7 @@ static const struct file_operations dbfs_d204_ops = {
.open = dbfs_d204_open,
.read = dbfs_d204_read,
.release = dbfs_d204_release,
+ .llseek = no_llseek,
};
static int hypfs_dbfs_init(void)
View
1  arch/s390/hypfs/hypfs_vm.c
@@ -275,6 +275,7 @@ static const struct file_operations dbfs_d2fc_ops = {
.open = dbfs_d2fc_open,
.read = dbfs_d2fc_read,
.release = dbfs_d2fc_release,
+ .llseek = no_llseek,
};
int hypfs_vm_init(void)
View
1  arch/s390/hypfs/inode.c
@@ -449,6 +449,7 @@ static const struct file_operations hypfs_file_ops = {
.write = do_sync_write,
.aio_read = hypfs_aio_read,
.aio_write = hypfs_aio_write,
+ .llseek = no_llseek,
};
static struct file_system_type hypfs_type = {
View
1  arch/s390/kernel/debug.c
@@ -174,6 +174,7 @@ static const struct file_operations debug_file_ops = {
.write = debug_input,
.open = debug_open,
.release = debug_close,
+ .llseek = no_llseek,
};
static struct dentry *debug_debugfs_root_entry;
View
1  arch/sh/boards/mach-landisk/gio.c
@@ -128,6 +128,7 @@ static const struct file_operations gio_fops = {
.open = gio_open, /* open */
.release = gio_close, /* release */
.unlocked_ioctl = gio_ioctl,
+ .llseek = noop_llseek,
};
static int __init gio_init(void)
View
1  arch/sparc/kernel/apc.c
@@ -132,6 +132,7 @@ static const struct file_operations apc_fops = {
.unlocked_ioctl = apc_ioctl,
.open = apc_open,
.release = apc_release,
+ .llseek = noop_llseek,
};
static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops };
View
1  arch/sparc/kernel/mdesc.c
@@ -890,6 +890,7 @@ static ssize_t mdesc_read(struct file *file, char __user *buf,
static const struct file_operations mdesc_fops = {
.read = mdesc_read,
.owner = THIS_MODULE,
+ .llseek = noop_llseek,
};
static struct miscdevice mdesc_misc = {
View
1  arch/tile/kernel/hardwall.c
@@ -774,6 +774,7 @@ static const struct file_operations dev_hardwall_fops = {
#endif
.flush = hardwall_flush,
.release = hardwall_release,
+ .llseek = noop_llseek,
};
static struct cdev hardwall_dev;
View
1  arch/um/drivers/harddog_kern.c
@@ -167,6 +167,7 @@ static const struct file_operations harddog_fops = {
.unlocked_ioctl = harddog_ioctl,
.open = harddog_open,
.release = harddog_release,
+ .llseek = no_llseek,
};
static struct miscdevice harddog_miscdev = {
View
1  arch/um/drivers/mconsole_kern.c
@@ -843,6 +843,7 @@ static ssize_t mconsole_proc_write(struct file *file,
static const struct file_operations mconsole_proc_fops = {
.owner = THIS_MODULE,
.write = mconsole_proc_write,
+ .llseek = noop_llseek,
};
static int create_proc_mconsole(void)
View
1  arch/um/drivers/mmapper_kern.c
@@ -93,6 +93,7 @@ static const struct file_operations mmapper_fops = {
.mmap = mmapper_mmap,
.open = mmapper_open,
.release = mmapper_release,
+ .llseek = default_llseek,
};
/*
View
1  arch/um/drivers/random.c
@@ -100,6 +100,7 @@ static const struct file_operations rng_chrdev_ops = {
.owner = THIS_MODULE,
.open = rng_dev_open,
.read = rng_dev_read,
+ .llseek = noop_llseek,
};
/* rng_init shouldn't be called more than once at boot time */
View
1  arch/x86/kernel/apm_32.c
@@ -1926,6 +1926,7 @@ static const struct file_operations apm_bios_fops = {
.unlocked_ioctl = do_ioctl,
.open = do_open,
.release = do_release,
+ .llseek = noop_llseek,
};
static struct miscdevice apm_device = {
View
1  arch/x86/kernel/cpu/mcheck/mce-severity.c
@@ -192,6 +192,7 @@ static const struct file_operations severities_coverage_fops = {
.release = seq_release,
.read = seq_read,
.write = severities_coverage_write,
+ .llseek = seq_lseek,
};
static int __init severities_debugfs_init(void)
View
1  arch/x86/kernel/cpu/mcheck/mce.c
@@ -1665,6 +1665,7 @@ struct file_operations mce_chrdev_ops = {
.read = mce_read,
.poll = mce_poll,
.unlocked_ioctl = mce_ioctl,
+ .llseek = no_llseek,
};
EXPORT_SYMBOL_GPL(mce_chrdev_ops);
View
1  arch/x86/kernel/kdebugfs.c
@@ -78,6 +78,7 @@ static int setup_data_open(struct inode *inode, struct file *file)
static const struct file_operations fops_setup_data = {
.read = setup_data_read,
.open = setup_data_open,
+ .llseek = default_llseek,
};
static int __init
View
1  arch/x86/kernel/microcode_core.c
@@ -232,6 +232,7 @@ static const struct file_operations microcode_fops = {
.owner = THIS_MODULE,
.write = microcode_write,
.open = microcode_open,
+ .llseek = no_llseek,
};
static struct miscdevice microcode_dev = {
View
1  arch/x86/kernel/tlb_uv.c
@@ -1285,6 +1285,7 @@ static const struct file_operations tunables_fops = {
.open = tunables_open,
.read = tunables_read,
.write = tunables_write,
+ .llseek = default_llseek,
};
static int __init uv_ptc_init(void)
View
1  arch/x86/xen/debugfs.c
@@ -106,6 +106,7 @@ static const struct file_operations u32_array_fops = {
.open = u32_array_open,
.release= xen_array_release,
.read = u32_array_read,
+ .llseek = no_llseek,
};
struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode,
View
1  block/bsg.c
@@ -965,6 +965,7 @@ static const struct file_operations bsg_fops = {
.release = bsg_release,
.unlocked_ioctl = bsg_ioctl,
.owner = THIS_MODULE,
+ .llseek = default_llseek,
};
void bsg_unregister_queue(struct request_queue *q)
View
1  drivers/acpi/apei/erst-dbg.c
@@ -184,6 +184,7 @@ static const struct file_operations erst_dbg_ops = {
.read = erst_dbg_read,
.write = erst_dbg_write,
.unlocked_ioctl = erst_dbg_ioctl,
+ .llseek = no_llseek,
};
static struct miscdevice erst_dbg_dev = {
View
1  drivers/acpi/debugfs.c
@@ -69,6 +69,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
static const struct file_operations cm_fops = {
.write = cm_write,
+ .llseek = default_llseek,
};
int __init acpi_debugfs_init(void)
View
1  drivers/acpi/ec_sys.c
@@ -101,6 +101,7 @@ static struct file_operations acpi_ec_io_ops = {
.open = acpi_ec_open_io,
.read = acpi_ec_read_io,
.write = acpi_ec_write_io,
+ .llseek = default_llseek,
};
int acpi_ec_add_debugfs(struct acpi_ec *ec, unsigned int ec_device_count)
View
1  drivers/acpi/event.c
@@ -110,6 +110,7 @@ static const struct file_operations acpi_system_event_ops = {
.read = acpi_system_read_event,
.release = acpi_system_close_event,
.poll = acpi_system_poll_event,
+ .llseek = default_llseek,
};
#endif /* CONFIG_ACPI_PROC_EVENT */
View
3  drivers/block/DAC960.c
@@ -7063,7 +7063,8 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
static const struct file_operations DAC960_gam_fops = {
.owner = THIS_MODULE,
- .unlocked_ioctl = DAC960_gam_ioctl
+ .unlocked_ioctl = DAC960_gam_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice DAC960_gam_dev = {
View
1  drivers/block/aoe/aoechr.c
@@ -266,6 +266,7 @@ static const struct file_operations aoe_fops = {
.open = aoechr_open,
.release = aoechr_rel,
.owner = THIS_MODULE,
+ .llseek = noop_llseek,
};
static char *aoe_devnode(struct device *dev, mode_t *mode)
View
1  drivers/block/paride/pg.c
@@ -235,6 +235,7 @@ static const struct file_operations pg_fops = {
.write = pg_write,
.open = pg_open,
.release = pg_release,
+ .llseek = noop_llseek,
};
static void pg_init_units(void)
View
1  drivers/block/paride/pt.c
@@ -240,6 +240,7 @@ static const struct file_operations pt_fops = {
.unlocked_ioctl = pt_ioctl,
.open = pt_open,
.release = pt_release,
+ .llseek = noop_llseek,
};
/* sysfs class support */
View
1  drivers/block/pktcdvd.c
@@ -3046,6 +3046,7 @@ static const struct file_operations pkt_ctl_fops = {
.compat_ioctl = pkt_ctl_compat_ioctl,
#endif
.owner = THIS_MODULE,
+ .llseek = no_llseek,
};
static struct miscdevice pkt_misc = {
View
10 drivers/bluetooth/btmrvl_debugfs.c
@@ -92,6 +92,7 @@ static const struct file_operations btmrvl_hscfgcmd_fops = {
.read = btmrvl_hscfgcmd_read,
.write = btmrvl_hscfgcmd_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_psmode_write(struct file *file, const char __user *ubuf,
@@ -130,6 +131,7 @@ static const struct file_operations btmrvl_psmode_fops = {
.read = btmrvl_psmode_read,
.write = btmrvl_psmode_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_pscmd_write(struct file *file, const char __user *ubuf,
@@ -173,6 +175,7 @@ static const struct file_operations btmrvl_pscmd_fops = {
.read = btmrvl_pscmd_read,
.write = btmrvl_pscmd_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_gpiogap_write(struct file *file, const char __user *ubuf,
@@ -211,6 +214,7 @@ static const struct file_operations btmrvl_gpiogap_fops = {
.read = btmrvl_gpiogap_read,
.write = btmrvl_gpiogap_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf,
@@ -252,6 +256,7 @@ static const struct file_operations btmrvl_hscmd_fops = {
.read = btmrvl_hscmd_read,
.write = btmrvl_hscmd_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_hsmode_write(struct file *file, const char __user *ubuf,
@@ -289,6 +294,7 @@ static const struct file_operations btmrvl_hsmode_fops = {
.read = btmrvl_hsmode_read,
.write = btmrvl_hsmode_write,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf,
@@ -306,6 +312,7 @@ static ssize_t btmrvl_curpsmode_read(struct file *file, char __user *userbuf,
static const struct file_operations btmrvl_curpsmode_fops = {
.read = btmrvl_curpsmode_read,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf,
@@ -323,6 +330,7 @@ static ssize_t btmrvl_psstate_read(struct file *file, char __user * userbuf,
static const struct file_operations btmrvl_psstate_fops = {
.read = btmrvl_psstate_read,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf,
@@ -340,6 +348,7 @@ static ssize_t btmrvl_hsstate_read(struct file *file, char __user *userbuf,
static const struct file_operations btmrvl_hsstate_fops = {
.read = btmrvl_hsstate_read,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf,
@@ -358,6 +367,7 @@ static ssize_t btmrvl_txdnldready_read(struct file *file, char __user *userbuf,
static const struct file_operations btmrvl_txdnldready_fops = {
.read = btmrvl_txdnldready_read,
.open = btmrvl_open_generic,
+ .llseek = default_llseek,
};
void btmrvl_debugfs_init(struct hci_dev *hdev)
View
1  drivers/bluetooth/hci_vhci.c
@@ -282,6 +282,7 @@ static const struct file_operations vhci_fops = {
.poll = vhci_poll,
.open = vhci_open,
.release = vhci_release,
+ .llseek = no_llseek,
};
static struct miscdevice vhci_miscdev= {
View
1  drivers/char/apm-emulation.c
@@ -403,6 +403,7 @@ static const struct file_operations apm_bios_fops = {
.unlocked_ioctl = apm_ioctl,
.open = apm_open,
.release = apm_release,
+ .llseek = noop_llseek,
};
static struct miscdevice apm_device = {
View
1  drivers/char/bfin-otp.c
@@ -222,6 +222,7 @@ static const struct file_operations bfin_otp_fops = {
.unlocked_ioctl = bfin_otp_ioctl,
.read = bfin_otp_read,
.write = bfin_otp_write,
+ .llseek = default_llseek,
};
static struct miscdevice bfin_otp_misc_device = {
View
1  drivers/char/briq_panel.c
@@ -186,6 +186,7 @@ static const struct file_operations briq_panel_fops = {
.write = briq_panel_write,
.open = briq_panel_open,
.release = briq_panel_release,
+ .llseek = noop_llseek,
};
static struct miscdevice briq_panel_miscdev = {
View
1  drivers/char/bsr.c
@@ -155,6 +155,7 @@ static const struct file_operations bsr_fops = {
.owner = THIS_MODULE,
.mmap = bsr_mmap,
.open = bsr_open,
+ .llseek = noop_llseek,
};
static void bsr_cleanup_devs(void)
View
3  drivers/char/cs5535_gpio.c
@@ -169,7 +169,8 @@ static const struct file_operations cs5535_gpio_fops = {
.owner = THIS_MODULE,
.write = cs5535_gpio_write,
.read = cs5535_gpio_read,
- .open = cs5535_gpio_open
+ .open = cs5535_gpio_open,
+ .llseek = no_llseek,
};
static int __init cs5535_gpio_init(void)
View
1  drivers/char/ds1302.c
@@ -289,6 +289,7 @@ get_rtc_status(char *buf)
static const struct file_operations rtc_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = rtc_ioctl,
+ .llseek = noop_llseek,
};
/* Probe for the chip by writing something to its RAM and try reading it back. */
View
1  drivers/char/ds1620.c
@@ -357,6 +357,7 @@ static const struct file_operations ds1620_fops = {
.open = ds1620_open,
.read = ds1620_read,
.unlocked_ioctl = ds1620_unlocked_ioctl,
+ .llseek = no_llseek,
};
static struct miscdevice ds1620_miscdev = {
View
1  drivers/char/dsp56k.c
@@ -483,6 +483,7 @@ static const struct file_operations dsp56k_fops = {
.unlocked_ioctl = dsp56k_ioctl,
.open = dsp56k_open,
.release = dsp56k_release,
+ .llseek = noop_llseek,
};
View
1  drivers/char/dtlk.c
@@ -106,6 +106,7 @@ static const struct file_operations dtlk_fops =
.unlocked_ioctl = dtlk_ioctl,
.open = dtlk_open,
.release = dtlk_release,
+ .llseek = no_llseek,
};
/* local prototypes */
View
1  drivers/char/genrtc.c
@@ -498,6 +498,7 @@ static const struct file_operations gen_rtc_fops = {
.unlocked_ioctl = gen_rtc_unlocked_ioctl,
.open = gen_rtc_open,
.release = gen_rtc_release,
+ .llseek = noop_llseek,
};
static struct miscdevice rtc_gen_dev =
View
1  drivers/char/hw_random/core.c
@@ -170,6 +170,7 @@ static const struct file_operations rng_chrdev_ops = {
.owner = THIS_MODULE,
.open = rng_dev_open,
.read = rng_dev_read,
+ .llseek = noop_llseek,
};
static struct miscdevice rng_miscdev = {
View
1  drivers/char/ip2/ip2main.c
@@ -237,6 +237,7 @@ static const struct file_operations ip2_ipl = {
.write = ip2_ipl_write,
.unlocked_ioctl = ip2_ipl_ioctl,
.open = ip2_ipl_open,
+ .llseek = noop_llseek,
};
static unsigned long irq_counter;
View
1  drivers/char/ipmi/ipmi_devintf.c
@@ -850,6 +850,7 @@ static const struct file_operations ipmi_fops = {
.release = ipmi_release,
.fasync = ipmi_fasync,
.poll = ipmi_poll,
+ .llseek = noop_llseek,
};
#define DEVICE_NAME "ipmidev"
View
1  drivers/char/ipmi/ipmi_watchdog.c
@@ -909,6 +909,7 @@ static const struct file_operations ipmi_wdog_fops = {
.open = ipmi_open,
.release = ipmi_close,
.fasync = ipmi_fasync,
+ .llseek = no_llseek,
};
static struct miscdevice ipmi_wdog_miscdev = {
View
1  drivers/char/istallion.c
@@ -704,6 +704,7 @@ static const struct file_operations stli_fsiomem = {
.read = stli_memread,
.write = stli_memwrite,
.unlocked_ioctl = stli_memioctl,
+ .llseek = default_llseek,
};
/*****************************************************************************/
View
1  drivers/char/lp.c
@@ -749,6 +749,7 @@ static const struct file_operations lp_fops = {
#ifdef CONFIG_PARPORT_1284
.read = lp_read,
#endif
+ .llseek = noop_llseek,
};
/* --- support for console on the line printer ----------------- */
View
3  drivers/char/mem.c
@@ -805,6 +805,7 @@ static const struct file_operations full_fops = {
static const struct file_operations oldmem_fops = {
.read = read_oldmem,
.open = open_oldmem,
+ .llseek = default_llseek,
};
#endif
@@ -831,6 +832,7 @@ static ssize_t kmsg_write(struct file *file, const char __user *buf,
static const struct file_operations kmsg_fops = {
.write = kmsg_write,
+ .llseek = noop_llseek,
};
static const struct memdev {
@@ -882,6 +884,7 @@ static int memory_open(struct inode *inode, struct file *filp)
static const struct file_operations memory_fops = {
.open = memory_open,
+ .llseek = noop_llseek,
};
static char *mem_devnode(struct device *dev, mode_t *mode)
View
1  drivers/char/misc.c
@@ -162,6 +162,7 @@ static struct class *misc_class;
static const struct file_operations misc_fops = {
.owner = THIS_MODULE,
.open = misc_open,
+ .llseek = noop_llseek,
};
/**
View
1  drivers/char/mmtimer.c
@@ -73,6 +73,7 @@ static const struct file_operations mmtimer_fops = {
.owner = THIS_MODULE,
.mmap = mmtimer_mmap,
.unlocked_ioctl = mmtimer_ioctl,
+ .llseek = noop_llseek,
};
/*
View
9 drivers/char/mspec.c
@@ -316,7 +316,8 @@ uncached_mmap(struct file *file, struct vm_area_struct *vma)
static const struct file_operations fetchop_fops = {
.owner = THIS_MODULE,
- .mmap = fetchop_mmap
+ .mmap = fetchop_mmap,
+ .llseek = noop_llseek,
};
static struct miscdevice fetchop_miscdev = {
@@ -327,7 +328,8 @@ static struct miscdevice fetchop_miscdev = {
static const struct file_operations cached_fops = {
.owner = THIS_MODULE,
- .mmap = cached_mmap
+ .mmap = cached_mmap,
+ .llseek = noop_llseek,
};
static struct miscdevice cached_miscdev = {
@@ -338,7 +340,8 @@ static struct miscdevice cached_miscdev = {
static const struct file_operations uncached_fops = {
.owner = THIS_MODULE,
- .mmap = uncached_mmap
+ .mmap = uncached_mmap,
+ .llseek = noop_llseek,
};
static struct miscdevice uncached_miscdev = {
View
3  drivers/char/mwave/mwavedd.c
@@ -479,7 +479,8 @@ static const struct file_operations mwave_fops = {
.write = mwave_write,
.unlocked_ioctl = mwave_ioctl,
.open = mwave_open,
- .release = mwave_close
+ .release = mwave_close,
+ .llseek = default_llseek,
};
View
1  drivers/char/nwbutton.c
@@ -182,6 +182,7 @@ static int button_read (struct file *filp, char __user *buffer,
static const struct file_operations button_fops = {
.owner = THIS_MODULE,
.read = button_read,
+ .llseek = noop_llseek,
};
/*
View
1  drivers/char/pc8736x_gpio.c
@@ -234,6 +234,7 @@ static const struct file_operations pc8736x_gpio_fileops = {
.open = pc8736x_gpio_open,
.write = nsc_gpio_write,
.read = nsc_gpio_read,
+ .llseek = no_llseek,
};
static void __init pc8736x_init_shadow(void)
View
1  drivers/char/pcmcia/cm4000_cs.c
@@ -1866,6 +1866,7 @@ static const struct file_operations cm4000_fops = {
.unlocked_ioctl = cmm_ioctl,
.open = cmm_open,
.release= cmm_close,
+ .llseek = no_llseek,
};
static struct pcmcia_device_id cm4000_ids[] = {
View
1  drivers/char/pcmcia/cm4040_cs.c
@@ -630,6 +630,7 @@ static const struct file_operations reader_fops = {
.open = cm4040_open,
.release = cm4040_close,
.poll = cm4040_poll,
+ .llseek = no_llseek,
};
static struct pcmcia_device_id cm4040_ids[] = {
View
2  drivers/char/random.c
@@ -1165,6 +1165,7 @@ const struct file_operations random_fops = {
.poll = random_poll,
.unlocked_ioctl = random_ioctl,
.fasync = random_fasync,
+ .llseek = noop_llseek,
};
const struct file_operations urandom_fops = {
@@ -1172,6 +1173,7 @@ const struct file_operations urandom_fops = {
.write = random_write,
.unlocked_ioctl = random_ioctl,
.fasync = random_fasync,
+ .llseek = noop_llseek,
};
/***************************************************************
View
2  drivers/char/raw.c
@@ -292,6 +292,7 @@ static const struct file_operations raw_fops = {
.open = raw_open,
.release = raw_release,
.unlocked_ioctl = raw_ioctl,
+ .llseek = default_llseek,
.owner = THIS_MODULE,
};
@@ -302,6 +303,7 @@ static const struct file_operations raw_ctl_fops = {
#endif
.open = raw_open,
.owner = THIS_MODULE,
+ .llseek = noop_llseek,
};
static struct cdev raw_cdev;
View
1  drivers/char/rio/rio_linux.c
@@ -242,6 +242,7 @@ static struct real_driver rio_real_driver = {
static const struct file_operations rio_fw_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = rio_fw_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice rio_fw_device = {
View
1  drivers/char/scx200_gpio.c
@@ -67,6 +67,7 @@ static const struct file_operations scx200_gpio_fileops = {
.read = nsc_gpio_read,
.open = scx200_gpio_open,
.release = scx200_gpio_release,
+ .llseek = no_llseek,
};
static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */
View
1  drivers/char/snsc.c
@@ -358,6 +358,7 @@ static const struct file_operations scdrv_fops = {
.poll = scdrv_poll,
.open = scdrv_open,
.release = scdrv_release,
+ .llseek = noop_llseek,
};
static struct class *snsc_class;
View
1  drivers/char/stallion.c
@@ -608,6 +608,7 @@ static unsigned int sc26198_baudtable[] = {
static const struct file_operations stl_fsiomem = {
.owner = THIS_MODULE,
.unlocked_ioctl = stl_memioctl,
+ .llseek = noop_llseek,
};
static struct class *stallion_class;
View
1  drivers/char/sx.c
@@ -397,6 +397,7 @@ static struct real_driver sx_real_driver = {
static const struct file_operations sx_fw_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = sx_fw_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice sx_fw_device = {
View
1  drivers/char/sysrq.c
@@ -772,6 +772,7 @@ static ssize_t write_sysrq_trigger(struct file *file, const char __user *buf,
static const struct file_operations proc_sysrq_trigger_operations = {
.write = write_sysrq_trigger,
+ .llseek = noop_llseek,
};
static void sysrq_init_procfs(void)
View
1  drivers/char/tb0219.c
@@ -261,6 +261,7 @@ static const struct file_operations tb0219_fops = {
.write = tanbac_tb0219_write,
.open = tanbac_tb0219_open,
.release = tanbac_tb0219_release,
+ .llseek = no_llseek,
};
static void tb0219_restart(char *command)
View
1  drivers/char/tlclk.c
@@ -267,6 +267,7 @@ static const struct file_operations tlclk_fops = {
.read = tlclk_read,
.open = tlclk_open,
.release = tlclk_release,
+ .llseek = noop_llseek,
};
View
1  drivers/char/toshiba.c
@@ -96,6 +96,7 @@ static long tosh_ioctl(struct file *, unsigned int,
static const struct file_operations tosh_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = tosh_ioctl,
+ .llseek = noop_llseek,
};
static struct miscdevice tosh_device = {
View
1  drivers/char/uv_mmtimer.c
@@ -52,6 +52,7 @@ static const struct file_operations uv_mmtimer_fops = {
.owner = THIS_MODULE,
.mmap = uv_mmtimer_mmap,
.unlocked_ioctl = uv_mmtimer_ioctl,
+ .llseek = noop_llseek,
};
/**
View
1  drivers/char/viotape.c
@@ -805,6 +805,7 @@ const struct file_operations viotap_fops = {
.unlocked_ioctl = viotap_unlocked_ioctl,
.open = viotap_open,
.release = viotap_release,
+ .llseek = noop_llseek,
};
/* Handle interrupt events for tape */
View
1  drivers/char/xilinx_hwicap/xilinx_hwicap.c
@@ -567,6 +567,7 @@ static const struct file_operations hwicap_fops = {
.read = hwicap_read,
.open = hwicap_open,
.release = hwicap_release,
+ .llseek = noop_llseek,
};
static int __devinit hwicap_setup(struct device *dev, int id,
View
1  drivers/dma/coh901318.c
@@ -157,6 +157,7 @@ static const struct file_operations coh901318_debugfs_status_operations = {
.owner = THIS_MODULE,
.open = coh901318_debugfs_open,
.read = coh901318_debugfs_read,
+ .llseek = default_llseek,
};
View
1  drivers/firewire/nosy.c
@@ -405,6 +405,7 @@ static const struct file_operations nosy_ops = {
.poll = nosy_poll,
.open = nosy_open,
.release = nosy_release,
+ .llseek = noop_llseek,
};
#define PHY_PACKET_SIZE 12 /* 1 payload, 1 inverse, 1 ack = 3 quadlets */
View
3  drivers/gpu/drm/drm_drv.c
@@ -284,7 +284,8 @@ EXPORT_SYMBOL(drm_exit);
/** File operations structure */
static const struct file_operations drm_stub_fops = {
.owner = THIS_MODULE,
- .open = drm_stub_open
+ .open = drm_stub_open,
+ .llseek = noop_llseek,
};
static int __init drm_core_init(void)
View
1  drivers/gpu/drm/i810/i810_dma.c
@@ -119,6 +119,7 @@ static const struct file_operations i810_buffer_fops = {
.unlocked_ioctl = i810_ioctl,
.mmap = i810_mmap_buffers,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
};
static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
View
1  drivers/gpu/drm/i810/i810_drv.c
@@ -63,6 +63,7 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
},
.pci_driver = {
View
1  drivers/gpu/drm/i830/i830_dma.c
@@ -121,6 +121,7 @@ static const struct file_operations i830_buffer_fops = {
.unlocked_ioctl = i830_ioctl,
.mmap = i830_mmap_buffers,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
};
static int i830_map_buffer(struct drm_buf *buf, struct drm_file *file_priv)
View
1  drivers/gpu/drm/i830/i830_drv.c
@@ -74,6 +74,7 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
},
.pci_driver = {
View
1  drivers/gpu/drm/i915/i915_debugfs.c
@@ -782,6 +782,7 @@ static const struct file_operations i915_wedged_fops = {
.open = i915_wedged_open,
.read = i915_wedged_read,
.write = i915_wedged_write,
+ .llseek = default_llseek,
};
/* As the drm_debugfs_init() routines are called before dev->dev_private is
View
1  drivers/gpu/drm/i915/i915_drv.c
@@ -548,6 +548,7 @@ static struct drm_driver driver = {
#ifdef CONFIG_COMPAT
.compat_ioctl = i915_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
View
1  drivers/gpu/drm/mga/mga_drv.c
@@ -75,6 +75,7 @@ static struct drm_driver driver = {
#ifdef CONFIG_COMPAT
.compat_ioctl = mga_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -393,6 +393,7 @@ static struct drm_driver driver = {
#if defined(CONFIG_COMPAT)
.compat_ioctl = nouveau_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  drivers/gpu/drm/r128/r128_drv.c
@@ -71,6 +71,7 @@ static struct drm_driver driver = {
#ifdef CONFIG_COMPAT
.compat_ioctl = r128_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  drivers/gpu/drm/radeon/radeon_drv.c
@@ -219,6 +219,7 @@ static struct drm_driver driver_old = {
#ifdef CONFIG_COMPAT
.compat_ioctl = radeon_compat_ioctl,
#endif
+ .llseek = noop_llseek,
},
.pci_driver = {
View
1  drivers/gpu/drm/savage/savage_drv.c
@@ -54,6 +54,7 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
},
.pci_driver = {
View
1  drivers/gpu/drm/sis/sis_drv.c
@@ -83,6 +83,7 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  drivers/gpu/drm/tdfx/tdfx_drv.c
@@ -52,6 +52,7 @@ static struct drm_driver driver = {
.mmap = drm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
+ .llseek = noop_llseek,
},
.pci_driver = {
.name = DRIVER_NAME,
View
1  drivers/gpu/drm/via/via_drv.c
@@ -62,6 +62,7 @@ static struct drm_driver driver = {