lkml.org 
[lkml]   [2005]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2.6.13] libata: Marvell SATA support (PIO mode)
    On 9/1/05, Brett Russ <russb@emc.com> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-09-02 19:57    [W:0.021 / U:308.520 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site