From b93b917a70a6c85bfa2bd3789989b90b2e530abf Mon Sep 17 00:00:00 2001 From: PaulK Date: Tue, 21 Feb 2012 21:12:28 +0100 Subject: rfs.c: return NULL in case of error --- samsung-ipc/rfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3