diff options
author | Taras Kondratiuk <[email protected]> | 2014-01-10 01:36:00 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2014-01-11 12:06:59 +0000 |
commit | d6cd989477e2fee29ccda257614ef7b2621d0601 (patch) | |
tree | 7abdd9c40c80eb2b44352d6c7c200e5dad83f26b /net/lapb/lapb_out.c | |
parent | 261521f142fb426b58ed460d2476049dc8fa4fb9 (diff) |
ARM: 7939/1: traps: fix opcode endianness when read from user memory
Currently code has an inverted logic: opcode from user memory
is swapped to a proper endianness only in case of read error.
While normally opcode should be swapped only if it was read
correctly from user memory.
Reviewed-by: Victor Kamensky <[email protected]>
Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Taras Kondratiuk <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions