On Friday 26 February 2016 22:05:09 Lada Trimasova wrote:
>                 for (i = 0; i < len; i++, reg++) {
>                         u32 buf = nps_enet_reg_get(priv, NPS_ENET_REG_RX_BUF);
> +                       buf = be32_to_cpu(buf);
>                         put_unaligned(buf, reg);
>                 }

I think most of the changes can make use of the put_unaligned_be32()
etc helpers that might also be more efficient.

        Arnd

Reply via email to