]>
Commit | Line | Data |
---|---|---|
4e16c79d JB |
1 | --- grpc-1.50.2/src/core/ext/transport/binder/transport/binder_transport.cc.orig 2023-02-15 01:23:37.000000000 +0100 |
2 | +++ grpc-1.50.2/src/core/ext/transport/binder/transport/binder_transport.cc 2023-04-06 17:07:42.199546237 +0200 | |
3 | @@ -129,7 +129,7 @@ static void set_pollset(grpc_transport* | |
4 | } | |
5 | ||
6 | static void set_pollset_set(grpc_transport*, grpc_stream*, grpc_pollset_set*) { | |
7 | - gpr_log(GPR_INFO, __func__); | |
8 | + gpr_log(GPR_INFO, "%s", __func__); | |
9 | } | |
10 | ||
11 | static void AssignMetadata(grpc_metadata_batch* mb, | |
12 | @@ -621,7 +621,7 @@ static void perform_transport_op_locked( | |
13 | } | |
14 | ||
15 | static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) { | |
16 | - gpr_log(GPR_INFO, __func__); | |
17 | + gpr_log(GPR_INFO, "%s", __func__); | |
18 | grpc_binder_transport* gbt = reinterpret_cast<grpc_binder_transport*>(gt); | |
19 | op->handler_private.extra_arg = gbt; | |
20 | GRPC_BINDER_REF_TRANSPORT(gbt, "perform_transport_op"); | |
21 | @@ -643,7 +643,7 @@ static void destroy_stream_locked(void* | |
22 | ||
23 | static void destroy_stream(grpc_transport* /*gt*/, grpc_stream* gs, | |
24 | grpc_closure* then_schedule_closure) { | |
25 | - gpr_log(GPR_INFO, __func__); | |
26 | + gpr_log(GPR_INFO, "%s", __func__); | |
27 | grpc_binder_stream* gbs = reinterpret_cast<grpc_binder_stream*>(gs); | |
28 | gbs->destroy_stream_then_closure = then_schedule_closure; | |
29 | gbs->t->combiner->Run(GRPC_CLOSURE_INIT(&gbs->destroy_stream, | |
30 | @@ -662,7 +662,7 @@ static void destroy_transport_locked(voi | |
31 | } | |
32 | ||
33 | static void destroy_transport(grpc_transport* gt) { | |
34 | - gpr_log(GPR_INFO, __func__); | |
35 | + gpr_log(GPR_INFO, "%s", __func__); | |
36 | grpc_binder_transport* gbt = reinterpret_cast<grpc_binder_transport*>(gt); | |
37 | gbt->combiner->Run( | |
38 | GRPC_CLOSURE_CREATE(destroy_transport_locked, gbt, nullptr), | |
39 | @@ -670,7 +670,7 @@ static void destroy_transport(grpc_trans | |
40 | } | |
41 | ||
42 | static grpc_endpoint* get_endpoint(grpc_transport*) { | |
43 | - gpr_log(GPR_INFO, __func__); | |
44 | + gpr_log(GPR_INFO, "%s", __func__); | |
45 | return nullptr; | |
46 | } | |
47 | ||
48 | @@ -706,7 +706,7 @@ grpc_binder_transport::grpc_binder_trans | |
49 | is_client ? "binder_transport_client" : "binder_transport_server", | |
50 | GRPC_CHANNEL_READY), | |
51 | refs(1, nullptr) { | |
52 | - gpr_log(GPR_INFO, __func__); | |
53 | + gpr_log(GPR_INFO, "%s", __func__); | |
54 | base.vtable = get_vtable(); | |
55 | transport_stream_receiver = | |
56 | std::make_shared<grpc_binder::TransportStreamReceiverImpl>( | |
57 | @@ -736,7 +736,7 @@ grpc_transport* grpc_create_binder_trans | |
58 | std::unique_ptr<grpc_binder::Binder> endpoint_binder, | |
59 | std::shared_ptr<grpc::experimental::binder::SecurityPolicy> | |
60 | security_policy) { | |
61 | - gpr_log(GPR_INFO, __func__); | |
62 | + gpr_log(GPR_INFO, "%s", __func__); | |
63 | ||
64 | GPR_ASSERT(endpoint_binder != nullptr); | |
65 | GPR_ASSERT(security_policy != nullptr); | |
66 | @@ -751,7 +751,7 @@ grpc_transport* grpc_create_binder_trans | |
67 | std::unique_ptr<grpc_binder::Binder> client_binder, | |
68 | std::shared_ptr<grpc::experimental::binder::SecurityPolicy> | |
69 | security_policy) { | |
70 | - gpr_log(GPR_INFO, __func__); | |
71 | + gpr_log(GPR_INFO, "%s", __func__); | |
72 | ||
73 | GPR_ASSERT(client_binder != nullptr); | |
74 | GPR_ASSERT(security_policy != nullptr); |