On Fri, Feb 26, 2021 at 3:30 PM Arnd Bergmann wrote:
>
> On Fri, Feb 26, 2021 at 3:03 PM Nicolas Saenz Julienne
> wrote:
>
> > unsigned long flags;
> > - spin_lock_irqsave(>hba_lock, flags);
> > - writel(le32_to_cpu(req_desc->u.low),
> > -
On Fri, Feb 26, 2021 at 3:03 PM Nicolas Saenz Julienne
wrote:
> unsigned long flags;
> - spin_lock_irqsave(>hba_lock, flags);
> - writel(le32_to_cpu(req_desc->u.low),
> - >reg_set->inbound_low_queue_port);
> - writel(le32_to_cpu(req_desc->u.high),
> -
Instead of relying on defines use dev_64bit_mmio_supported(), which
provides the same functionality. On top of that convert the
implementation to lo_hi_writeq(), for a cleaner end result.
Signed-off-by: Nicolas Saenz Julienne
---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 23
3 matches
Mail list logo