{"action":"opened","number":10879,"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879","id":226107535,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTA3NTM1","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/10879","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/10879.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/10879.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/10879","number":10879,"state":"open","locked":false,"title":"Bluetooth: move key management error codes to l2cap","user":{"login":"galak","id":16417047,"node_id":"MDQ6VXNlcjE2NDE3MDQ3","avatar_url":"https://avatars2.githubusercontent.com/u/16417047?v=4","gravatar_id":"","url":"https://api.github.com/users/galak","html_url":"https://github.com/galak","followers_url":"https://api.github.com/users/galak/followers","following_url":"https://api.github.com/users/galak/following{/other_user}","gists_url":"https://api.github.com/users/galak/gists{/gist_id}","starred_url":"https://api.github.com/users/galak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galak/subscriptions","organizations_url":"https://api.github.com/users/galak/orgs","repos_url":"https://api.github.com/users/galak/repos","events_url":"https://api.github.com/users/galak/events{/privacy}","received_events_url":"https://api.github.com/users/galak/received_events","type":"User","site_admin":false},"body":"The error codes for key management where put into errno.h, however if we\r\nbuild with newlib these defines are visibile (since we get errno.h from\r\nnewlib's headers).  Move these defines to l2cap as its the user of them.\r\n\r\nFixes: #10878\r\n\r\nSigned-off-by: Kumar Gala <kumar.gala@linaro.org>","created_at":"2018-10-26T13:56:15Z","updated_at":"2018-10-26T13:56:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":700751342,"node_id":"MDU6TGFiZWw3MDA3NTEzNDI=","url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels/area:%20Bluetooth","name":"area: Bluetooth","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879/comments","review_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/10879/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/29df5493ade46785dc6c748952b6e640cc397229","head":{"label":"galak:bt-errno-fix","ref":"bt-errno-fix","sha":"29df5493ade46785dc6c748952b6e640cc397229","user":{"login":"galak","id":16417047,"node_id":"MDQ6VXNlcjE2NDE3MDQ3","avatar_url":"https://avatars2.githubusercontent.com/u/16417047?v=4","gravatar_id":"","url":"https://api.github.com/users/galak","html_url":"https://github.com/galak","followers_url":"https://api.github.com/users/galak/followers","following_url":"https://api.github.com/users/galak/following{/other_user}","gists_url":"https://api.github.com/users/galak/gists{/gist_id}","starred_url":"https://api.github.com/users/galak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galak/subscriptions","organizations_url":"https://api.github.com/users/galak/orgs","repos_url":"https://api.github.com/users/galak/repos","events_url":"https://api.github.com/users/galak/events{/privacy}","received_events_url":"https://api.github.com/users/galak/received_events","type":"User","site_admin":false},"repo":{"id":70709632,"node_id":"MDEwOlJlcG9zaXRvcnk3MDcwOTYzMg==","name":"zephyr","full_name":"galak/zephyr","private":false,"owner":{"login":"galak","id":16417047,"node_id":"MDQ6VXNlcjE2NDE3MDQ3","avatar_url":"https://avatars2.githubusercontent.com/u/16417047?v=4","gravatar_id":"","url":"https://api.github.com/users/galak","html_url":"https://github.com/galak","followers_url":"https://api.github.com/users/galak/followers","following_url":"https://api.github.com/users/galak/following{/other_user}","gists_url":"https://api.github.com/users/galak/gists{/gist_id}","starred_url":"https://api.github.com/users/galak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galak/subscriptions","organizations_url":"https://api.github.com/users/galak/orgs","repos_url":"https://api.github.com/users/galak/repos","events_url":"https://api.github.com/users/galak/events{/privacy}","received_events_url":"https://api.github.com/users/galak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/galak/zephyr","description":"Mirror of the zephyr repo on https://gerrit.zephyrproject.org","fork":true,"url":"https://api.github.com/repos/galak/zephyr","forks_url":"https://api.github.com/repos/galak/zephyr/forks","keys_url":"https://api.github.com/repos/galak/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galak/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galak/zephyr/teams","hooks_url":"https://api.github.com/repos/galak/zephyr/hooks","issue_events_url":"https://api.github.com/repos/galak/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/galak/zephyr/events","assignees_url":"https://api.github.com/repos/galak/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/galak/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/galak/zephyr/tags","blobs_url":"https://api.github.com/repos/galak/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galak/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galak/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/galak/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galak/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/galak/zephyr/languages","stargazers_url":"https://api.github.com/repos/galak/zephyr/stargazers","contributors_url":"https://api.github.com/repos/galak/zephyr/contributors","subscribers_url":"https://api.github.com/repos/galak/zephyr/subscribers","subscription_url":"https://api.github.com/repos/galak/zephyr/subscription","commits_url":"https://api.github.com/repos/galak/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/galak/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/galak/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/galak/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/galak/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/galak/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galak/zephyr/merges","archive_url":"https://api.github.com/repos/galak/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galak/zephyr/downloads","issues_url":"https://api.github.com/repos/galak/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/galak/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/galak/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/galak/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galak/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/galak/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/galak/zephyr/deployments","created_at":"2016-10-12T14:45:03Z","updated_at":"2018-08-15T16:22:00Z","pushed_at":"2018-10-26T13:55:46Z","git_url":"git://github.com/galak/zephyr.git","ssh_url":"git@github.com:galak/zephyr.git","clone_url":"https://github.com/galak/zephyr.git","svn_url":"https://github.com/galak/zephyr","homepage":null,"size":156240,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"f119ffedd59efef452bca7e5ba5f810f0f99c58b","user":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"repo":{"id":59771425,"node_id":"MDEwOlJlcG9zaXRvcnk1OTc3MTQyNQ==","name":"zephyr","full_name":"zephyrproject-rtos/zephyr","private":false,"owner":{"login":"zephyrproject-rtos","id":19595895,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk1ODk1","avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zephyrproject-rtos/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":false,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","forks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/forks","keys_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/teams","hooks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/hooks","issue_events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/events","assignees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/tags","blobs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/languages","stargazers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/stargazers","contributors_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contributors","subscribers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscribers","subscription_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscription","commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/merges","archive_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/downloads","issues_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/deployments","created_at":"2016-05-26T17:54:19Z","updated_at":"2018-10-26T13:52:57Z","pushed_at":"2018-10-26T13:52:08Z","git_url":"git://github.com/zephyrproject-rtos/zephyr.git","ssh_url":"git@github.com:zephyrproject-rtos/zephyr.git","clone_url":"https://github.com/zephyrproject-rtos/zephyr.git","svn_url":"https://github.com/zephyrproject-rtos/zephyr","homepage":"https://docs.zephyrproject.org","size":155542,"stargazers_count":1304,"watchers_count":1304,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":848,"mirror_url":null,"archived":false,"open_issues_count":1128,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":848,"open_issues":1128,"watchers":1304,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/10879"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/10879"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/10879/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879/comments"},"review_comment":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/10879/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/29df5493ade46785dc6c748952b6e640cc397229"}},"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":6,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"galak"}}