aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/rfs.c
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-02-21 21:12:28 +0100
committerPaulK <contact@paulk.fr>2012-02-01 04:48:17 +0100
commitb93b917a70a6c85bfa2bd3789989b90b2e530abf (patch)
treebdb8040d6bcc21365faf95db5ba5f0ba3f2ec911 /samsung-ipc/rfs.c
parent9b827bdb9c147c77c0d32cd3f4c41768818d8eaa (diff)
downloadexternal_libsamsung-ipc-b93b917a70a6c85bfa2bd3789989b90b2e530abf.zip
external_libsamsung-ipc-b93b917a70a6c85bfa2bd3789989b90b2e530abf.tar.gz
external_libsamsung-ipc-b93b917a70a6c85bfa2bd3789989b90b2e530abf.tar.bz2
rfs.c: return NULL in case of error
Diffstat (limited to 'samsung-ipc/rfs.c')
-rw-r--r--samsung-ipc/rfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/rfs.c b/samsung-ipc/rfs.c
index b4804a0..52e6a57 100644
--- a/samsung-ipc/rfs.c
+++ b/samsung-ipc/rfs.c
@@ -660,7 +660,7 @@ void ipc_rfs_send_io_confirm_for_nv_write_item(struct ipc_client *client, struct
if (rfs_io == NULL)
{
ipc_client_log(client, "ERROR: Request message is invalid: aseq = %i", info->aseq);
- return;
+ return NULL;
}
rfs_data = info->data + sizeof(struct ipc_rfs_io);