Statistics
| Branch: | Revision:

root / hw / cadence_gem.c @ a75b3e0f

History | View | Annotate | Download (39.5 kB)

# Date Author Comment
5fbe02e8 06/19/2012 04:24 pm Jim Meyering

cadence_gem: avoid stack-writing buffer-overrun

Use sizeof(rxbuf)-size (not sizeof(rxbuf-size)) as the number
of bytes to clear. The latter would always clear 4 or 8
bytes, possibly writing beyond the end of that stack buffer.
Alternatively, depending on the value of the "size" parameter,...

e9f186e5 03/07/2012 03:20 am Peter A. G. Crosthwaite

cadence_gem: initial version of device model

Device model for cadence gem ethernet controller.

Signed-off-by: Peter A. G. Crosthwaite <>
Signed-off-by: John Linn <>
Acked-by: Edgar E. Iglesias <>...