Merge tag 'libata-5.8-2020-06-19' of git://git.kernel.dk/linux-block
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Jun 2020 20:09:40 +0000 (13:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Jun 2020 20:09:40 +0000 (13:09 -0700)
Pull libata fixes from Jens Axboe:
 "A few minor changes that should go into this release"

* tag 'libata-5.8-2020-06-19' of git://git.kernel.dk/linux-block:
  libata: Use per port sync for detach
  ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
  sata_rcar: handle pm_runtime_get_sync failure cases

1  2 
include/linux/libata.h

diff --combined include/linux/libata.h
@@@ -22,6 -22,7 +22,7 @@@
  #include <linux/acpi.h>
  #include <linux/cdrom.h>
  #include <linux/sched.h>
+ #include <linux/async.h>
  
  /*
   * Define if arch has non-standard setup.  This is a _PCI_ standard
@@@ -609,7 -610,7 +610,7 @@@ struct ata_host 
        struct task_struct      *eh_owner;
  
        struct ata_port         *simplex_claimed;       /* channel owning the DMA */
 -      struct ata_port         *ports[0];
 +      struct ata_port         *ports[];
  };
  
  struct ata_queued_cmd {
@@@ -872,6 -873,8 +873,8 @@@ struct ata_port 
        struct timer_list       fastdrain_timer;
        unsigned long           fastdrain_cnt;
  
+       async_cookie_t          cookie;
        int                     em_message_type;
        void                    *private_data;