intel_th: msu: Fix offset for wrapped block
authorLaurent FERT <laurent.fert@intel.com>
Mon, 15 Feb 2016 17:11:56 +0000 (19:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:09:14 +0000 (14:09 -0800)
commite4eca2a1c71fda33cd8b5aacc7744176e440f80d
treeac97f9ccb2a0b3f8740da512ab571372fa3c6044
parent4d02ceff32f35f3ea745be6114503c2d2505da99
intel_th: msu: Fix offset for wrapped block

Fix offset for the second pass on the wrapped block when iterating over
memory in multi-block mode, otherwise wrong part of the block will get
copied.

Signed-off-by: Laurent FERT <laurent.fert@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/intel_th/msu.c