1. 21 Oct, 2021 2 commits
    • Ye Guojin's avatar
      block: aoe: fixup coccinelle warnings · ff06ed7e
      Ye Guojin authored
      coccicheck complains about the use of snprintf() in sysfs show
      functions:
      WARNING  use scnprintf or sprintf
      
      Use sysfs_emit instead of scnprintf or sprintf makes more sense.
      Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
      Signed-off-by: default avatarYe Guojin <ye.guojin@zte.com.cn>
      Link: https://lore.kernel.org/r/20211021064931.1047687-1-ye.guojin@zte.com.cnSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      ff06ed7e
    • Jens Axboe's avatar
      Merge tag 'nvme-5.16-2021-10-21' of git://git.infradead.org/nvme into for-5.16/drivers · cbab6ae0
      Jens Axboe authored
      Pull NVMe updates from Christoph:
      
      "nvme updates for Linux 5.16
      
       - fix a multipath partition scanning deadlock (Hannes Reinecke)
       - generate uevent once a multipath namespace is operational again
         (Hannes Reinecke)
       - support unique discovery controller NQNs (Hannes Reinecke)
       - fix use-after-free when a port is removed (Israel Rukshin)
       - clear shadow doorbell memory on resets (Keith Busch)
       - use struct_size (Len Baker)
       - add error handling support for add_disk (Luis Chamberlain)
       - limit the maximal queue size for RDMA controllers (Max Gurtovoy)
       - use a few more symbolic names (Max Gurtovoy)
       - fix error code in nvme_rdma_setup_ctrl (Max Gurtovoy)
       - add support for ->map_queues on FC (Saurav Kashyap)"
      
      * tag 'nvme-5.16-2021-10-21' of git://git.infradead.org/nvme: (23 commits)
        nvmet: use struct_size over open coded arithmetic
        nvme: drop scan_lock and always kick requeue list when removing namespaces
        nvme-pci: clear shadow doorbell memory on resets
        nvme-rdma: fix error code in nvme_rdma_setup_ctrl
        nvme-multipath: add error handling support for add_disk()
        nvmet: use macro definitions for setting cmic value
        nvmet: use macro definition for setting nmic value
        nvme: display correct subsystem NQN
        nvme: Add connect option 'discovery'
        nvme: expose subsystem type in sysfs attribute 'subsystype'
        nvmet: set 'CNTRLTYPE' in the identify controller data
        nvmet: add nvmet_is_disc_subsys() helper
        nvme: add CNTRLTYPE definitions for 'identify controller'
        nvmet: make discovery NQN configurable
        nvmet-rdma: implement get_max_queue_size controller op
        nvmet: add get_max_queue_size op for controllers
        nvme-rdma: limit the maximal queue size for RDMA controllers
        nvmet-tcp: fix use-after-free when a port is removed
        nvmet-rdma: fix use-after-free when a port is removed
        nvmet: fix use-after-free when a port is removed
        ...
      cbab6ae0
  2. 20 Oct, 2021 38 commits