@@ -935,7 +935,8 @@ static uint8_t mcs_notify_handler(struct bt_conn *conn,
935
935
936
936
mcs_inst = lookup_inst_by_conn (conn );
937
937
if (mcs_inst == NULL ) {
938
- BT_DBG ("Could not find MCS instance from conn %p" , conn );
938
+ BT_DBG ("Could not find MCS instance from conn %p" ,
939
+ (void * )conn );
939
940
940
941
return BT_GATT_ITER_CONTINUE ;
941
942
}
@@ -1791,7 +1792,7 @@ int bt_mcc_read_player_name(struct bt_conn *conn)
1791
1792
1792
1793
mcs_inst = lookup_inst_by_conn (conn );
1793
1794
if (mcs_inst == NULL ) {
1794
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1795
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1795
1796
1796
1797
return - EINVAL ;
1797
1798
} else if (mcs_inst -> busy ) {
@@ -1831,7 +1832,7 @@ int bt_mcc_read_icon_obj_id(struct bt_conn *conn)
1831
1832
1832
1833
mcs_inst = lookup_inst_by_conn (conn );
1833
1834
if (mcs_inst == NULL ) {
1834
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1835
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1835
1836
1836
1837
return - EINVAL ;
1837
1838
} else if (mcs_inst -> busy ) {
@@ -1870,7 +1871,7 @@ int bt_mcc_read_icon_url(struct bt_conn *conn)
1870
1871
1871
1872
mcs_inst = lookup_inst_by_conn (conn );
1872
1873
if (mcs_inst == NULL ) {
1873
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1874
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1874
1875
1875
1876
return - EINVAL ;
1876
1877
} else if (mcs_inst -> busy ) {
@@ -1908,7 +1909,7 @@ int bt_mcc_read_track_title(struct bt_conn *conn)
1908
1909
1909
1910
mcs_inst = lookup_inst_by_conn (conn );
1910
1911
if (mcs_inst == NULL ) {
1911
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1912
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1912
1913
1913
1914
return - EINVAL ;
1914
1915
} else if (mcs_inst -> busy ) {
@@ -1946,7 +1947,7 @@ int bt_mcc_read_track_duration(struct bt_conn *conn)
1946
1947
1947
1948
mcs_inst = lookup_inst_by_conn (conn );
1948
1949
if (mcs_inst == NULL ) {
1949
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1950
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1950
1951
1951
1952
return - EINVAL ;
1952
1953
} else if (mcs_inst -> busy ) {
@@ -1984,7 +1985,7 @@ int bt_mcc_read_track_position(struct bt_conn *conn)
1984
1985
1985
1986
mcs_inst = lookup_inst_by_conn (conn );
1986
1987
if (mcs_inst == NULL ) {
1987
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
1988
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
1988
1989
1989
1990
return - EINVAL ;
1990
1991
} else if (mcs_inst -> busy ) {
@@ -2022,7 +2023,7 @@ int bt_mcc_set_track_position(struct bt_conn *conn, int32_t pos)
2022
2023
2023
2024
mcs_inst = lookup_inst_by_conn (conn );
2024
2025
if (mcs_inst == NULL ) {
2025
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2026
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2026
2027
2027
2028
return - EINVAL ;
2028
2029
} else if (mcs_inst -> busy ) {
@@ -2065,7 +2066,7 @@ int bt_mcc_read_playback_speed(struct bt_conn *conn)
2065
2066
2066
2067
mcs_inst = lookup_inst_by_conn (conn );
2067
2068
if (mcs_inst == NULL ) {
2068
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2069
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2069
2070
2070
2071
return - EINVAL ;
2071
2072
} else if (mcs_inst -> busy ) {
@@ -2103,7 +2104,7 @@ int bt_mcc_set_playback_speed(struct bt_conn *conn, int8_t speed)
2103
2104
2104
2105
mcs_inst = lookup_inst_by_conn (conn );
2105
2106
if (mcs_inst == NULL ) {
2106
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2107
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2107
2108
2108
2109
return - EINVAL ;
2109
2110
} else if (mcs_inst -> busy ) {
@@ -2146,7 +2147,7 @@ int bt_mcc_read_seeking_speed(struct bt_conn *conn)
2146
2147
2147
2148
mcs_inst = lookup_inst_by_conn (conn );
2148
2149
if (mcs_inst == NULL ) {
2149
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2150
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2150
2151
2151
2152
return - EINVAL ;
2152
2153
} else if (mcs_inst -> busy ) {
@@ -2185,7 +2186,7 @@ int bt_mcc_read_segments_obj_id(struct bt_conn *conn)
2185
2186
2186
2187
mcs_inst = lookup_inst_by_conn (conn );
2187
2188
if (mcs_inst == NULL ) {
2188
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2189
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2189
2190
2190
2191
return - EINVAL ;
2191
2192
} else if (mcs_inst -> busy ) {
@@ -2223,7 +2224,7 @@ int bt_mcc_read_current_track_obj_id(struct bt_conn *conn)
2223
2224
2224
2225
mcs_inst = lookup_inst_by_conn (conn );
2225
2226
if (mcs_inst == NULL ) {
2226
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2227
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2227
2228
2228
2229
return - EINVAL ;
2229
2230
} else if (mcs_inst -> busy ) {
@@ -2266,7 +2267,7 @@ int bt_mcc_set_current_track_obj_id(struct bt_conn *conn, uint64_t obj_id)
2266
2267
2267
2268
mcs_inst = lookup_inst_by_conn (conn );
2268
2269
if (mcs_inst == NULL ) {
2269
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2270
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2270
2271
2271
2272
return - EINVAL ;
2272
2273
} else if (mcs_inst -> busy ) {
@@ -2308,7 +2309,7 @@ int bt_mcc_read_next_track_obj_id(struct bt_conn *conn)
2308
2309
2309
2310
mcs_inst = lookup_inst_by_conn (conn );
2310
2311
if (mcs_inst == NULL ) {
2311
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2312
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2312
2313
2313
2314
return - EINVAL ;
2314
2315
} else if (mcs_inst -> busy ) {
@@ -2351,7 +2352,7 @@ int bt_mcc_set_next_track_obj_id(struct bt_conn *conn, uint64_t obj_id)
2351
2352
2352
2353
mcs_inst = lookup_inst_by_conn (conn );
2353
2354
if (mcs_inst == NULL ) {
2354
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2355
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2355
2356
2356
2357
return - EINVAL ;
2357
2358
} else if (mcs_inst -> busy ) {
@@ -2393,7 +2394,7 @@ int bt_mcc_read_parent_group_obj_id(struct bt_conn *conn)
2393
2394
2394
2395
mcs_inst = lookup_inst_by_conn (conn );
2395
2396
if (mcs_inst == NULL ) {
2396
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2397
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2397
2398
2398
2399
return - EINVAL ;
2399
2400
} else if (mcs_inst -> busy ) {
@@ -2431,7 +2432,7 @@ int bt_mcc_read_current_group_obj_id(struct bt_conn *conn)
2431
2432
2432
2433
mcs_inst = lookup_inst_by_conn (conn );
2433
2434
if (mcs_inst == NULL ) {
2434
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2435
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2435
2436
2436
2437
return - EINVAL ;
2437
2438
} else if (mcs_inst -> busy ) {
@@ -2474,7 +2475,7 @@ int bt_mcc_set_current_group_obj_id(struct bt_conn *conn, uint64_t obj_id)
2474
2475
2475
2476
mcs_inst = lookup_inst_by_conn (conn );
2476
2477
if (mcs_inst == NULL ) {
2477
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2478
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2478
2479
2479
2480
return - EINVAL ;
2480
2481
} else if (mcs_inst -> busy ) {
@@ -2517,7 +2518,7 @@ int bt_mcc_read_playing_order(struct bt_conn *conn)
2517
2518
2518
2519
mcs_inst = lookup_inst_by_conn (conn );
2519
2520
if (mcs_inst == NULL ) {
2520
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2521
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2521
2522
2522
2523
return - EINVAL ;
2523
2524
} else if (mcs_inst -> busy ) {
@@ -2555,7 +2556,7 @@ int bt_mcc_set_playing_order(struct bt_conn *conn, uint8_t order)
2555
2556
2556
2557
mcs_inst = lookup_inst_by_conn (conn );
2557
2558
if (mcs_inst == NULL ) {
2558
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2559
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2559
2560
2560
2561
return - EINVAL ;
2561
2562
} else if (mcs_inst -> busy ) {
@@ -2598,7 +2599,7 @@ int bt_mcc_read_playing_orders_supported(struct bt_conn *conn)
2598
2599
2599
2600
mcs_inst = lookup_inst_by_conn (conn );
2600
2601
if (mcs_inst == NULL ) {
2601
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2602
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2602
2603
2603
2604
return - EINVAL ;
2604
2605
} else if (mcs_inst -> busy ) {
@@ -2636,7 +2637,7 @@ int bt_mcc_read_media_state(struct bt_conn *conn)
2636
2637
2637
2638
mcs_inst = lookup_inst_by_conn (conn );
2638
2639
if (mcs_inst == NULL ) {
2639
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2640
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2640
2641
2641
2642
return - EINVAL ;
2642
2643
} else if (mcs_inst -> busy ) {
@@ -2675,7 +2676,7 @@ int bt_mcc_send_cmd(struct bt_conn *conn, const struct mpl_cmd *cmd)
2675
2676
2676
2677
mcs_inst = lookup_inst_by_conn (conn );
2677
2678
if (mcs_inst == NULL ) {
2678
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2679
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2679
2680
2680
2681
return - EINVAL ;
2681
2682
} else if (mcs_inst -> busy ) {
@@ -2724,7 +2725,7 @@ int bt_mcc_read_opcodes_supported(struct bt_conn *conn)
2724
2725
2725
2726
mcs_inst = lookup_inst_by_conn (conn );
2726
2727
if (mcs_inst == NULL ) {
2727
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2728
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2728
2729
2729
2730
return - EINVAL ;
2730
2731
} else if (mcs_inst -> busy ) {
@@ -2763,7 +2764,7 @@ int bt_mcc_send_search(struct bt_conn *conn, const struct mpl_search *search)
2763
2764
2764
2765
mcs_inst = lookup_inst_by_conn (conn );
2765
2766
if (mcs_inst == NULL ) {
2766
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2767
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2767
2768
2768
2769
return - EINVAL ;
2769
2770
} else if (mcs_inst -> busy ) {
@@ -2806,7 +2807,7 @@ int bt_mcc_read_search_results_obj_id(struct bt_conn *conn)
2806
2807
2807
2808
mcs_inst = lookup_inst_by_conn (conn );
2808
2809
if (mcs_inst == NULL ) {
2809
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2810
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2810
2811
2811
2812
return - EINVAL ;
2812
2813
} else if (mcs_inst -> busy ) {
@@ -2845,7 +2846,7 @@ int bt_mcc_read_content_control_id(struct bt_conn *conn)
2845
2846
2846
2847
mcs_inst = lookup_inst_by_conn (conn );
2847
2848
if (mcs_inst == NULL ) {
2848
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
2849
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
2849
2850
2850
2851
return - EINVAL ;
2851
2852
} else if (mcs_inst -> busy ) {
@@ -3234,7 +3235,7 @@ int bt_mcc_otc_read_object_metadata(struct bt_conn *conn)
3234
3235
3235
3236
mcs_inst = lookup_inst_by_conn (conn );
3236
3237
if (mcs_inst == NULL ) {
3237
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3238
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3238
3239
3239
3240
return - EINVAL ;
3240
3241
} else if (mcs_inst -> busy ) {
@@ -3266,7 +3267,7 @@ int bt_mcc_otc_read_icon_object(struct bt_conn *conn)
3266
3267
3267
3268
mcs_inst = lookup_inst_by_conn (conn );
3268
3269
if (mcs_inst == NULL ) {
3269
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3270
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3270
3271
3271
3272
return - EINVAL ;
3272
3273
} else if (mcs_inst -> busy ) {
@@ -3298,7 +3299,7 @@ int bt_mcc_otc_read_track_segments_object(struct bt_conn *conn)
3298
3299
3299
3300
mcs_inst = lookup_inst_by_conn (conn );
3300
3301
if (mcs_inst == NULL ) {
3301
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3302
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3302
3303
3303
3304
return - EINVAL ;
3304
3305
} else if (mcs_inst -> busy ) {
@@ -3331,7 +3332,7 @@ int bt_mcc_otc_read_current_track_object(struct bt_conn *conn)
3331
3332
3332
3333
mcs_inst = lookup_inst_by_conn (conn );
3333
3334
if (mcs_inst == NULL ) {
3334
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3335
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3335
3336
3336
3337
return - EINVAL ;
3337
3338
} else if (mcs_inst -> busy ) {
@@ -3364,7 +3365,7 @@ int bt_mcc_otc_read_next_track_object(struct bt_conn *conn)
3364
3365
3365
3366
mcs_inst = lookup_inst_by_conn (conn );
3366
3367
if (mcs_inst == NULL ) {
3367
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3368
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3368
3369
3369
3370
return - EINVAL ;
3370
3371
} else if (mcs_inst -> busy ) {
@@ -3397,7 +3398,7 @@ int bt_mcc_otc_read_parent_group_object(struct bt_conn *conn)
3397
3398
3398
3399
mcs_inst = lookup_inst_by_conn (conn );
3399
3400
if (mcs_inst == NULL ) {
3400
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3401
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3401
3402
3402
3403
return - EINVAL ;
3403
3404
} else if (mcs_inst -> busy ) {
@@ -3432,7 +3433,7 @@ int bt_mcc_otc_read_current_group_object(struct bt_conn *conn)
3432
3433
3433
3434
mcs_inst = lookup_inst_by_conn (conn );
3434
3435
if (mcs_inst == NULL ) {
3435
- BT_DBG ("Could not lookup mcs_inst from conn %p" , conn );
3436
+ BT_DBG ("Could not lookup mcs_inst from conn %p" , ( void * ) conn );
3436
3437
3437
3438
return - EINVAL ;
3438
3439
} else if (mcs_inst -> busy ) {
0 commit comments