{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/mtorromeo/r8168/pulls/1","id":31916144,"html_url":"https://github.com/mtorromeo/r8168/pull/1","diff_url":"https://github.com/mtorromeo/r8168/pull/1.diff","patch_url":"https://github.com/mtorromeo/r8168/pull/1.patch","issue_url":"https://api.github.com/repos/mtorromeo/r8168/issues/1","number":1,"state":"closed","locked":false,"title":"Rename vlan_tx_tag* calls to skb_vlan_tag* for Linux 4.0.0","user":{"login":"chtitux","id":329467,"avatar_url":"https://avatars.githubusercontent.com/u/329467?v=3","gravatar_id":"","url":"https://api.github.com/users/chtitux","html_url":"https://github.com/chtitux","followers_url":"https://api.github.com/users/chtitux/followers","following_url":"https://api.github.com/users/chtitux/following{/other_user}","gists_url":"https://api.github.com/users/chtitux/gists{/gist_id}","starred_url":"https://api.github.com/users/chtitux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtitux/subscriptions","organizations_url":"https://api.github.com/users/chtitux/orgs","repos_url":"https://api.github.com/users/chtitux/repos","events_url":"https://api.github.com/users/chtitux/events{/privacy}","received_events_url":"https://api.github.com/users/chtitux/received_events","type":"User","site_admin":false},"body":"The commit in torvalds/linux@df8a39defad46b83694ea6dd868d332976d62cc0 has renamed some net functions, so if you encounter such error while compiling the driver with linux-4.0.0 or upper :\r\n\r\n```\r\n  CC [M]  /root/network/r8168/src/r8168_n.o\r\n/root/network/r8168/src/r8168_n.c: In function ‘rtl8168_tx_vlan_tag’:\r\n/root/network/r8168/src/r8168_n.c:3295:9: error: implicit declaration of function ‘vlan_tx_tag_present’ [-Werror=implicit-function-declaration]\r\n         tag = (vlan_tx_tag_present(skb)) ?\r\n         ^\r\n/root/network/r8168/src/r8168_n.c:3296:15: error: implicit declaration of function ‘vlan_tx_tag_get’ [-Werror=implicit-function-declaration]\r\n               TxVlanTag | swab16(vlan_tx_tag_get(skb)) : 0x00;\r\n               ^\r\ncc1: some warnings being treated as errors\r\nscripts/Makefile.build:258: recipe for target '/root/network/r8168/src/r8168_n.o' failed\r\n\r\n```\r\n\r\nyou can simply apply this patch and try to recompile.\r\n\r\nPS : I know this repository is simply a mirror, but I wanted to share the patch.","created_at":"2015-03-25T12:11:08Z","updated_at":"2015-05-26T14:17:01Z","closed_at":"2015-05-26T14:17:01Z","merged_at":null,"merge_commit_sha":"4e6d55e74efe650129ce690ef5f9dceb6e7ccd2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mtorromeo/r8168/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mtorromeo/r8168/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mtorromeo/r8168/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtorromeo/r8168/issues/1/comments","statuses_url":"https://api.github.com/repos/mtorromeo/r8168/statuses/f72f4ad0465a6419532156e85d00127a89446fba","head":{"label":"chtitux:linux400","ref":"linux400","sha":"f72f4ad0465a6419532156e85d00127a89446fba","user":{"login":"chtitux","id":329467,"avatar_url":"https://avatars.githubusercontent.com/u/329467?v=3","gravatar_id":"","url":"https://api.github.com/users/chtitux","html_url":"https://github.com/chtitux","followers_url":"https://api.github.com/users/chtitux/followers","following_url":"https://api.github.com/users/chtitux/following{/other_user}","gists_url":"https://api.github.com/users/chtitux/gists{/gist_id}","starred_url":"https://api.github.com/users/chtitux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtitux/subscriptions","organizations_url":"https://api.github.com/users/chtitux/orgs","repos_url":"https://api.github.com/users/chtitux/repos","events_url":"https://api.github.com/users/chtitux/events{/privacy}","received_events_url":"https://api.github.com/users/chtitux/received_events","type":"User","site_admin":false},"repo":{"id":32862180,"name":"r8168","full_name":"chtitux/r8168","owner":{"login":"chtitux","id":329467,"avatar_url":"https://avatars.githubusercontent.com/u/329467?v=3","gravatar_id":"","url":"https://api.github.com/users/chtitux","html_url":"https://github.com/chtitux","followers_url":"https://api.github.com/users/chtitux/followers","following_url":"https://api.github.com/users/chtitux/following{/other_user}","gists_url":"https://api.github.com/users/chtitux/gists{/gist_id}","starred_url":"https://api.github.com/users/chtitux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtitux/subscriptions","organizations_url":"https://api.github.com/users/chtitux/orgs","repos_url":"https://api.github.com/users/chtitux/repos","events_url":"https://api.github.com/users/chtitux/events{/privacy}","received_events_url":"https://api.github.com/users/chtitux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chtitux/r8168","description":"Linux device driver for Realtek Ethernet controllers (unofficial mirror)","fork":true,"url":"https://api.github.com/repos/chtitux/r8168","forks_url":"https://api.github.com/repos/chtitux/r8168/forks","keys_url":"https://api.github.com/repos/chtitux/r8168/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chtitux/r8168/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chtitux/r8168/teams","hooks_url":"https://api.github.com/repos/chtitux/r8168/hooks","issue_events_url":"https://api.github.com/repos/chtitux/r8168/issues/events{/number}","events_url":"https://api.github.com/repos/chtitux/r8168/events","assignees_url":"https://api.github.com/repos/chtitux/r8168/assignees{/user}","branches_url":"https://api.github.com/repos/chtitux/r8168/branches{/branch}","tags_url":"https://api.github.com/repos/chtitux/r8168/tags","blobs_url":"https://api.github.com/repos/chtitux/r8168/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chtitux/r8168/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chtitux/r8168/git/refs{/sha}","trees_url":"https://api.github.com/repos/chtitux/r8168/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chtitux/r8168/statuses/{sha}","languages_url":"https://api.github.com/repos/chtitux/r8168/languages","stargazers_url":"https://api.github.com/repos/chtitux/r8168/stargazers","contributors_url":"https://api.github.com/repos/chtitux/r8168/contributors","subscribers_url":"https://api.github.com/repos/chtitux/r8168/subscribers","subscription_url":"https://api.github.com/repos/chtitux/r8168/subscription","commits_url":"https://api.github.com/repos/chtitux/r8168/commits{/sha}","git_commits_url":"https://api.github.com/repos/chtitux/r8168/git/commits{/sha}","comments_url":"https://api.github.com/repos/chtitux/r8168/comments{/number}","issue_comment_url":"https://api.github.com/repos/chtitux/r8168/issues/comments{/number}","contents_url":"https://api.github.com/repos/chtitux/r8168/contents/{+path}","compare_url":"https://api.github.com/repos/chtitux/r8168/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chtitux/r8168/merges","archive_url":"https://api.github.com/repos/chtitux/r8168/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chtitux/r8168/downloads","issues_url":"https://api.github.com/repos/chtitux/r8168/issues{/number}","pulls_url":"https://api.github.com/repos/chtitux/r8168/pulls{/number}","milestones_url":"https://api.github.com/repos/chtitux/r8168/milestones{/number}","notifications_url":"https://api.github.com/repos/chtitux/r8168/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chtitux/r8168/labels{/name}","releases_url":"https://api.github.com/repos/chtitux/r8168/releases{/id}","created_at":"2015-03-25T12:09:59Z","updated_at":"2015-03-25T12:10:00Z","pushed_at":"2015-03-26T11:20:49Z","git_url":"git://github.com/chtitux/r8168.git","ssh_url":"git@github.com:chtitux/r8168.git","clone_url":"https://github.com/chtitux/r8168.git","svn_url":"https://github.com/chtitux/r8168","homepage":"http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false","size":325,"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":"mtorromeo:master","ref":"master","sha":"0ac102999483f1a8b7cfe87927cb2c45b05d2619","user":{"login":"mtorromeo","id":51503,"avatar_url":"https://avatars.githubusercontent.com/u/51503?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorromeo","html_url":"https://github.com/mtorromeo","followers_url":"https://api.github.com/users/mtorromeo/followers","following_url":"https://api.github.com/users/mtorromeo/following{/other_user}","gists_url":"https://api.github.com/users/mtorromeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorromeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorromeo/subscriptions","organizations_url":"https://api.github.com/users/mtorromeo/orgs","repos_url":"https://api.github.com/users/mtorromeo/repos","events_url":"https://api.github.com/users/mtorromeo/events{/privacy}","received_events_url":"https://api.github.com/users/mtorromeo/received_events","type":"User","site_admin":false},"repo":{"id":32311435,"name":"r8168","full_name":"mtorromeo/r8168","owner":{"login":"mtorromeo","id":51503,"avatar_url":"https://avatars.githubusercontent.com/u/51503?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorromeo","html_url":"https://github.com/mtorromeo","followers_url":"https://api.github.com/users/mtorromeo/followers","following_url":"https://api.github.com/users/mtorromeo/following{/other_user}","gists_url":"https://api.github.com/users/mtorromeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorromeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorromeo/subscriptions","organizations_url":"https://api.github.com/users/mtorromeo/orgs","repos_url":"https://api.github.com/users/mtorromeo/repos","events_url":"https://api.github.com/users/mtorromeo/events{/privacy}","received_events_url":"https://api.github.com/users/mtorromeo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtorromeo/r8168","description":"Linux device driver for Realtek Ethernet controllers (unofficial mirror)","fork":false,"url":"https://api.github.com/repos/mtorromeo/r8168","forks_url":"https://api.github.com/repos/mtorromeo/r8168/forks","keys_url":"https://api.github.com/repos/mtorromeo/r8168/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtorromeo/r8168/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtorromeo/r8168/teams","hooks_url":"https://api.github.com/repos/mtorromeo/r8168/hooks","issue_events_url":"https://api.github.com/repos/mtorromeo/r8168/issues/events{/number}","events_url":"https://api.github.com/repos/mtorromeo/r8168/events","assignees_url":"https://api.github.com/repos/mtorromeo/r8168/assignees{/user}","branches_url":"https://api.github.com/repos/mtorromeo/r8168/branches{/branch}","tags_url":"https://api.github.com/repos/mtorromeo/r8168/tags","blobs_url":"https://api.github.com/repos/mtorromeo/r8168/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtorromeo/r8168/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtorromeo/r8168/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtorromeo/r8168/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtorromeo/r8168/statuses/{sha}","languages_url":"https://api.github.com/repos/mtorromeo/r8168/languages","stargazers_url":"https://api.github.com/repos/mtorromeo/r8168/stargazers","contributors_url":"https://api.github.com/repos/mtorromeo/r8168/contributors","subscribers_url":"https://api.github.com/repos/mtorromeo/r8168/subscribers","subscription_url":"https://api.github.com/repos/mtorromeo/r8168/subscription","commits_url":"https://api.github.com/repos/mtorromeo/r8168/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtorromeo/r8168/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtorromeo/r8168/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtorromeo/r8168/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtorromeo/r8168/contents/{+path}","compare_url":"https://api.github.com/repos/mtorromeo/r8168/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtorromeo/r8168/merges","archive_url":"https://api.github.com/repos/mtorromeo/r8168/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtorromeo/r8168/downloads","issues_url":"https://api.github.com/repos/mtorromeo/r8168/issues{/number}","pulls_url":"https://api.github.com/repos/mtorromeo/r8168/pulls{/number}","milestones_url":"https://api.github.com/repos/mtorromeo/r8168/milestones{/number}","notifications_url":"https://api.github.com/repos/mtorromeo/r8168/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtorromeo/r8168/labels{/name}","releases_url":"https://api.github.com/repos/mtorromeo/r8168/releases{/id}","created_at":"2015-03-16T08:36:28Z","updated_at":"2015-04-03T02:32:33Z","pushed_at":"2015-05-26T14:06:35Z","git_url":"git://github.com/mtorromeo/r8168.git","ssh_url":"git@github.com:mtorromeo/r8168.git","clone_url":"https://github.com/mtorromeo/r8168.git","svn_url":"https://github.com/mtorromeo/r8168","homepage":"http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false","size":399,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtorromeo/r8168/pulls/1"},"html":{"href":"https://github.com/mtorromeo/r8168/pull/1"},"issue":{"href":"https://api.github.com/repos/mtorromeo/r8168/issues/1"},"comments":{"href":"https://api.github.com/repos/mtorromeo/r8168/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mtorromeo/r8168/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mtorromeo/r8168/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtorromeo/r8168/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mtorromeo/r8168/statuses/f72f4ad0465a6419532156e85d00127a89446fba"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":3,"deletions":0,"changed_files":1}}