1. 23 1月, 2016 1 次提交
  2. 08 1月, 2016 1 次提交
  3. 07 1月, 2016 2 次提交
  4. 06 1月, 2016 1 次提交
  5. 19 12月, 2015 5 次提交
  6. 15 12月, 2015 1 次提交
    • B
      mtd: bcm47xxnflash: really unregister NAND on device removal · 665d2c28
      Brian Norris 提交于
      The field bcma_nflash::mtd is never set to be non-zero anywhere, but we
      test for it in the removal path. So the MTD is never unregistered.
      
      Also, we should use nand_release(), not mtd_device_unregister().
      
      Finally, we don't need to use the 'platdata' for stashing/retrieving our
      *driver* data -- that's what *_{get,set}_drvdata() are for.
      
      So, kill off bcm_nflash::mtd, and stash the struct bcm47xxnflash in
      drvdata instead. Also move the forward declaration of mtd_info up a bit,
      since struct bcma_sflash should be using it.
      
      Caught while inspecting other changes being made to this driver. Compile
      tested only.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Cc: "Rafał Miłecki" <zajec5@gmail.com>
      Cc: linux-wireless@vger.kernel.org
      Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      665d2c28
  7. 10 12月, 2015 3 次提交
  8. 09 12月, 2015 2 次提交
  9. 02 12月, 2015 2 次提交
  10. 01 12月, 2015 2 次提交
  11. 20 11月, 2015 3 次提交
  12. 14 11月, 2015 1 次提交
    • A
      9p: xattr simplifications · e409de99
      Andreas Gruenbacher 提交于
      Now that the xattr handler is passed to the xattr handler operations, we
      can use the same get and set operations for the user, trusted, and security
      xattr namespaces.  In those namespaces, we can access the full attribute
      name by "reattaching" the name prefix the vfs has skipped for us.  Add a
      xattr_full_name helper to make this obvious in the code.
      
      For the "system.posix_acl_access" and "system.posix_acl_default"
      attributes, handler->prefix is the full attribute name; the suffix is the
      empty string.
      Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com>
      Cc: Eric Van Hensbergen <ericvh@gmail.com>
      Cc: Ron Minnich <rminnich@sandia.gov>
      Cc: Latchesar Ionkov <lucho@ionkov.net>
      Cc: v9fs-developer@lists.sourceforge.net
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      e409de99
  13. 13 11月, 2015 1 次提交
  14. 12 11月, 2015 5 次提交
  15. 11 11月, 2015 4 次提交
    • A
      irqchip: irq-mips-gic: Provide function to map GIC user section · c0a9f72c
      Alex Smith 提交于
      The GIC provides a "user-mode visible" section containing a mirror of
      the counter registers which can be mapped into user memory. This will
      be used by the VDSO time function implementations, so provide a
      function to map it in.
      
      When the GIC is not enabled in Kconfig a dummy inline version of this
      function is provided, along with "#define gic_present 0", so that we
      don't have to litter the VDSO code with ifdefs.
      
      [markos.chandras@imgtec.com:
        - Move mapping code to arch/mips/kernel/vdso.c and use a resource
          type to get the GIC usermode information
        - Avoid renaming function arguments and use __gic_base_addr to hold
          the base GIC address prior to ioremap.]
      [ralf@linux-mips.org: Fix up gic_get_usm_range() to compile and make inline
      again.]
      Signed-off-by: NAlex Smith <alex.smith@imgtec.com>
      Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
      Reviewed-by: NMarc Zyngier <marc.zyngier@arm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Alex Smith <alex.smith@imgtec.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/11281/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c0a9f72c
    • R
      vfs: remove stale comment in inode_operations · c8fffa64
      Ross Zwisler 提交于
      The big warning comment that is currently at the end of struct
      inode_operations was added as part of this commit:
      
      4aa7c634 ("vfs: add i_op->dentry_open()")
      
      It was added to warn people not to use the newly added 'dentry_open'
      function pointer.
      
      This function pointer was removed as part of this commit:
      
      4bacc9c9 ("overlayfs: Make f_path always point to the overlay and
      		f_inode to the underlay")
      
      The comment was left behind and now refers to nothing, so remove it.
      Signed-off-by: NRoss Zwisler <ross.zwisler@linux.intel.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      c8fffa64
    • R
      vfs: remove unused wrapper block_page_mkwrite() · 5c500029
      Ross Zwisler 提交于
      The function currently called "__block_page_mkwrite()" used to be called
      "block_page_mkwrite()" until a wrapper for this function was added by:
      
      commit 24da4fab ("vfs: Create __block_page_mkwrite() helper passing
      	error values back")
      
      This wrapper, the current "block_page_mkwrite()", is currently unused.
      __block_page_mkwrite() is used directly by ext4, nilfs2 and xfs.
      
      Remove the unused wrapper, rename __block_page_mkwrite() back to
      block_page_mkwrite() and update the comment above block_page_mkwrite().
      Signed-off-by: NRoss Zwisler <ross.zwisler@linux.intel.com>
      Reviewed-by: NJan Kara <jack@suse.com>
      Cc: Jan Kara <jack@suse.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      5c500029
    • G
      of: Provide static inline function for of_translate_address if needed · b1d06b60
      Guenter Roeck 提交于
      If OF_ADDRESS is not configured, builds can fail with errors such as
      
      drivers/net/ethernet/hisilicon/hns_mdio.c:
      	In function 'hns_mdio_bus_name':
      drivers/net/ethernet/hisilicon/hns_mdio.c:411:3:
      	error: implicit declaration of function 'of_translate_address'
      
      as currently seen when building sparc:allmodconfig.
      
      Introduce a static inline function if OF_ADDRESS is not configured to fix
      the build failure. Return OF_BAD_ADDR in this case. For this to work, the
      definition of OF_BAD_ADDR has to be moved outside CONFIG_OF conditional
      code.
      
      Fixes: 876133d3 ("net: hisilicon: add OF dependency")
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NFrank Rowand <frank.rowand@sonymobile.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      b1d06b60
  16. 10 11月, 2015 6 次提交