[Replicant] [libsamsung-ril] [PATCH 1/5] Adjust to libsamsung-ipc IPC_SEC_LOCK_INFOMATION typo fix
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Mon Jul 6 06:46:54 UTC 2020
In libsamsung-ipc, IPC_SEC_LOCK_INFOMATION was changed to
IPC_SEC_LOCK_INFORMATION as the former seems to be a typo.
This change was made by the following libsamsung-ipc commit:
8bd15e4e5bae4ffd6a164e7db719ebb308a9db60
8bd15e4 Fix IPC_SEC_LOCK_INFOMATION typo
As IPC_SEC_LOCK_INFOMATION 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:
target thumb C: libsamsung-ril <= hardware/replicant/libsamsung-ril/samsung-ril.c
hardware/replicant/libsamsung-ril/samsung-ril.c:124:14:
error: 'IPC_SEC_LOCK_INFOMATION' undeclared here (not in a function)
.command = IPC_SEC_LOCK_INFOMATION,
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
samsung-ril.c | 2 +-
sim.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/samsung-ril.c b/samsung-ril.c
index 84e3074..41f9ff0 100644
--- a/samsung-ril.c
+++ b/samsung-ril.c
@@ -121,7 +121,7 @@ struct ipc_dispatch_handler ipc_fmt_dispatch_handlers[] = {
.handler = ipc_sec_sim_icc_type,
},
{
- .command = IPC_SEC_LOCK_INFOMATION,
+ .command = IPC_SEC_LOCK_INFORMATION,
.handler = ipc_sec_lock_infomation,
},
/* Network */
diff --git a/sim.c b/sim.c
index 8b89eef..e2e4b7b 100644
--- a/sim.c
+++ b/sim.c
@@ -398,7 +398,7 @@ int ipc_sec_callback(struct ipc_message *message)
goto error;
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;
@@ -414,7 +414,7 @@ int ipc_sec_callback(struct ipc_message *message)
goto error;
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;
@@ -464,7 +464,7 @@ int ipc_sec_callback(struct ipc_message *message)
}
}
- rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFOMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
+ rc = ipc_fmt_send(message->aseq, IPC_SEC_LOCK_INFORMATION, IPC_TYPE_GET, (void *) &request_data, sizeof(request_data));
if (rc < 0) {
ril_request_data_free(request->request);
goto error;
--
2.27.0
More information about the Replicant
mailing list