summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.c
diff options
context:
space:
mode:
authorBill Pemberton2015-01-16 03:18:27 +0100
committerGreg Kroah-Hartman2015-01-16 20:06:19 +0100
commit9d677cf604212313f41097e2f542e1923d717086 (patch)
treec43be2d38e668c87be72df7a6d5fc89b6e28d6c7 /drivers/staging/greybus/operation.c
parentgreybus: gb-vibrator: remove useless if in timeout_store() (diff)
downloadkernel-qcow2-linux-9d677cf604212313f41097e2f542e1923d717086.tar.gz
kernel-qcow2-linux-9d677cf604212313f41097e2f542e1923d717086.tar.xz
kernel-qcow2-linux-9d677cf604212313f41097e2f542e1923d717086.zip
greybus: Add FIXME warnings for possible NULL dereferences
Signed-off-by: Bill Pemberton <wfp5p@worldbroken.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
-rw-r--r--drivers/staging/greybus/operation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/operation.c b/drivers/staging/greybus/operation.c
index 44cfd5057e71..f014906c0259 100644
--- a/drivers/staging/greybus/operation.c
+++ b/drivers/staging/greybus/operation.c
@@ -742,6 +742,7 @@ int gb_operation_response_send(struct gb_operation *operation, int errno)
}
}
+ /* FIXME operation->response could still be NULL here */
/* Fill in the response header and send it */
operation->response->header->result = gb_operation_errno_map(errno);