diff options
| author | Dan Carpenter <[email protected]> | 2018-10-24 11:32:21 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-24 14:24:28 -0700 |
| commit | cdaa18f9bd98df75d4ce9478f72c0a5d11562249 (patch) | |
| tree | f9e1512da8c18563498a2e7ecf6be537a7afcd7c /tools/perf/util/c++/clang.cpp | |
| parent | db4f1be3ca9b0ef7330763d07bf4ace83ad6f913 (diff) | |
octeontx2-af: Copy the right amount of memory
This is a copy and paste bug where we copied the sizeof() from the chunk
before. We're copying more data than intended but the destination is a
union so it doesn't cause memory corruption.
Fixes: ffb0abd7e9cb ("octeontx2-af: NIX AQ instruction enqueue support")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions