{"action":"created","issue":{"url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/73","repository_url":"https://api.github.com/repos/analogdevicesinc/libiio","labels_url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/73/comments","events_url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/73/events","html_url":"https://github.com/analogdevicesinc/libiio/issues/73","id":195874433,"number":73,"title":"`chan->extend_name` does not seem to be parsed correctly anymore","user":{"login":"rlefevre","id":5399281,"avatar_url":"https://avatars.githubusercontent.com/u/5399281?v=3","gravatar_id":"","url":"https://api.github.com/users/rlefevre","html_url":"https://github.com/rlefevre","followers_url":"https://api.github.com/users/rlefevre/followers","following_url":"https://api.github.com/users/rlefevre/following{/other_user}","gists_url":"https://api.github.com/users/rlefevre/gists{/gist_id}","starred_url":"https://api.github.com/users/rlefevre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlefevre/subscriptions","organizations_url":"https://api.github.com/users/rlefevre/orgs","repos_url":"https://api.github.com/users/rlefevre/repos","events_url":"https://api.github.com/users/rlefevre/events{/privacy}","received_events_url":"https://api.github.com/users/rlefevre/received_events","type":"User","site_admin":false},"labels":[{"id":81042988,"url":"https://api.github.com/repos/analogdevicesinc/libiio/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-15T18:04:10Z","updated_at":"2016-12-19T15:39:48Z","closed_at":null,"body":"Hi, \r\n\r\nIt seems to me that kernel `chan->extend_name` is not parsed anymore correctly in sysfs for some time.\r\n\r\n1. `get_short_attr_name()` does not handle it, therefore `handle_protected_scan_element_attr()` is not able to detect protected attributes, leading to an error.\r\n2. as protected attributes do not work when an `extend_name` is there, `set_channel_name()` is not able anymore to find the name and fix attributes. Also, protected attributes are not part anymore of the attributes list, so this would not work anyway.\r\n\r\nI'm not sure about the best way to fix this. Maybe `set_channel_name()` should be removed (it looks like a hack more than a proper solution) and a `get_channel_name()` function should be called at the same time than `get_channel_id()`, but do we have enough information at this moment?\r\n\r\nDid I miss something?\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/comments/267995780","html_url":"https://github.com/analogdevicesinc/libiio/issues/73#issuecomment-267995780","issue_url":"https://api.github.com/repos/analogdevicesinc/libiio/issues/73","id":267995780,"user":{"login":"pcercuei","id":403272,"avatar_url":"https://avatars.githubusercontent.com/u/403272?v=3","gravatar_id":"","url":"https://api.github.com/users/pcercuei","html_url":"https://github.com/pcercuei","followers_url":"https://api.github.com/users/pcercuei/followers","following_url":"https://api.github.com/users/pcercuei/following{/other_user}","gists_url":"https://api.github.com/users/pcercuei/gists{/gist_id}","starred_url":"https://api.github.com/users/pcercuei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcercuei/subscriptions","organizations_url":"https://api.github.com/users/pcercuei/orgs","repos_url":"https://api.github.com/users/pcercuei/repos","events_url":"https://api.github.com/users/pcercuei/events{/privacy}","received_events_url":"https://api.github.com/users/pcercuei/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T15:39:48Z","updated_at":"2016-12-19T15:39:48Z","body":"Nice :)\r\n\r\nI'll wait for the review of @lclausen-adi to merge it to master, he will be back in January."}}
{"actor":{"display_login":"pcercuei"}}