diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-11-28 09:21:29 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-11-28 14:10:04 +1100 |
commit | c36c56079abfc5b206ccfa2772dbfdf7246ed221 (patch) | |
tree | 140abea858c29d54231255f4f48d5b306b91e5c1 /include | |
parent | 7fb64303a610d95b946802563b606b19b22705ed (diff) | |
download | skiboot-c36c56079abfc5b206ccfa2772dbfdf7246ed221.zip skiboot-c36c56079abfc5b206ccfa2772dbfdf7246ed221.tar.gz skiboot-c36c56079abfc5b206ccfa2772dbfdf7246ed221.tar.bz2 |
Enable warn_unused_result for fsp_queue_msg()
We now get a bunch of warnings of places where we should go and fix
the code, yay!
(acked in discussing thread on list)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsp.h b/include/fsp.h index b8d4dc6..dccc78c 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -661,7 +661,7 @@ extern void fsp_cancelmsg(struct fsp_msg *msg); * commands to the FSP. */ extern int fsp_queue_msg(struct fsp_msg *msg, - void (*comp)(struct fsp_msg *msg)); + void (*comp)(struct fsp_msg *msg)) __warn_unused_result; /* Synchronously send a command. If there's a response, the status is * returned as a positive number. A negative result means an error |