Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1245601

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range
Date 2015-10-13 13:20 +0200
Message-ID <qj5MC-4UT-29@gated-at.bofh.it> (permalink)
References <ljSEV-7Ke-13@gated-at.bofh.it> <qiFIu-pP-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Gerlando Falauto <gerlando.falauto@keymile.com>
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@keymile.com>
> Cc: Timur Tabi <timur@tabi.org>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Kumar Gala <galak@kernel.crashing.org>
> ---
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range Gerlando Falauto <gerlando.falauto@keymile.com> - 2015-10-12 09:30 +0200
  Re: [PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for  consistency with mapped range David Miller <davem@davemloft.net> - 2015-10-13 13:20 +0200

csiph-web