diff options
| author | Will Deacon <[email protected]> | 2013-10-11 13:52:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-11 21:50:59 +0000 |
| commit | e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90 (patch) | |
| tree | 7f07c52efa9d265d81faf0a732778a1597da9f43 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | farsync: fix info leak in ioctl (diff) | |
| download | kernel-e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90.tar.gz kernel-e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90.zip | |
net: smc91x: dont't use SMC_outw for fixing up halfword-aligned data
SMC_outw invokes an endian-aware I/O accessor, which may change the data
endianness before writing to the device. This is not suitable for data
transfers where the memory buffer is simply a string of bytes that does
not require any byte-swapping.
This patches fixes the smc91x SMC_PUSH_DATA macro so that it uses the
string I/O accessor for outputting the leading or trailing halfwords on
halfword-aligned buffers.
Cc: <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
