{"action":"opened","number":981,"pull_request":{"url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/981","id":207239337,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MjM5MzM3","html_url":"https://github.com/projectacrn/acrn-hypervisor/pull/981","diff_url":"https://github.com/projectacrn/acrn-hypervisor/pull/981.diff","patch_url":"https://github.com/projectacrn/acrn-hypervisor/pull/981.patch","issue_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/981","number":981,"state":"open","locked":false,"title":"hv: treewide: fix 'Variable should be declared static'","user":{"login":"shiqingg","id":25377381,"node_id":"MDQ6VXNlcjI1Mzc3Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/25377381?v=4","gravatar_id":"","url":"https://api.github.com/users/shiqingg","html_url":"https://github.com/shiqingg","followers_url":"https://api.github.com/users/shiqingg/followers","following_url":"https://api.github.com/users/shiqingg/following{/other_user}","gists_url":"https://api.github.com/users/shiqingg/gists{/gist_id}","starred_url":"https://api.github.com/users/shiqingg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiqingg/subscriptions","organizations_url":"https://api.github.com/users/shiqingg/orgs","repos_url":"https://api.github.com/users/shiqingg/repos","events_url":"https://api.github.com/users/shiqingg/events{/privacy}","received_events_url":"https://api.github.com/users/shiqingg/received_events","type":"User","site_admin":false},"body":"Declare a variable with the static qualifier if it is of file scope and\r\nnot used in another file.\r\n\r\nv1 -> v2:\r\n * remove the unnecessary change to the following variables, which is\r\n    due to the report issue\r\n\r\n   struct multiboot_info *mbi = (struct multiboot_info *)\r\n                        (HPA2HVA((uint64_t)boot_regs[1]));\r\n   struct multiboot_mmap *mmap =\r\n                                (struct multiboot_mmap *)\r\n                                HPA2HVA((uint64_t)mbi->mi_mmap_addr);\r\n\r\nSigned-off-by: Shiqing Gao <shiqing.gao@intel.com>\r\nReviewed-by: Junjie Mao <junjie.mao@intel.com>","created_at":"2018-08-09T08:33:44Z","updated_at":"2018-08-09T08:33:44Z","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/981/commits","review_comments_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/981/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/981/comments","statuses_url":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/1eeb153f1b3c89e14ab6fb2e3ff1689136a914ab","head":{"label":"shiqingg:misrac_static","ref":"misrac_static","sha":"1eeb153f1b3c89e14ab6fb2e3ff1689136a914ab","user":{"login":"shiqingg","id":25377381,"node_id":"MDQ6VXNlcjI1Mzc3Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/25377381?v=4","gravatar_id":"","url":"https://api.github.com/users/shiqingg","html_url":"https://github.com/shiqingg","followers_url":"https://api.github.com/users/shiqingg/followers","following_url":"https://api.github.com/users/shiqingg/following{/other_user}","gists_url":"https://api.github.com/users/shiqingg/gists{/gist_id}","starred_url":"https://api.github.com/users/shiqingg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiqingg/subscriptions","organizations_url":"https://api.github.com/users/shiqingg/orgs","repos_url":"https://api.github.com/users/shiqingg/repos","events_url":"https://api.github.com/users/shiqingg/events{/privacy}","received_events_url":"https://api.github.com/users/shiqingg/received_events","type":"User","site_admin":false},"repo":{"id":125490006,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU0OTAwMDY=","name":"acrn-hypervisor","full_name":"shiqingg/acrn-hypervisor","owner":{"login":"shiqingg","id":25377381,"node_id":"MDQ6VXNlcjI1Mzc3Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/25377381?v=4","gravatar_id":"","url":"https://api.github.com/users/shiqingg","html_url":"https://github.com/shiqingg","followers_url":"https://api.github.com/users/shiqingg/followers","following_url":"https://api.github.com/users/shiqingg/following{/other_user}","gists_url":"https://api.github.com/users/shiqingg/gists{/gist_id}","starred_url":"https://api.github.com/users/shiqingg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiqingg/subscriptions","organizations_url":"https://api.github.com/users/shiqingg/orgs","repos_url":"https://api.github.com/users/shiqingg/repos","events_url":"https://api.github.com/users/shiqingg/events{/privacy}","received_events_url":"https://api.github.com/users/shiqingg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shiqingg/acrn-hypervisor","description":"Project ACRN hypervisor ","fork":true,"url":"https://api.github.com/repos/shiqingg/acrn-hypervisor","forks_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/forks","keys_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/teams","hooks_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/hooks","issue_events_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/issues/events{/number}","events_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/events","assignees_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/assignees{/user}","branches_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/branches{/branch}","tags_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/tags","blobs_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/git/refs{/sha}","trees_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/statuses/{sha}","languages_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/languages","stargazers_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/stargazers","contributors_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/contributors","subscribers_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/subscribers","subscription_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/subscription","commits_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/commits{/sha}","git_commits_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/git/commits{/sha}","comments_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/comments{/number}","issue_comment_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/issues/comments{/number}","contents_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/contents/{+path}","compare_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/merges","archive_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/downloads","issues_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/issues{/number}","pulls_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/pulls{/number}","milestones_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/milestones{/number}","notifications_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/labels{/name}","releases_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/releases{/id}","deployments_url":"https://api.github.com/repos/shiqingg/acrn-hypervisor/deployments","created_at":"2018-03-16T08:55:13Z","updated_at":"2018-08-08T09:03:03Z","pushed_at":"2018-08-09T08:33:08Z","git_url":"git://github.com/shiqingg/acrn-hypervisor.git","ssh_url":"git@github.com:shiqingg/acrn-hypervisor.git","clone_url":"https://github.com/shiqingg/acrn-hypervisor.git","svn_url":"https://github.com/shiqingg/acrn-hypervisor","homepage":"","size":13400,"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":"ac39b905152032a9bed3ebb6eaa3b53bbdc2cbb0","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","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},"private":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-08-09T07:42:54Z","pushed_at":"2018-08-09T08:29:44Z","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":14785,"stargazers_count":212,"watchers_count":212,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"archived":false,"open_issues_count":132,"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":155,"open_issues":132,"watchers":212,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/981"},"html":{"href":"https://github.com/projectacrn/acrn-hypervisor/pull/981"},"issue":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/981"},"comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/issues/981/comments"},"review_comments":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/pulls/981/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/981/commits"},"statuses":{"href":"https://api.github.com/repos/projectacrn/acrn-hypervisor/statuses/1eeb153f1b3c89e14ab6fb2e3ff1689136a914ab"}},"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":10,"deletions":13,"changed_files":7}}
{"actor":{"display_login":"shiqingg"}}