aboutsummaryrefslogtreecommitdiff
path: root/include/fsp.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2014-12-09 21:52:45 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-10 11:50:33 +1100
commit1e15e9979e29572e84b11f38ad2bec0c1171a712 (patch)
tree1fa438d1a6a0e08314647f97a1d9f7e743bc5222 /include/fsp.h
parentbb2d7bf409e9ebaac2ee8e7742d1c78a356de46c (diff)
downloadskiboot-1e15e9979e29572e84b11f38ad2bec0c1171a712.zip
skiboot-1e15e9979e29572e84b11f38ad2bec0c1171a712.tar.gz
skiboot-1e15e9979e29572e84b11f38ad2bec0c1171a712.tar.bz2
Enable warn_unused_result for fsp_fetch_data_queue()
fsp_fetch_data_queue() internally calls fsp_queue_msg(). So ideally we should consume the result of this function. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r--include/fsp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsp.h b/include/fsp.h
index dccc78c..ead1680 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -708,7 +708,7 @@ extern int fsp_fetch_data(uint8_t flags, uint16_t id, uint32_t sub_id,
uint32_t offset, void *buffer, size_t *length);
extern int fsp_fetch_data_queue(uint8_t flags, uint16_t id, uint32_t sub_id,
uint32_t offset, void *buffer, size_t *length,
- void (*comp)(struct fsp_msg *msg));
+ void (*comp)(struct fsp_msg *msg)) __warn_unused_result;
extern bool fsp_load_resource(enum resource_id id, void *buf, size_t *size);
/* FSP console stuff */