{"action":"created","comment":{"url":"https://api.github.com/repos/thesofproject/sof/pulls/comments/208204039","pull_request_review_id":143962372,"id":208204039,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODIwNDAzOQ==","diff_hunk":"@@ -0,0 +1,115 @@\n+/*\n+ * Copyright (c) 2018, Intel Corporation\n+ * All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *   * Redistributions of source code must retain the above copyright\n+ *     notice, this list of conditions and the following disclaimer.\n+ *   * Redistributions in binary form must reproduce the above copyright\n+ *     notice, this list of conditions and the following disclaimer in the\n+ *     documentation and/or other materials provided with the distribution.\n+ *   * Neither the name of the Intel Corporation nor the\n+ *     names of its contributors may be used to endorse or promote products\n+ *     derived from this software without specific prior written permission.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\n+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+ * POSSIBILITY OF SUCH DAMAGE.\n+ *\n+ * Author: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>\n+ */\n+\n+#include <sof/alloc.h>\n+\n+#include <stdarg.h>\n+#include <setjmp.h>\n+#include <cmocka.h>\n+\n+static int checkArr(char *arr, size_t n, char shouldBe)\n+{\n+\tsize_t i;\n+\n+\tfor (i = 0; i < n; ++i)\n+\t\tif (arr[i] != shouldBe)\n+\t\t\treturn i;\n+\treturn -1;\n+}\n+\n+static void test_lib_lib_bzero_checkArr(void **state)","path":"test/cmocka/src/lib/lib/bzero.c","position":47,"original_position":47,"commit_id":"4ba6da11b218d34b7f9c81f50093084cc77b5b1b","original_commit_id":"4ba6da11b218d34b7f9c81f50093084cc77b5b1b","user":{"login":"mwierzbix","id":41478236,"node_id":"MDQ6VXNlcjQxNDc4MjM2","avatar_url":"https://avatars2.githubusercontent.com/u/41478236?v=4","gravatar_id":"","url":"https://api.github.com/users/mwierzbix","html_url":"https://github.com/mwierzbix","followers_url":"https://api.github.com/users/mwierzbix/followers","following_url":"https://api.github.com/users/mwierzbix/following{/other_user}","gists_url":"https://api.github.com/users/mwierzbix/gists{/gist_id}","starred_url":"https://api.github.com/users/mwierzbix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwierzbix/subscriptions","organizations_url":"https://api.github.com/users/mwierzbix/orgs","repos_url":"https://api.github.com/users/mwierzbix/repos","events_url":"https://api.github.com/users/mwierzbix/events{/privacy}","received_events_url":"https://api.github.com/users/mwierzbix/received_events","type":"User","site_admin":false},"body":"Will fix, and remember for future comitsssss.","created_at":"2018-08-07T12:05:27Z","updated_at":"2018-08-07T12:05:27Z","html_url":"https://github.com/thesofproject/sof/pull/203#discussion_r208204039","pull_request_url":"https://api.github.com/repos/thesofproject/sof/pulls/203","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/comments/208204039"},"html":{"href":"https://github.com/thesofproject/sof/pull/203#discussion_r208204039"},"pull_request":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/203"}},"in_reply_to_id":208183813},"pull_request":{"url":"https://api.github.com/repos/thesofproject/sof/pulls/203","id":206469319,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDY5MzE5","html_url":"https://github.com/thesofproject/sof/pull/203","diff_url":"https://github.com/thesofproject/sof/pull/203.diff","patch_url":"https://github.com/thesofproject/sof/pull/203.patch","issue_url":"https://api.github.com/repos/thesofproject/sof/issues/203","number":203,"state":"open","locked":false,"title":"test: lib/bzero: Added unit tests for lib/bzero.","user":{"login":"mwierzbix","id":41478236,"node_id":"MDQ6VXNlcjQxNDc4MjM2","avatar_url":"https://avatars2.githubusercontent.com/u/41478236?v=4","gravatar_id":"","url":"https://api.github.com/users/mwierzbix","html_url":"https://github.com/mwierzbix","followers_url":"https://api.github.com/users/mwierzbix/followers","following_url":"https://api.github.com/users/mwierzbix/following{/other_user}","gists_url":"https://api.github.com/users/mwierzbix/gists{/gist_id}","starred_url":"https://api.github.com/users/mwierzbix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwierzbix/subscriptions","organizations_url":"https://api.github.com/users/mwierzbix/orgs","repos_url":"https://api.github.com/users/mwierzbix/repos","events_url":"https://api.github.com/users/mwierzbix/events{/privacy}","received_events_url":"https://api.github.com/users/mwierzbix/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-06T17:41:57Z","updated_at":"2018-08-07T12:05:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb5d6a84488d30a4f9ffc855c413684979a31b28","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":950784217,"node_id":"MDU6TGFiZWw5NTA3ODQyMTc=","url":"https://api.github.com/repos/thesofproject/sof/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/thesofproject/sof/pulls/203/commits","review_comments_url":"https://api.github.com/repos/thesofproject/sof/pulls/203/comments","review_comment_url":"https://api.github.com/repos/thesofproject/sof/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thesofproject/sof/issues/203/comments","statuses_url":"https://api.github.com/repos/thesofproject/sof/statuses/4ba6da11b218d34b7f9c81f50093084cc77b5b1b","head":{"label":"mwierzbix:unitTest-lib-bzero","ref":"unitTest-lib-bzero","sha":"4ba6da11b218d34b7f9c81f50093084cc77b5b1b","user":{"login":"mwierzbix","id":41478236,"node_id":"MDQ6VXNlcjQxNDc4MjM2","avatar_url":"https://avatars2.githubusercontent.com/u/41478236?v=4","gravatar_id":"","url":"https://api.github.com/users/mwierzbix","html_url":"https://github.com/mwierzbix","followers_url":"https://api.github.com/users/mwierzbix/followers","following_url":"https://api.github.com/users/mwierzbix/following{/other_user}","gists_url":"https://api.github.com/users/mwierzbix/gists{/gist_id}","starred_url":"https://api.github.com/users/mwierzbix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwierzbix/subscriptions","organizations_url":"https://api.github.com/users/mwierzbix/orgs","repos_url":"https://api.github.com/users/mwierzbix/repos","events_url":"https://api.github.com/users/mwierzbix/events{/privacy}","received_events_url":"https://api.github.com/users/mwierzbix/received_events","type":"User","site_admin":false},"repo":{"id":143747100,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3NDcxMDA=","name":"sof","full_name":"mwierzbix/sof","owner":{"login":"mwierzbix","id":41478236,"node_id":"MDQ6VXNlcjQxNDc4MjM2","avatar_url":"https://avatars2.githubusercontent.com/u/41478236?v=4","gravatar_id":"","url":"https://api.github.com/users/mwierzbix","html_url":"https://github.com/mwierzbix","followers_url":"https://api.github.com/users/mwierzbix/followers","following_url":"https://api.github.com/users/mwierzbix/following{/other_user}","gists_url":"https://api.github.com/users/mwierzbix/gists{/gist_id}","starred_url":"https://api.github.com/users/mwierzbix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwierzbix/subscriptions","organizations_url":"https://api.github.com/users/mwierzbix/orgs","repos_url":"https://api.github.com/users/mwierzbix/repos","events_url":"https://api.github.com/users/mwierzbix/events{/privacy}","received_events_url":"https://api.github.com/users/mwierzbix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwierzbix/sof","description":"Sound Open Firmware","fork":true,"url":"https://api.github.com/repos/mwierzbix/sof","forks_url":"https://api.github.com/repos/mwierzbix/sof/forks","keys_url":"https://api.github.com/repos/mwierzbix/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwierzbix/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwierzbix/sof/teams","hooks_url":"https://api.github.com/repos/mwierzbix/sof/hooks","issue_events_url":"https://api.github.com/repos/mwierzbix/sof/issues/events{/number}","events_url":"https://api.github.com/repos/mwierzbix/sof/events","assignees_url":"https://api.github.com/repos/mwierzbix/sof/assignees{/user}","branches_url":"https://api.github.com/repos/mwierzbix/sof/branches{/branch}","tags_url":"https://api.github.com/repos/mwierzbix/sof/tags","blobs_url":"https://api.github.com/repos/mwierzbix/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwierzbix/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwierzbix/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwierzbix/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwierzbix/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/mwierzbix/sof/languages","stargazers_url":"https://api.github.com/repos/mwierzbix/sof/stargazers","contributors_url":"https://api.github.com/repos/mwierzbix/sof/contributors","subscribers_url":"https://api.github.com/repos/mwierzbix/sof/subscribers","subscription_url":"https://api.github.com/repos/mwierzbix/sof/subscription","commits_url":"https://api.github.com/repos/mwierzbix/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwierzbix/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwierzbix/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwierzbix/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwierzbix/sof/contents/{+path}","compare_url":"https://api.github.com/repos/mwierzbix/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwierzbix/sof/merges","archive_url":"https://api.github.com/repos/mwierzbix/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwierzbix/sof/downloads","issues_url":"https://api.github.com/repos/mwierzbix/sof/issues{/number}","pulls_url":"https://api.github.com/repos/mwierzbix/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/mwierzbix/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/mwierzbix/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwierzbix/sof/labels{/name}","releases_url":"https://api.github.com/repos/mwierzbix/sof/releases{/id}","deployments_url":"https://api.github.com/repos/mwierzbix/sof/deployments","created_at":"2018-08-06T15:21:32Z","updated_at":"2018-08-06T15:21:35Z","pushed_at":"2018-08-07T12:00:37Z","git_url":"git://github.com/mwierzbix/sof.git","ssh_url":"git@github.com:mwierzbix/sof.git","clone_url":"https://github.com/mwierzbix/sof.git","svn_url":"https://github.com/mwierzbix/sof","homepage":null,"size":3152,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thesofproject:master","ref":"master","sha":"b480595ba6e23405a55d717811783383cf7d5e89","user":{"login":"thesofproject","id":39773507,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzczNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/39773507?v=4","gravatar_id":"","url":"https://api.github.com/users/thesofproject","html_url":"https://github.com/thesofproject","followers_url":"https://api.github.com/users/thesofproject/followers","following_url":"https://api.github.com/users/thesofproject/following{/other_user}","gists_url":"https://api.github.com/users/thesofproject/gists{/gist_id}","starred_url":"https://api.github.com/users/thesofproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesofproject/subscriptions","organizations_url":"https://api.github.com/users/thesofproject/orgs","repos_url":"https://api.github.com/users/thesofproject/repos","events_url":"https://api.github.com/users/thesofproject/events{/privacy}","received_events_url":"https://api.github.com/users/thesofproject/received_events","type":"Organization","site_admin":false},"repo":{"id":135623245,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU2MjMyNDU=","name":"sof","full_name":"thesofproject/sof","owner":{"login":"thesofproject","id":39773507,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzczNTA3","avatar_url":"https://avatars1.githubusercontent.com/u/39773507?v=4","gravatar_id":"","url":"https://api.github.com/users/thesofproject","html_url":"https://github.com/thesofproject","followers_url":"https://api.github.com/users/thesofproject/followers","following_url":"https://api.github.com/users/thesofproject/following{/other_user}","gists_url":"https://api.github.com/users/thesofproject/gists{/gist_id}","starred_url":"https://api.github.com/users/thesofproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesofproject/subscriptions","organizations_url":"https://api.github.com/users/thesofproject/orgs","repos_url":"https://api.github.com/users/thesofproject/repos","events_url":"https://api.github.com/users/thesofproject/events{/privacy}","received_events_url":"https://api.github.com/users/thesofproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thesofproject/sof","description":"Sound Open Firmware","fork":false,"url":"https://api.github.com/repos/thesofproject/sof","forks_url":"https://api.github.com/repos/thesofproject/sof/forks","keys_url":"https://api.github.com/repos/thesofproject/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thesofproject/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thesofproject/sof/teams","hooks_url":"https://api.github.com/repos/thesofproject/sof/hooks","issue_events_url":"https://api.github.com/repos/thesofproject/sof/issues/events{/number}","events_url":"https://api.github.com/repos/thesofproject/sof/events","assignees_url":"https://api.github.com/repos/thesofproject/sof/assignees{/user}","branches_url":"https://api.github.com/repos/thesofproject/sof/branches{/branch}","tags_url":"https://api.github.com/repos/thesofproject/sof/tags","blobs_url":"https://api.github.com/repos/thesofproject/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thesofproject/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thesofproject/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/thesofproject/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thesofproject/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/thesofproject/sof/languages","stargazers_url":"https://api.github.com/repos/thesofproject/sof/stargazers","contributors_url":"https://api.github.com/repos/thesofproject/sof/contributors","subscribers_url":"https://api.github.com/repos/thesofproject/sof/subscribers","subscription_url":"https://api.github.com/repos/thesofproject/sof/subscription","commits_url":"https://api.github.com/repos/thesofproject/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/thesofproject/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/thesofproject/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/thesofproject/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/thesofproject/sof/contents/{+path}","compare_url":"https://api.github.com/repos/thesofproject/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thesofproject/sof/merges","archive_url":"https://api.github.com/repos/thesofproject/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thesofproject/sof/downloads","issues_url":"https://api.github.com/repos/thesofproject/sof/issues{/number}","pulls_url":"https://api.github.com/repos/thesofproject/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/thesofproject/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/thesofproject/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thesofproject/sof/labels{/name}","releases_url":"https://api.github.com/repos/thesofproject/sof/releases{/id}","deployments_url":"https://api.github.com/repos/thesofproject/sof/deployments","created_at":"2018-05-31T18:51:03Z","updated_at":"2018-08-07T11:52:58Z","pushed_at":"2018-08-07T12:00:38Z","git_url":"git://github.com/thesofproject/sof.git","ssh_url":"git@github.com:thesofproject/sof.git","clone_url":"https://github.com/thesofproject/sof.git","svn_url":"https://github.com/thesofproject/sof","homepage":null,"size":3146,"stargazers_count":10,"watchers_count":10,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":30,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":31,"open_issues":30,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/203"},"html":{"href":"https://github.com/thesofproject/sof/pull/203"},"issue":{"href":"https://api.github.com/repos/thesofproject/sof/issues/203"},"comments":{"href":"https://api.github.com/repos/thesofproject/sof/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thesofproject/sof/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/thesofproject/sof/statuses/4ba6da11b218d34b7f9c81f50093084cc77b5b1b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mwierzbix"}}