@@ -298,7 +298,7 @@ recompute_jump(struct alt_instr *a, u8 *orig_insn, u8 *repl_insn, u8 *insnbuf)
298
298
tgt_rip = next_rip + o_dspl ;
299
299
n_dspl = tgt_rip - orig_insn ;
300
300
301
- DPRINTK ("target RIP: %p , new_displ: 0x%x" , tgt_rip , n_dspl );
301
+ DPRINTK ("target RIP: %px , new_displ: 0x%x" , tgt_rip , n_dspl );
302
302
303
303
if (tgt_rip - orig_insn >= 0 ) {
304
304
if (n_dspl - 2 <= 127 )
@@ -355,7 +355,7 @@ static void __init_or_module noinline optimize_nops(struct alt_instr *a, u8 *ins
355
355
add_nops (instr + (a -> instrlen - a -> padlen ), a -> padlen );
356
356
local_irq_restore (flags );
357
357
358
- DUMP_BYTES (instr , a -> instrlen , "%p : [%d:%d) optimized NOPs: " ,
358
+ DUMP_BYTES (instr , a -> instrlen , "%px : [%d:%d) optimized NOPs: " ,
359
359
instr , a -> instrlen - a -> padlen , a -> padlen );
360
360
}
361
361
@@ -376,7 +376,7 @@ void __init_or_module noinline apply_alternatives(struct alt_instr *start,
376
376
u8 * instr , * replacement ;
377
377
u8 insnbuf [MAX_PATCH_LEN ];
378
378
379
- DPRINTK ("alt table %p -> %p " , start , end );
379
+ DPRINTK ("alt table %px, -> %px " , start , end );
380
380
/*
381
381
* The scan order should be from start to end. A later scanned
382
382
* alternative code can overwrite previously scanned alternative code.
@@ -400,14 +400,14 @@ void __init_or_module noinline apply_alternatives(struct alt_instr *start,
400
400
continue ;
401
401
}
402
402
403
- DPRINTK ("feat: %d*32+%d, old: (%p, len: %d), repl: (%p , len: %d), pad: %d" ,
403
+ DPRINTK ("feat: %d*32+%d, old: (%px len: %d), repl: (%px , len: %d), pad: %d" ,
404
404
a -> cpuid >> 5 ,
405
405
a -> cpuid & 0x1f ,
406
406
instr , a -> instrlen ,
407
407
replacement , a -> replacementlen , a -> padlen );
408
408
409
- DUMP_BYTES (instr , a -> instrlen , "%p : old_insn: " , instr );
410
- DUMP_BYTES (replacement , a -> replacementlen , "%p : rpl_insn: " , replacement );
409
+ DUMP_BYTES (instr , a -> instrlen , "%px : old_insn: " , instr );
410
+ DUMP_BYTES (replacement , a -> replacementlen , "%px : rpl_insn: " , replacement );
411
411
412
412
memcpy (insnbuf , replacement , a -> replacementlen );
413
413
insnbuf_sz = a -> replacementlen ;
@@ -433,7 +433,7 @@ void __init_or_module noinline apply_alternatives(struct alt_instr *start,
433
433
a -> instrlen - a -> replacementlen );
434
434
insnbuf_sz += a -> instrlen - a -> replacementlen ;
435
435
}
436
- DUMP_BYTES (insnbuf , insnbuf_sz , "%p : final_insn: " , instr );
436
+ DUMP_BYTES (insnbuf , insnbuf_sz , "%px : final_insn: " , instr );
437
437
438
438
text_poke_early (instr , insnbuf , insnbuf_sz );
439
439
}
0 commit comments