@@ -3370,7 +3370,7 @@ vchiq_dump_shared_state(struct seq_file *f, struct vchiq_state *state,
3370
3370
};
3371
3371
int i ;
3372
3372
3373
- seq_printf (f , " %s: slots %d-%d tx_pos=%x recycle=%x\n" ,
3373
+ seq_printf (f , " %s: slots %d-%d tx_pos=0x %x recycle=0x %x\n" ,
3374
3374
label , shared -> slot_first , shared -> slot_last ,
3375
3375
shared -> tx_pos , shared -> slot_queue_recycle );
3376
3376
@@ -3386,7 +3386,7 @@ vchiq_dump_shared_state(struct seq_file *f, struct vchiq_state *state,
3386
3386
}
3387
3387
3388
3388
for (i = 1 ; i < shared -> debug [DEBUG_ENTRIES ]; i ++ ) {
3389
- seq_printf (f , " DEBUG: %s = %d(%x)\n" ,
3389
+ seq_printf (f , " DEBUG: %s = %d(0x %x)\n" ,
3390
3390
debug_names [i ], shared -> debug [i ], shared -> debug [i ]);
3391
3391
}
3392
3392
}
@@ -3414,7 +3414,7 @@ vchiq_dump_service_state(struct seq_file *f, struct vchiq_service *service)
3414
3414
3415
3415
if (service -> public_fourcc != VCHIQ_FOURCC_INVALID )
3416
3416
scnprintf (remoteport + len2 , sizeof (remoteport ) - len2 ,
3417
- " (client %x)" , service -> client_id );
3417
+ " (client 0x %x)" , service -> client_id );
3418
3418
} else {
3419
3419
strscpy (remoteport , "n/a" , sizeof (remoteport ));
3420
3420
}
@@ -3475,7 +3475,7 @@ void vchiq_dump_state(struct seq_file *f, struct vchiq_state *state)
3475
3475
seq_printf (f , "State %d: %s\n" , state -> id ,
3476
3476
conn_state_names [state -> conn_state ]);
3477
3477
3478
- seq_printf (f , " tx_pos=%x(@%pK), rx_pos=%x(@%pK)\n" ,
3478
+ seq_printf (f , " tx_pos=0x %x(@%pK), rx_pos=0x %x(@%pK)\n" ,
3479
3479
state -> local -> tx_pos ,
3480
3480
state -> tx_data + (state -> local_tx_pos & VCHIQ_SLOT_MASK ),
3481
3481
state -> rx_pos ,
0 commit comments