diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2019-11-28 15:55:51 +0100 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2019-12-09 13:58:57 -0600 |
commit | 148587a59f6b85831695e0497d9dd1af5f0495af (patch) | |
tree | ffad6b87eaff0d953c74a1fee560159644712e16 /drivers/net/ethernet/freescale/Kconfig | |
parent | 49b865b332a610f2a9d098eaad4b418f2a09ddd4 (diff) |
net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
Qiang Zhao points out that these offsets get written to 16-bit
registers, and there are some QE platforms with more than 64K
muram. So it is possible that qe_muram_alloc() gives us an allocation
that can't actually be used by the hardware, so detect and reject
that.
Reported-by: Qiang Zhao <qiang.zhao@nxp.com>
Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/Kconfig')
0 files changed, 0 insertions, 0 deletions