Thread (87 messages) 87 messages, 7 authors, 2022-06-01

Re: [PATCH v3 16/23] ata: ahci: Convert __ahci_port_base to accepting hpriv as arguments

From: Hannes Reinecke <hare@suse.de>
Date: 2022-05-12 07:08:47
Also in: linux-ide, lkml

On 5/12/22 01:18, Serge Semin wrote:
It may get required to retrieve the port-base address even before the
ata_host instance is initialized and activated, for instance in the
ahci_save_initial_config() method which we about to update (consider this
modification as a preparation for that one). Seeing the __ahci_port_base()
function isn't used much it's the best candidate to provide the required
functionality. So let's convert it to accepting the ahci_host_priv
structure pointer.

Signed-off-by: Serge Semin <redacted>
---
  drivers/ata/ahci.c | 2 +-
  drivers/ata/ahci.h | 7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare@suse.de			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help