Re: [PATCH v3 18/20] usb: host: Remove remaining pci_pool in comments
From: Peter Senna Tschudin
Date: Mon Feb 27 2017 - 06:48:30 EST
On Sun, Feb 26, 2017 at 08:24:23PM +0100, Romain Perier wrote:
> This replaces remaining occurences of pci_pool by dma_pool, as
> this is the new API that could be used for that purpose.
>
Reviewed-by: Peter Senna Tschudin <peter.senna@xxxxxxxxxxxxx>
> Signed-off-by: Romain Perier <romain.perier@xxxxxxxxxxxxx>
> ---
> drivers/usb/host/ehci-hcd.c | 2 +-
> drivers/usb/host/fotg210-hcd.c | 2 +-
> drivers/usb/host/oxu210hp-hcd.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index ac2c4ea..6e834b83 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -597,7 +597,7 @@ static int ehci_run (struct usb_hcd *hcd)
> /*
> * hcc_params controls whether ehci->regs->segment must (!!!)
> * be used; it constrains QH/ITD/SITD and QTD locations.
> - * pci_pool consistent memory always uses segment zero.
> + * dma_pool consistent memory always uses segment zero.
> * streaming mappings for I/O buffers, like pci_map_single(),
> * can return segments above 4GB, if the device allows.
> *
> diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
> index 1c5b34b..ced08dc 100644
> --- a/drivers/usb/host/fotg210-hcd.c
> +++ b/drivers/usb/host/fotg210-hcd.c
> @@ -5047,7 +5047,7 @@ static int fotg210_run(struct usb_hcd *hcd)
> /*
> * hcc_params controls whether fotg210->regs->segment must (!!!)
> * be used; it constrains QH/ITD/SITD and QTD locations.
> - * pci_pool consistent memory always uses segment zero.
> + * dma_pool consistent memory always uses segment zero.
> * streaming mappings for I/O buffers, like pci_map_single(),
> * can return segments above 4GB, if the device allows.
> *
> diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c
> index bcf531c..ed20fb3 100644
> --- a/drivers/usb/host/oxu210hp-hcd.c
> +++ b/drivers/usb/host/oxu210hp-hcd.c
> @@ -2708,7 +2708,7 @@ static int oxu_run(struct usb_hcd *hcd)
>
> /* hcc_params controls whether oxu->regs->segment must (!!!)
> * be used; it constrains QH/ITD/SITD and QTD locations.
> - * pci_pool consistent memory always uses segment zero.
> + * dma_pool consistent memory always uses segment zero.
> * streaming mappings for I/O buffers, like pci_map_single(),
> * can return segments above 4GB, if the device allows.
> *
> --
> 2.9.3
>