Re: [PATCH 2.6.13] libata: Marvell SATA support (PIO mode)

From: Ray Lee
Date: Fri Sep 02 2005 - 12:55:35 EST


On 9/1/05, Brett Russ <russb@xxxxxxx> wrote:
> More (non-functional) style modifications since the version 0.11
> driver I sent out earlier today. Removed most parens around return
> value,

return is not a function call; you can safely remove them all.

> + return ((void __iomem *)((unsigned long)port_mmio &
> + (unsigned long)SATAHC_MASK));
> + return (base + MV_SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ));
> + return (mv_hc_base(base, port >> MV_PORT_HC_SHIFT) +
> + MV_SATAHC_ARBTR_REG_SZ +
> + ((port & MV_PORT_MASK) * MV_PORT_REG_SZ));
> + return ((flags & MV_FLAG_DUAL_HC) ? 2 : 1);
> + return (EDMA_EN & readl(port_mmio + EDMA_CMD_OFS));
> + return (ap->flags & MV_FLAG_BDMA);

Ray
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/