{"action":"created","comment":{"url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/comments/35381613","id":35381613,"diff_hunk":"@@ -1221,9 +1228,13 @@ static int nl802154_ed_scan_req( struct sk_buff *skb, struct genl_info *info )\n         r = -ENOMEM;\n         goto out;\n     }\n+\n+    wrk->info = kzalloc( info->nlhdr->nlmsg_len, GFP_KERNEL );","path":"net/ieee802154/nl802154.c","position":36,"original_position":36,"commit_id":"b10d76881c436b38480210ab5ef89174427885f7","original_commit_id":"b10d76881c436b38480210ab5ef89174427885f7","user":{"login":"cfriedt","id":983494,"avatar_url":"https://avatars.githubusercontent.com/u/983494?v=3","gravatar_id":"","url":"https://api.github.com/users/cfriedt","html_url":"https://github.com/cfriedt","followers_url":"https://api.github.com/users/cfriedt/followers","following_url":"https://api.github.com/users/cfriedt/following{/other_user}","gists_url":"https://api.github.com/users/cfriedt/gists{/gist_id}","starred_url":"https://api.github.com/users/cfriedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfriedt/subscriptions","organizations_url":"https://api.github.com/users/cfriedt/orgs","repos_url":"https://api.github.com/users/cfriedt/repos","events_url":"https://api.github.com/users/cfriedt/events{/privacy}","received_events_url":"https://api.github.com/users/cfriedt/received_events","type":"User","site_admin":false},"body":"Why not just embedded info as a struct rather than a pointer in the already kzalloced struct work802154?","created_at":"2015-07-23T23:01:55Z","updated_at":"2015-07-23T23:01:55Z","html_url":"https://github.com/cfriedt/bluetooth-next/pull/4#discussion_r35381613","pull_request_url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/comments/35381613"},"html":{"href":"https://github.com/cfriedt/bluetooth-next/pull/4#discussion_r35381613"},"pull_request":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4","id":40697297,"html_url":"https://github.com/cfriedt/bluetooth-next/pull/4","diff_url":"https://github.com/cfriedt/bluetooth-next/pull/4.diff","patch_url":"https://github.com/cfriedt/bluetooth-next/pull/4.patch","issue_url":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/4","number":4,"state":"open","locked":false,"title":"Feature/nl802154 get ed scan","user":{"login":"magyarm","id":1568371,"avatar_url":"https://avatars.githubusercontent.com/u/1568371?v=3","gravatar_id":"","url":"https://api.github.com/users/magyarm","html_url":"https://github.com/magyarm","followers_url":"https://api.github.com/users/magyarm/followers","following_url":"https://api.github.com/users/magyarm/following{/other_user}","gists_url":"https://api.github.com/users/magyarm/gists{/gist_id}","starred_url":"https://api.github.com/users/magyarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magyarm/subscriptions","organizations_url":"https://api.github.com/users/magyarm/orgs","repos_url":"https://api.github.com/users/magyarm/repos","events_url":"https://api.github.com/users/magyarm/events{/privacy}","received_events_url":"https://api.github.com/users/magyarm/received_events","type":"User","site_admin":false},"body":"These are the changes to get the worker version of ED Scan working after merging in your templates from Tuesday. I completely dumped what I had in favour of yours. I was trying to create a scan_work_handler() in scan.c like 80211, and will come back to that for a later pull request. This right returns the ED Scan Asynchronously using the existing ieee802154 work queue. ","created_at":"2015-07-23T17:33:50Z","updated_at":"2015-07-23T23:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64a459fba583168b7125d0a251ac661f73f96133","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/4/comments","statuses_url":"https://api.github.com/repos/cfriedt/bluetooth-next/statuses/b10d76881c436b38480210ab5ef89174427885f7","head":{"label":"magyarm:feature/nl802154-get-ed-scan","ref":"feature/nl802154-get-ed-scan","sha":"b10d76881c436b38480210ab5ef89174427885f7","user":{"login":"magyarm","id":1568371,"avatar_url":"https://avatars.githubusercontent.com/u/1568371?v=3","gravatar_id":"","url":"https://api.github.com/users/magyarm","html_url":"https://github.com/magyarm","followers_url":"https://api.github.com/users/magyarm/followers","following_url":"https://api.github.com/users/magyarm/following{/other_user}","gists_url":"https://api.github.com/users/magyarm/gists{/gist_id}","starred_url":"https://api.github.com/users/magyarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magyarm/subscriptions","organizations_url":"https://api.github.com/users/magyarm/orgs","repos_url":"https://api.github.com/users/magyarm/repos","events_url":"https://api.github.com/users/magyarm/events{/privacy}","received_events_url":"https://api.github.com/users/magyarm/received_events","type":"User","site_admin":false},"repo":{"id":39142482,"name":"bluetooth-next","full_name":"magyarm/bluetooth-next","owner":{"login":"magyarm","id":1568371,"avatar_url":"https://avatars.githubusercontent.com/u/1568371?v=3","gravatar_id":"","url":"https://api.github.com/users/magyarm","html_url":"https://github.com/magyarm","followers_url":"https://api.github.com/users/magyarm/followers","following_url":"https://api.github.com/users/magyarm/following{/other_user}","gists_url":"https://api.github.com/users/magyarm/gists{/gist_id}","starred_url":"https://api.github.com/users/magyarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magyarm/subscriptions","organizations_url":"https://api.github.com/users/magyarm/orgs","repos_url":"https://api.github.com/users/magyarm/repos","events_url":"https://api.github.com/users/magyarm/events{/privacy}","received_events_url":"https://api.github.com/users/magyarm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/magyarm/bluetooth-next","description":null,"fork":true,"url":"https://api.github.com/repos/magyarm/bluetooth-next","forks_url":"https://api.github.com/repos/magyarm/bluetooth-next/forks","keys_url":"https://api.github.com/repos/magyarm/bluetooth-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magyarm/bluetooth-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magyarm/bluetooth-next/teams","hooks_url":"https://api.github.com/repos/magyarm/bluetooth-next/hooks","issue_events_url":"https://api.github.com/repos/magyarm/bluetooth-next/issues/events{/number}","events_url":"https://api.github.com/repos/magyarm/bluetooth-next/events","assignees_url":"https://api.github.com/repos/magyarm/bluetooth-next/assignees{/user}","branches_url":"https://api.github.com/repos/magyarm/bluetooth-next/branches{/branch}","tags_url":"https://api.github.com/repos/magyarm/bluetooth-next/tags","blobs_url":"https://api.github.com/repos/magyarm/bluetooth-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magyarm/bluetooth-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magyarm/bluetooth-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/magyarm/bluetooth-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magyarm/bluetooth-next/statuses/{sha}","languages_url":"https://api.github.com/repos/magyarm/bluetooth-next/languages","stargazers_url":"https://api.github.com/repos/magyarm/bluetooth-next/stargazers","contributors_url":"https://api.github.com/repos/magyarm/bluetooth-next/contributors","subscribers_url":"https://api.github.com/repos/magyarm/bluetooth-next/subscribers","subscription_url":"https://api.github.com/repos/magyarm/bluetooth-next/subscription","commits_url":"https://api.github.com/repos/magyarm/bluetooth-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/magyarm/bluetooth-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/magyarm/bluetooth-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/magyarm/bluetooth-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/magyarm/bluetooth-next/contents/{+path}","compare_url":"https://api.github.com/repos/magyarm/bluetooth-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magyarm/bluetooth-next/merges","archive_url":"https://api.github.com/repos/magyarm/bluetooth-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magyarm/bluetooth-next/downloads","issues_url":"https://api.github.com/repos/magyarm/bluetooth-next/issues{/number}","pulls_url":"https://api.github.com/repos/magyarm/bluetooth-next/pulls{/number}","milestones_url":"https://api.github.com/repos/magyarm/bluetooth-next/milestones{/number}","notifications_url":"https://api.github.com/repos/magyarm/bluetooth-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magyarm/bluetooth-next/labels{/name}","releases_url":"https://api.github.com/repos/magyarm/bluetooth-next/releases{/id}","created_at":"2015-07-15T14:47:19Z","updated_at":"2015-07-15T14:52:02Z","pushed_at":"2015-07-23T17:28:27Z","git_url":"git://github.com/magyarm/bluetooth-next.git","ssh_url":"git@github.com:magyarm/bluetooth-next.git","clone_url":"https://github.com/magyarm/bluetooth-next.git","svn_url":"https://github.com/magyarm/bluetooth-next","homepage":null,"size":981639,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cfriedt:feature/nl802154-get-ed-scan","ref":"feature/nl802154-get-ed-scan","sha":"df1e09de7f48d87e91d7149d356cad4aa24b2396","user":{"login":"cfriedt","id":983494,"avatar_url":"https://avatars.githubusercontent.com/u/983494?v=3","gravatar_id":"","url":"https://api.github.com/users/cfriedt","html_url":"https://github.com/cfriedt","followers_url":"https://api.github.com/users/cfriedt/followers","following_url":"https://api.github.com/users/cfriedt/following{/other_user}","gists_url":"https://api.github.com/users/cfriedt/gists{/gist_id}","starred_url":"https://api.github.com/users/cfriedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfriedt/subscriptions","organizations_url":"https://api.github.com/users/cfriedt/orgs","repos_url":"https://api.github.com/users/cfriedt/repos","events_url":"https://api.github.com/users/cfriedt/events{/privacy}","received_events_url":"https://api.github.com/users/cfriedt/received_events","type":"User","site_admin":false},"repo":{"id":37265646,"name":"bluetooth-next","full_name":"cfriedt/bluetooth-next","owner":{"login":"cfriedt","id":983494,"avatar_url":"https://avatars.githubusercontent.com/u/983494?v=3","gravatar_id":"","url":"https://api.github.com/users/cfriedt","html_url":"https://github.com/cfriedt","followers_url":"https://api.github.com/users/cfriedt/followers","following_url":"https://api.github.com/users/cfriedt/following{/other_user}","gists_url":"https://api.github.com/users/cfriedt/gists{/gist_id}","starred_url":"https://api.github.com/users/cfriedt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfriedt/subscriptions","organizations_url":"https://api.github.com/users/cfriedt/orgs","repos_url":"https://api.github.com/users/cfriedt/repos","events_url":"https://api.github.com/users/cfriedt/events{/privacy}","received_events_url":"https://api.github.com/users/cfriedt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cfriedt/bluetooth-next","description":null,"fork":false,"url":"https://api.github.com/repos/cfriedt/bluetooth-next","forks_url":"https://api.github.com/repos/cfriedt/bluetooth-next/forks","keys_url":"https://api.github.com/repos/cfriedt/bluetooth-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfriedt/bluetooth-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfriedt/bluetooth-next/teams","hooks_url":"https://api.github.com/repos/cfriedt/bluetooth-next/hooks","issue_events_url":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/events{/number}","events_url":"https://api.github.com/repos/cfriedt/bluetooth-next/events","assignees_url":"https://api.github.com/repos/cfriedt/bluetooth-next/assignees{/user}","branches_url":"https://api.github.com/repos/cfriedt/bluetooth-next/branches{/branch}","tags_url":"https://api.github.com/repos/cfriedt/bluetooth-next/tags","blobs_url":"https://api.github.com/repos/cfriedt/bluetooth-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfriedt/bluetooth-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfriedt/bluetooth-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfriedt/bluetooth-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfriedt/bluetooth-next/statuses/{sha}","languages_url":"https://api.github.com/repos/cfriedt/bluetooth-next/languages","stargazers_url":"https://api.github.com/repos/cfriedt/bluetooth-next/stargazers","contributors_url":"https://api.github.com/repos/cfriedt/bluetooth-next/contributors","subscribers_url":"https://api.github.com/repos/cfriedt/bluetooth-next/subscribers","subscription_url":"https://api.github.com/repos/cfriedt/bluetooth-next/subscription","commits_url":"https://api.github.com/repos/cfriedt/bluetooth-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfriedt/bluetooth-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfriedt/bluetooth-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfriedt/bluetooth-next/contents/{+path}","compare_url":"https://api.github.com/repos/cfriedt/bluetooth-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfriedt/bluetooth-next/merges","archive_url":"https://api.github.com/repos/cfriedt/bluetooth-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfriedt/bluetooth-next/downloads","issues_url":"https://api.github.com/repos/cfriedt/bluetooth-next/issues{/number}","pulls_url":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls{/number}","milestones_url":"https://api.github.com/repos/cfriedt/bluetooth-next/milestones{/number}","notifications_url":"https://api.github.com/repos/cfriedt/bluetooth-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfriedt/bluetooth-next/labels{/name}","releases_url":"https://api.github.com/repos/cfriedt/bluetooth-next/releases{/id}","created_at":"2015-06-11T14:21:04Z","updated_at":"2015-07-14T15:08:11Z","pushed_at":"2015-07-23T17:33:50Z","git_url":"git://github.com/cfriedt/bluetooth-next.git","ssh_url":"git@github.com:cfriedt/bluetooth-next.git","clone_url":"https://github.com/cfriedt/bluetooth-next.git","svn_url":"https://github.com/cfriedt/bluetooth-next","homepage":null,"size":979842,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4"},"html":{"href":"https://github.com/cfriedt/bluetooth-next/pull/4"},"issue":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/4"},"comments":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cfriedt/bluetooth-next/statuses/b10d76881c436b38480210ab5ef89174427885f7"}}}}