1. 26 5月, 2017 1 次提交
  2. 23 5月, 2017 9 次提交
  3. 21 5月, 2017 5 次提交
  4. 10 5月, 2017 1 次提交
  5. 08 5月, 2017 1 次提交
    • G
      lightnvm: remove unused rq parameter of nvme_nvm_rqtocmd() to kill warning · 629b1b2e
      Geert Uytterhoeven 提交于
      With gcc 4.1.2:
      
          drivers/nvme/host/lightnvm.c: In function ‘nvme_nvm_submit_io’:
          drivers/nvme/host/lightnvm.c:498: warning: ‘rq’ is used uninitialized in this function
      
      Indeed, since commit 2e13f33a ("lightnvm: create cmd before
      allocating request"), the request is passed to nvme_nvm_rqtocmd() before
      it is allocated.
      
      Fortunately, as of commit 91276162 ("lightnvm: refactor end_io
      functions for sync"), nvme_nvm_rqtocmd () no longer uses the passed
      request, so this warning is a false positive.
      
      Drop the unused parameter to clean up the code and kill the warning.
      
      Fixes: 2e13f33a ("lightnvm: create cmd before allocating request")
      Fixes: 91276162 ("lightnvm: refactor end_io functions for sync")
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NJens Axboe <axboe@fb.com>
      629b1b2e
  6. 04 5月, 2017 1 次提交
  7. 02 5月, 2017 1 次提交
  8. 27 4月, 2017 1 次提交
  9. 26 4月, 2017 3 次提交
  10. 25 4月, 2017 3 次提交
  11. 24 4月, 2017 9 次提交
  12. 21 4月, 2017 5 次提交