{"action":"opened","number":2102,"pull_request":{"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102","id":239666587,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NjY2NTg3","html_url":"https://github.com/projectacrn/acrn-hypervisor/pull/2102","diff_url":"https://github.com/projectacrn/acrn-hypervisor/pull/2102.diff","patch_url":"https://github.com/projectacrn/acrn-hypervisor/pull/2102.patch","issue_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/2102","number":2102,"state":"open","locked":false,"title":"hv: vpci: fix MISRA-C violations related to variable declarations","user":{"login":"ZideChen0","id":37550952,"node_id":"MDQ6VXNlcjM3NTUwOTUy","avatar_url":"https://avatars0.githubusercontent.com/u/37550952?v=4","gravatar_id":"","url":"https://api.github.com/users/ZideChen0","html_url":"https://github.com/ZideChen0","followers_url":"https://api.github.com/users/ZideChen0/followers","following_url":"https://api.github.com/users/ZideChen0/following{/other_user}","gists_url":"https://api.github.com/users/ZideChen0/gists{/gist_id}","starred_url":"https://api.github.com/users/ZideChen0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZideChen0/subscriptions","organizations_url":"https://api.github.com/users/ZideChen0/orgs","repos_url":"https://api.github.com/users/ZideChen0/repos","events_url":"https://api.github.com/users/ZideChen0/events{/privacy}","received_events_url":"https://api.github.com/users/ZideChen0/received_events","type":"User","site_admin":false},"body":"78D: Global variable should be declared const.\r\n\r\nGlobal variables should be declared constant wherever possible to\r\navoid unintentional modification.\r\n\r\n27D: Variable should be declared static\r\n  pci_ops_vdev_msi is not accessed by other files. Remove the declaration\r\n  from the header and define it with the static qualifier; Because it's\r\n  referenced by populate_msi_struct(), so move the define statements forward.\r\n\r\n33D: No real declaration for external variable\r\n  certain variables are available in sharing mode or partition mode only,\r\n  so that the declarations in header files must be enclosed with\r\n  CONFIG_PARTITION_MODE\r\n\r\nTracked-On: #861\r\nSigned-off-by: Zide Chen <zide.chen@intel.com>\r\nAcked-by: Anthony Xu <anthony.xu@intel.com>","created_at":"2018-12-18T23:32:47Z","updated_at":"2018-12-18T23:32:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102/commits","review_comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102/comments","review_comment_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/2102/comments","statuses_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/343bada23292d47dc50a6a6a1c0cd4a3171f40b6","head":{"label":"ZideChen0:fusa_27d","ref":"fusa_27d","sha":"343bada23292d47dc50a6a6a1c0cd4a3171f40b6","user":{"login":"ZideChen0","id":37550952,"node_id":"MDQ6VXNlcjM3NTUwOTUy","avatar_url":"https://avatars0.githubusercontent.com/u/37550952?v=4","gravatar_id":"","url":"https://api.github.com/users/ZideChen0","html_url":"https://github.com/ZideChen0","followers_url":"https://api.github.com/users/ZideChen0/followers","following_url":"https://api.github.com/users/ZideChen0/following{/other_user}","gists_url":"https://api.github.com/users/ZideChen0/gists{/gist_id}","starred_url":"https://api.github.com/users/ZideChen0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZideChen0/subscriptions","organizations_url":"https://api.github.com/users/ZideChen0/orgs","repos_url":"https://api.github.com/users/ZideChen0/repos","events_url":"https://api.github.com/users/ZideChen0/events{/privacy}","received_events_url":"https://api.github.com/users/ZideChen0/received_events","type":"User","site_admin":false},"repo":{"id":130270419,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAyNzA0MTk=","name":"acrn-hypervisor","full_name":"ZideChen0/acrn-hypervisor","private":false,"owner":{"login":"ZideChen0","id":37550952,"node_id":"MDQ6VXNlcjM3NTUwOTUy","avatar_url":"https://avatars0.githubusercontent.com/u/37550952?v=4","gravatar_id":"","url":"https://api.github.com/users/ZideChen0","html_url":"https://github.com/ZideChen0","followers_url":"https://api.github.com/users/ZideChen0/followers","following_url":"https://api.github.com/users/ZideChen0/following{/other_user}","gists_url":"https://api.github.com/users/ZideChen0/gists{/gist_id}","starred_url":"https://api.github.com/users/ZideChen0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZideChen0/subscriptions","organizations_url":"https://api.github.com/users/ZideChen0/orgs","repos_url":"https://api.github.com/users/ZideChen0/repos","events_url":"https://api.github.com/users/ZideChen0/events{/privacy}","received_events_url":"https://api.github.com/users/ZideChen0/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ZideChen0/acrn-hypervisor","description":"Project ACRN hypervisor ","fork":true,"url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor","forks_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/forks","keys_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/teams","hooks_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/hooks","issue_events_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/issues/events{/number}","events_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/events","assignees_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/assignees{/user}","branches_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/branches{/branch}","tags_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/tags","blobs_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/languages","stargazers_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/stargazers","contributors_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/contributors","subscribers_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/subscribers","subscription_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/subscription","commits_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/contents/{+path}","compare_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/merges","archive_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/downloads","issues_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/issues{/number}","pulls_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/labels{/name}","releases_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/releases{/id}","deployments_url":"https://api.github.com/repos/ZideChen0/acrn-hypervisor/deployments","created_at":"2018-04-19T20:41:55Z","updated_at":"2018-06-07T05:04:15Z","pushed_at":"2018-12-18T23:31:17Z","git_url":"git://github.com/ZideChen0/acrn-hypervisor.git","ssh_url":"git@github.com:ZideChen0/acrn-hypervisor.git","clone_url":"https://github.com/ZideChen0/acrn-hypervisor.git","svn_url":"https://github.com/ZideChen0/acrn-hypervisor","homepage":"","size":30999,"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":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectacrn:master","ref":"master","sha":"b8ffac8bac8d92aa711331c31a7c7c4639366a55","user":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"repo":{"id":123983554,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM5ODM1NTQ=","name":"acrn-hypervisor","full_name":"projectacrn/acrn-hypervisor","private":false,"owner":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/projectacrn/acrn-hypervisor","description":"Project ACRN hypervisor ","fork":false,"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor","forks_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/forks","keys_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/teams","hooks_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/hooks","issue_events_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/events{/number}","events_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/events","assignees_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/assignees{/user}","branches_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/branches{/branch}","tags_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/tags","blobs_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/languages","stargazers_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/stargazers","contributors_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/contributors","subscribers_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/subscribers","subscription_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/subscription","commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/contents/{+path}","compare_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/merges","archive_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/downloads","issues_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues{/number}","pulls_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/labels{/name}","releases_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/releases{/id}","deployments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/deployments","created_at":"2018-03-05T21:52:25Z","updated_at":"2018-12-18T12:07:40Z","pushed_at":"2018-12-18T23:32:15Z","git_url":"git://github.com/projectacrn/acrn-hypervisor.git","ssh_url":"git@github.com:projectacrn/acrn-hypervisor.git","clone_url":"https://github.com/projectacrn/acrn-hypervisor.git","svn_url":"https://github.com/projectacrn/acrn-hypervisor","homepage":"","size":31228,"stargazers_count":299,"watchers_count":299,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"archived":false,"open_issues_count":284,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":199,"open_issues":284,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102"},"html":{"href":"https://github.com/projectacrn/acrn-hypervisor/pull/2102"},"issue":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/2102"},"comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/2102/comments"},"review_comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102/comments"},"review_comment":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/2102/commits"},"statuses":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/343bada23292d47dc50a6a6a1c0cd4a3171f40b6"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":34,"deletions":29,"changed_files":8}}
{"actor":{"display_login":"ZideChen0"}}