Re: [PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range

From: David Miller
Date: Tue Oct 13 2015 - 07:14:20 EST


From: Gerlando Falauto <gerlando.falauto@xxxxxxxxxxx>
Date: Mon, 12 Oct 2015 09:18:40 +0200

> When configuring the MDIO subsystem it is also necessary to configure
> the TBI register. Make sure the TBI is contained within the mapped
> register range in order to:
> a) make sure the address is computed correctly
> b) make users aware that we're actually accessing that register
>
> In case of error, print a message but continue anyway.
>
> Signed-off-by: Gerlando Falauto <gerlando.falauto@xxxxxxxxxxx>
> Cc: Timur Tabi <timur@xxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Cc: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
> ---
> Changes from v1:
> - Added type cast & fixed range
> - removed freescale recipients

Applied.
--
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/