[Replicant] [libsamsung-ril] [PATCH 2/5] Adjust to libsamsung-ipc ipc_sec_lock_infomation_request_data typo fix

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Jul 6 06:46:55 UTC 2020

In libsamsung-ipc, ipc_sec_lock_infomation_request_data was changed to
ipc_sec_lock_information_request_data as the former seems to be a typo.

This change was made by the following libsamsung-ipc commit:
    b5c3a52 Fix ipc_sec_lock_infomation_request_data typo

As ipc_sec_lock_infomation_request_data was used in libsamsung-ril too, we
need to do the change here too, as otherwise we will end with compilation
errors like that while compiling Replicant 6.0:
    hardware/replicant/libsamsung-ril/sim.c: In function 'ipc_sec_callback':
    hardware/replicant/libsamsung-ril/sim.c:371:46: error: storage size of
    'request_data' isn't known
    struct ipc_sec_lock_infomation_request_data request_data;

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
 sim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sim.c b/sim.c
index e2e4b7b..12c313e 100644
--- a/sim.c
+++ b/sim.c
@@ -368,7 +368,7 @@ complete:
 int ipc_sec_callback(struct ipc_message *message)
-	struct ipc_sec_lock_infomation_request_data request_data;
+	struct ipc_sec_lock_information_request_data request_data;
 	struct ipc_gen_phone_res_data *data;
 	struct ril_request *request = NULL;
 	void *request_complete_data;

More information about the Replicant mailing list