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 b1564eb643c16dc98048fb9aa072580451ed90b2 (commit) from 8b0ac26e358b7632f891557be07c8c1f43a29a4a (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 b1564eb643c16dc98048fb9aa072580451ed90b2 Author: Petri Savolainen petri.savolainen@linaro.org Date: Thu Jan 31 11:13:35 2019 +0200
linux-gen: buffer: clean checkpatch warnings
Checkpatch reported warnings when running it against the file. Corrected all reported warnings.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-by: Matias Elo matias.elo@nokia.com
diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index ac0b9f9c..f3864bfd 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -65,16 +65,16 @@ int odp_buffer_snprint(char *str, uint32_t n, odp_buffer_t buf) hdr = buf_hdl_to_hdr(buf); pool = hdr->pool_ptr;
- len += snprintf(&str[len], n-len, + len += snprintf(&str[len], n - len, "Buffer\n"); - len += snprintf(&str[len], n-len, + len += snprintf(&str[len], n - len, " pool %" PRIu64 "\n", odp_pool_to_u64(pool->pool_hdl)); - len += snprintf(&str[len], n-len, + len += snprintf(&str[len], n - len, " addr %p\n", hdr->seg[0].data); - len += snprintf(&str[len], n-len, + len += snprintf(&str[len], n - len, " size %" PRIu32 "\n", odp_buffer_size(buf)); - len += snprintf(&str[len], n-len, + len += snprintf(&str[len], n - len, " type %i\n", hdr->type);
return len; @@ -86,7 +86,7 @@ void odp_buffer_print(odp_buffer_t buf) char str[max_len]; int len;
- len = odp_buffer_snprint(str, max_len-1, buf); + len = odp_buffer_snprint(str, max_len - 1, buf); str[len] = 0;
ODP_PRINT("\n%s\n", str);
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_buffer.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive