aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/ds_selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds_selftest.c b/arch/x86/kernel/ds_selftest.c
index e5a263c8a14c..e1ba5101b576 100644
--- a/arch/x86/kernel/ds_selftest.c
+++ b/arch/x86/kernel/ds_selftest.c
@@ -87,7 +87,7 @@ static int ds_selftest_bts_read(struct bts_tracer *tracer,
87 /* Now to the test itself. */ 87 /* Now to the test itself. */
88 for (at = from; (void *)at < to; at += trace->ds.size) { 88 for (at = from; (void *)at < to; at += trace->ds.size) {
89 struct bts_struct bts; 89 struct bts_struct bts;
90 size_t index; 90 unsigned long index;
91 int error; 91 int error;
92 92
93 if (((void *)at - trace->ds.begin) % trace->ds.size) { 93 if (((void *)at - trace->ds.begin) % trace->ds.size) {