{"action":"created","comment":{"url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/comments/48146471","id":48146471,"diff_hunk":"@@ -118,13 +118,14 @@ static inline void INIT_LIST_HEAD(struct list_head *list)\n }\n ```\n \n-In the next step after device created with the `device_create` function we add it to the miscellaneous devices list with:\n+在函数`device_create` 创建了设备后我们就用下面的语句将设备添加到设备链表：\n \n ```\n list_add(&misc->list, &misc_list);\n ```\n \n-Kernel `list.h` provides this API for the addition of new entry to the list. Let's look on it's implementation:\n+内核文件`list.h` 提供了项链表添加新项的API 接口。我们来看看它的实现：","path":"DataStructures/dlist.md","position":112,"original_position":112,"commit_id":"e52a6e0ae75361c9b31525e47df312bbe4ab0de2","original_commit_id":"e52a6e0ae75361c9b31525e47df312bbe4ab0de2","user":{"login":"mudongliang","id":6214861,"avatar_url":"https://avatars.githubusercontent.com/u/6214861?v=3","gravatar_id":"","url":"https://api.github.com/users/mudongliang","html_url":"https://github.com/mudongliang","followers_url":"https://api.github.com/users/mudongliang/followers","following_url":"https://api.github.com/users/mudongliang/following{/other_user}","gists_url":"https://api.github.com/users/mudongliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mudongliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudongliang/subscriptions","organizations_url":"https://api.github.com/users/mudongliang/orgs","repos_url":"https://api.github.com/users/mudongliang/repos","events_url":"https://api.github.com/users/mudongliang/events{/privacy}","received_events_url":"https://api.github.com/users/mudongliang/received_events","type":"User","site_admin":false},"body":"错别字：“项”->“向”.\r\nAPI左侧加上空格，另外“API”的全称是“Application Programming Interface”，在加上“接口”有点画蛇添足的感觉。","created_at":"2015-12-21T13:46:07Z","updated_at":"2015-12-21T13:46:07Z","html_url":"https://github.com/MintCN/linux-insides-zh/pull/15#discussion_r48146471","pull_request_url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/comments/48146471"},"html":{"href":"https://github.com/MintCN/linux-insides-zh/pull/15#discussion_r48146471"},"pull_request":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15","id":53068604,"html_url":"https://github.com/MintCN/linux-insides-zh/pull/15","diff_url":"https://github.com/MintCN/linux-insides-zh/pull/15.diff","patch_url":"https://github.com/MintCN/linux-insides-zh/pull/15.patch","issue_url":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/15","number":15,"state":"open","locked":false,"title":"translated","user":{"login":"oska874","id":4536559,"avatar_url":"https://avatars.githubusercontent.com/u/4536559?v=3","gravatar_id":"","url":"https://api.github.com/users/oska874","html_url":"https://github.com/oska874","followers_url":"https://api.github.com/users/oska874/followers","following_url":"https://api.github.com/users/oska874/following{/other_user}","gists_url":"https://api.github.com/users/oska874/gists{/gist_id}","starred_url":"https://api.github.com/users/oska874/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oska874/subscriptions","organizations_url":"https://api.github.com/users/oska874/orgs","repos_url":"https://api.github.com/users/oska874/repos","events_url":"https://api.github.com/users/oska874/events{/privacy}","received_events_url":"https://api.github.com/users/oska874/received_events","type":"User","site_admin":false},"body":"Doubly linked list in the Linux Kernel","created_at":"2015-12-09T02:21:50Z","updated_at":"2015-12-21T13:46:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e80ef30bc6e2d05bdd056604135bba8fd0ce594b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15/commits","review_comments_url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15/comments","review_comment_url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/15/comments","statuses_url":"https://api.github.com/repos/MintCN/linux-insides-zh/statuses/e52a6e0ae75361c9b31525e47df312bbe4ab0de2","head":{"label":"Linux-Inside:master","ref":"master","sha":"e52a6e0ae75361c9b31525e47df312bbe4ab0de2","user":{"login":"Linux-Inside","id":16201047,"avatar_url":"https://avatars.githubusercontent.com/u/16201047?v=3","gravatar_id":"","url":"https://api.github.com/users/Linux-Inside","html_url":"https://github.com/Linux-Inside","followers_url":"https://api.github.com/users/Linux-Inside/followers","following_url":"https://api.github.com/users/Linux-Inside/following{/other_user}","gists_url":"https://api.github.com/users/Linux-Inside/gists{/gist_id}","starred_url":"https://api.github.com/users/Linux-Inside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linux-Inside/subscriptions","organizations_url":"https://api.github.com/users/Linux-Inside/orgs","repos_url":"https://api.github.com/users/Linux-Inside/repos","events_url":"https://api.github.com/users/Linux-Inside/events{/privacy}","received_events_url":"https://api.github.com/users/Linux-Inside/received_events","type":"Organization","site_admin":false},"repo":{"id":47662999,"name":"linux-insides-zh","full_name":"Linux-Inside/linux-insides-zh","owner":{"login":"Linux-Inside","id":16201047,"avatar_url":"https://avatars.githubusercontent.com/u/16201047?v=3","gravatar_id":"","url":"https://api.github.com/users/Linux-Inside","html_url":"https://github.com/Linux-Inside","followers_url":"https://api.github.com/users/Linux-Inside/followers","following_url":"https://api.github.com/users/Linux-Inside/following{/other_user}","gists_url":"https://api.github.com/users/Linux-Inside/gists{/gist_id}","starred_url":"https://api.github.com/users/Linux-Inside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linux-Inside/subscriptions","organizations_url":"https://api.github.com/users/Linux-Inside/orgs","repos_url":"https://api.github.com/users/Linux-Inside/repos","events_url":"https://api.github.com/users/Linux-Inside/events{/privacy}","received_events_url":"https://api.github.com/users/Linux-Inside/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Linux-Inside/linux-insides-zh","description":"linux内核揭密","fork":true,"url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh","forks_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/forks","keys_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/teams","hooks_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/hooks","issue_events_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/issues/events{/number}","events_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/events","assignees_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/assignees{/user}","branches_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/branches{/branch}","tags_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/tags","blobs_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/languages","stargazers_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/stargazers","contributors_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/contributors","subscribers_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/subscribers","subscription_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/subscription","commits_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/contents/{+path}","compare_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/merges","archive_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/downloads","issues_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/issues{/number}","pulls_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/labels{/name}","releases_url":"https://api.github.com/repos/Linux-Inside/linux-insides-zh/releases{/id}","created_at":"2015-12-09T02:18:58Z","updated_at":"2015-12-06T15:04:41Z","pushed_at":"2015-12-09T02:21:05Z","git_url":"git://github.com/Linux-Inside/linux-insides-zh.git","ssh_url":"git@github.com:Linux-Inside/linux-insides-zh.git","clone_url":"https://github.com/Linux-Inside/linux-insides-zh.git","svn_url":"https://github.com/Linux-Inside/linux-insides-zh","homepage":"https://xinqiu.gitbooks.io/linux-insides-cn/content/index.html","size":887,"stargazers_count":0,"watchers_count":0,"language":null,"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":"MintCN:master","ref":"master","sha":"7868b5e1132ddc7628b83abc8b5fb8a936635e64","user":{"login":"MintCN","id":14344718,"avatar_url":"https://avatars.githubusercontent.com/u/14344718?v=3","gravatar_id":"","url":"https://api.github.com/users/MintCN","html_url":"https://github.com/MintCN","followers_url":"https://api.github.com/users/MintCN/followers","following_url":"https://api.github.com/users/MintCN/following{/other_user}","gists_url":"https://api.github.com/users/MintCN/gists{/gist_id}","starred_url":"https://api.github.com/users/MintCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MintCN/subscriptions","organizations_url":"https://api.github.com/users/MintCN/orgs","repos_url":"https://api.github.com/users/MintCN/repos","events_url":"https://api.github.com/users/MintCN/events{/privacy}","received_events_url":"https://api.github.com/users/MintCN/received_events","type":"Organization","site_admin":false},"repo":{"id":42858285,"name":"linux-insides-zh","full_name":"MintCN/linux-insides-zh","owner":{"login":"MintCN","id":14344718,"avatar_url":"https://avatars.githubusercontent.com/u/14344718?v=3","gravatar_id":"","url":"https://api.github.com/users/MintCN","html_url":"https://github.com/MintCN","followers_url":"https://api.github.com/users/MintCN/followers","following_url":"https://api.github.com/users/MintCN/following{/other_user}","gists_url":"https://api.github.com/users/MintCN/gists{/gist_id}","starred_url":"https://api.github.com/users/MintCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MintCN/subscriptions","organizations_url":"https://api.github.com/users/MintCN/orgs","repos_url":"https://api.github.com/users/MintCN/repos","events_url":"https://api.github.com/users/MintCN/events{/privacy}","received_events_url":"https://api.github.com/users/MintCN/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MintCN/linux-insides-zh","description":"linux内核揭密","fork":false,"url":"https://api.github.com/repos/MintCN/linux-insides-zh","forks_url":"https://api.github.com/repos/MintCN/linux-insides-zh/forks","keys_url":"https://api.github.com/repos/MintCN/linux-insides-zh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MintCN/linux-insides-zh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MintCN/linux-insides-zh/teams","hooks_url":"https://api.github.com/repos/MintCN/linux-insides-zh/hooks","issue_events_url":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/events{/number}","events_url":"https://api.github.com/repos/MintCN/linux-insides-zh/events","assignees_url":"https://api.github.com/repos/MintCN/linux-insides-zh/assignees{/user}","branches_url":"https://api.github.com/repos/MintCN/linux-insides-zh/branches{/branch}","tags_url":"https://api.github.com/repos/MintCN/linux-insides-zh/tags","blobs_url":"https://api.github.com/repos/MintCN/linux-insides-zh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MintCN/linux-insides-zh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MintCN/linux-insides-zh/git/refs{/sha}","trees_url":"https://api.github.com/repos/MintCN/linux-insides-zh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MintCN/linux-insides-zh/statuses/{sha}","languages_url":"https://api.github.com/repos/MintCN/linux-insides-zh/languages","stargazers_url":"https://api.github.com/repos/MintCN/linux-insides-zh/stargazers","contributors_url":"https://api.github.com/repos/MintCN/linux-insides-zh/contributors","subscribers_url":"https://api.github.com/repos/MintCN/linux-insides-zh/subscribers","subscription_url":"https://api.github.com/repos/MintCN/linux-insides-zh/subscription","commits_url":"https://api.github.com/repos/MintCN/linux-insides-zh/commits{/sha}","git_commits_url":"https://api.github.com/repos/MintCN/linux-insides-zh/git/commits{/sha}","comments_url":"https://api.github.com/repos/MintCN/linux-insides-zh/comments{/number}","issue_comment_url":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/comments{/number}","contents_url":"https://api.github.com/repos/MintCN/linux-insides-zh/contents/{+path}","compare_url":"https://api.github.com/repos/MintCN/linux-insides-zh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MintCN/linux-insides-zh/merges","archive_url":"https://api.github.com/repos/MintCN/linux-insides-zh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MintCN/linux-insides-zh/downloads","issues_url":"https://api.github.com/repos/MintCN/linux-insides-zh/issues{/number}","pulls_url":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls{/number}","milestones_url":"https://api.github.com/repos/MintCN/linux-insides-zh/milestones{/number}","notifications_url":"https://api.github.com/repos/MintCN/linux-insides-zh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MintCN/linux-insides-zh/labels{/name}","releases_url":"https://api.github.com/repos/MintCN/linux-insides-zh/releases{/id}","created_at":"2015-09-21T09:58:48Z","updated_at":"2015-12-19T12:26:33Z","pushed_at":"2015-12-09T02:21:52Z","git_url":"git://github.com/MintCN/linux-insides-zh.git","ssh_url":"git@github.com:MintCN/linux-insides-zh.git","clone_url":"https://github.com/MintCN/linux-insides-zh.git","svn_url":"https://github.com/MintCN/linux-insides-zh","homepage":"https://xinqiu.gitbooks.io/linux-insides-cn/content/index.html","size":885,"stargazers_count":59,"watchers_count":59,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15"},"html":{"href":"https://github.com/MintCN/linux-insides-zh/pull/15"},"issue":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/15"},"comments":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/MintCN/linux-insides-zh/statuses/e52a6e0ae75361c9b31525e47df312bbe4ab0de2"}}}}