aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMark Einon <[email protected]>2013-01-22 14:29:47 +0000
committerGreg Kroah-Hartman <[email protected]>2013-01-22 08:58:44 -0800
commitc8b0a484ccf408cafa9e2ec6a2fad6701c8deec4 (patch)
treee05d005d84f92c2fbe179bf2e1bb0883f80ca21e /tools/perf/scripts/python/net_dropmonitor.py
parentc095454e4b6acc8a5e7908647ec60d6088be90c8 (diff)
staging: et131x: Fix endian bugs in et131x_get_regs()
et131x_get_regs() calls et131x_mii_read(), passing the address of a u32 which is cast to a (u16 *). This works fine for little endian systems, but not for big endian. Change so that the types are cast, not pointers to the types. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Mark Einon <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions