1. 12 Jan, 2016 7 commits
  2. 23 Dec, 2015 1 commit
    • Sudip Mukherjee's avatar
      PCI/AER: include header file · c89e5b80
      Sudip Mukherjee authored
      We are having build failure with sparc allmodconfig with the error:
      
      drivers/nvme/host/pci.c:15:0:
      include/linux/aer.h: In function 'pci_enable_pcie_error_reporting':
      include/linux/aer.h:49:10: error: 'EINVAL' undeclared (first use in this function)
      
      The file aer.h is using the error values but they are defined in
      errno.h. Include errno.h so that we have the definitions of the error
      codes.
      
      Fixes: a0a3408e ("NVMe: Add pci error handlers")
      Cc: Keith Busch <keith.busch@intel.com>
      Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      c89e5b80
  3. 22 Dec, 2015 28 commits
  4. 09 Dec, 2015 2 commits
  5. 08 Dec, 2015 1 commit
    • Arnd Bergmann's avatar
      nvme: fix another 32-bit build warning · d1ea7be5
      Arnd Bergmann authored
      The nvme_user_cmd function was recently moved around from one file
      to another, which made a warning reappear that I had fixed before
      at some point:
      
      drivers/nvme/host/core.c: In function 'nvme_user_cmd':
      drivers/nvme/host/core.c:424:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      
      This applies the same workaround that we have elsewhere in the
      driver with an extra type cast to uintptr_t.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 1673f1f0 ("nvme: move block_device_operations and ns/ctrl freeing to common code")
      Link: https://lkml.org/lkml/2015/10/9/611Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      d1ea7be5
  6. 03 Dec, 2015 1 commit
    • Christoph Hellwig's avatar
      NVMe: fix build with CONFIG_NVM enabled · ac02ddde
      Christoph Hellwig authored
      Looks like I didn't test with CONFIG_NVM enabled, and neither did
      the build bot.
      
      Most of this is really weird crazy shit in the lighnvm support, though.
      
      Struct nvme_ns is a structure for the NVM I/O command set, and it has
      no business poking into it.  Second this commit:
      
      commit 47b3115a
      Author: Wenwei Tao <ww.tao0320@gmail.com>
      Date:   Fri Nov 20 13:47:55 2015 +0100
      
          nvme: lightnvm: use admin queues for admin cmds
      
      Does even more crazy stuff.  If a function gets a request_queue parameter
      passed it'd better use that and not look for another one.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      ac02ddde