This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 88dbb00623102878f2e0e1dd720a942fdd980ca3 (commit) from 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 88dbb00623102878f2e0e1dd720a942fdd980ca3 Author: Bill Fischofer bill.fischofer@linaro.org Date: Wed Jan 18 16:05:16 2017 -0600
linux-generic: pool: add odp_pool_capability() rc check
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2826 by adding an explicit check of the rc from odp_pool_capability() for consistency with other code that calls this routine.
Signed-off-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index cf7c2c4..145002d 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -445,7 +445,8 @@ static int check_params(odp_pool_param_t *params) { odp_pool_capability_t capa;
- odp_pool_capability(&capa); + if (odp_pool_capability(&capa) < 0) + return -1;
switch (params->type) { case ODP_POOL_BUFFER:
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_pool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive