@@ -771,7 +771,7 @@ print_packet(uint32_t *data, size_t length)
771
771
if (pp -> phy_config .set_root )
772
772
printf (" set_root_id=%02x" , pp -> phy_config .root_id );
773
773
if (pp -> phy_config .set_gap_count )
774
- printf (" set_gap_count=%d " , pp -> phy_config .gap_count );
774
+ printf (" set_gap_count=%u " , pp -> phy_config .gap_count );
775
775
}
776
776
break ;
777
777
@@ -781,13 +781,13 @@ print_packet(uint32_t *data, size_t length)
781
781
782
782
case PHY_PACKET_SELF_ID :
783
783
if (pp -> self_id .extended ) {
784
- printf ("extended self id: phy_id=%02x, seq=%d " ,
784
+ printf ("extended self id: phy_id=%02x, seq=%u " ,
785
785
pp -> ext_self_id .phy_id , pp -> ext_self_id .sequence );
786
786
} else {
787
787
static const char * const speed_names [] = {
788
788
"S100" , "S200" , "S400" , "BETA"
789
789
};
790
- printf ("self id: phy_id=%02x, link %s, gap_count=%d, speed=%s%s%s" ,
790
+ printf ("self id: phy_id=%02x, link %s, gap_count=%u speed=%s%s%s" ,
791
791
pp -> self_id .phy_id ,
792
792
(pp -> self_id .link_active ? "active" : "not active" ),
793
793
pp -> self_id .gap_count ,
0 commit comments