1. 16 Sep, 2010 4 commits
    • Arnd Bergmann's avatar
      arm/omap: use generic_file_llseek in iommu_debug · c0b0aca0
      Arnd Bergmann authored
      In future kernels, debugfs files need to specify
      the llseek operation explicitly to allow seeking.
      This sets the llseek operation in the omap iommu
      debugfs files to generic_file_llseek, which is
      appropriate for files using simple_read_from_buffer.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: linux-omap@vger.kernel.org
      c0b0aca0
    • Arnd Bergmann's avatar
      lkdtm: use generic_file_llseek in debugfs · 05271ec4
      Arnd Bergmann authored
      When the default llseek behavior gets changed to
      not allowing seek, all file operations that rely
      on the current behaviour need to use an explicit
      .llseek operation.
      
      The files that lkdtm uses in debugfs are regular
      files and they get read using simple_read_from_buffer,
      so generic_file_llseek is the right operation.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      05271ec4
    • Arnd Bergmann's avatar
      net/wireless: use generic_file_llseek in debugfs · 2b18ab36
      Arnd Bergmann authored
      The default llseek operation is changing from
      default_llseek to no_llseek, so all code relying on
      the current behaviour needs to make that explicit.
      
      The wireless driver infrastructure and some of the drivers
      make use of generated debugfs files, so they cannot
      be converted by our script that automatically determines
      the right operation.
      
      All these files use debugfs and they typically rely
      on simple_read_from_buffer, so the best llseek operation
      here is generic_file_llseek.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      2b18ab36
    • Arnd Bergmann's avatar
      drm: use noop_llseek · dc880abe
      Arnd Bergmann authored
      The drm device drivers currently allow seeking on the
      character device but never care about the actual
      file position.
      
      When we change the default llseek operation to be
      no_llseek, calling llseek on a drm device would
      return an error condition, which is an API change.
      
      Explicitly setting noop_llseek lets us keep the
      current API.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      dc880abe
  2. 12 Sep, 2010 1 commit
  3. 11 Sep, 2010 13 commits
  4. 10 Sep, 2010 22 commits