{"action":"closed","issue":{"url":"https://api.github.com/repos/exynos5420/android_kernel_samsung_exynos5420/issues/2","repository_url":"https://api.github.com/repos/exynos5420/android_kernel_samsung_exynos5420","labels_url":"https://api.github.com/repos/exynos5420/android_kernel_samsung_exynos5420/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/exynos5420/android_kernel_samsung_exynos5420/issues/2/comments","events_url":"https://api.github.com/repos/exynos5420/android_kernel_samsung_exynos5420/issues/2/events","html_url":"https://github.com/exynos5420/android_kernel_samsung_exynos5420/issues/2","id":193304074,"node_id":"MDU6SXNzdWUxOTMzMDQwNzQ=","number":2,"title":"Reported error in config CONFIG_QC_MODEM=y","user":{"login":"FlyGoat","id":5955297,"node_id":"MDQ6VXNlcjU5NTUyOTc=","avatar_url":"https://avatars1.githubusercontent.com/u/5955297?v=4","gravatar_id":"","url":"https://api.github.com/users/FlyGoat","html_url":"https://github.com/FlyGoat","followers_url":"https://api.github.com/users/FlyGoat/followers","following_url":"https://api.github.com/users/FlyGoat/following{/other_user}","gists_url":"https://api.github.com/users/FlyGoat/gists{/gist_id}","starred_url":"https://api.github.com/users/FlyGoat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlyGoat/subscriptions","organizations_url":"https://api.github.com/users/FlyGoat/orgs","repos_url":"https://api.github.com/users/FlyGoat/repos","events_url":"https://api.github.com/users/FlyGoat/events{/privacy}","received_events_url":"https://api.github.com/users/FlyGoat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-03T17:57:34Z","updated_at":"2018-07-30T06:34:59Z","closed_at":"2018-07-30T06:34:59Z","author_association":"CONTRIBUTOR","body":"Hi there\r\nThanks for your hard work first.(Forgive my poor English plz,I'm just a middle school student in China and English is not my native language.)\r\nI'm trying to port CM13 to my klimttd also as known as SM-T705C and klimtltetdzc. The only difference between klimttd and klimtlte is it uses Qualcomm MDM9225 as modem and provide gps. I'm succeed make it almost work but still some issue with modem because a issue happen when compiling. I believe caused by  CONFIG_QC_MODEM=y .\r\n\r\nit says:\r\nIn file included from include/linux/kernel.h:22:0,\r\n                 from include/linux/spinlock.h:55,\r\n                 from include/linux/mmzone.h:7,\r\n                 from include/linux/gfp.h:4,\r\n                 from include/linux/slab.h:12,\r\n                 from drivers/char/diag/diagfwd.c:12:\r\ndrivers/char/diag/diagfwd.c: In function 'diag_process_hdlc':\r\ninclude/linux/printk.h:256:9: error: type defaults to 'int' in declaration of 'DEFINE_RATELIMIT_STATE' [-Werror=implicit-int]\r\n  static DEFINE_RATELIMIT_STATE(_rs,    \\\r\n         ^\r\ninclude/linux/printk.h:275:2: note: in expansion of macro 'printk_ratelimited'\r\n  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)\r\n  ^\r\ndrivers/char/diag/diagfwd.c:1452:3: note: in expansion of macro 'pr_err_ratelimited'\r\n   pr_err_ratelimited(\"diag: In %s, message is too short, len: %d,\"\r\n   ^\r\ndrivers/char/diag/diagfwd.c:1452:3: error: parameter names (without types) in function declaration [-Werror]\r\nIn file included from include/linux/kernel.h:22:0,\r\n                 from include/linux/spinlock.h:55,\r\n                 from include/linux/mmzone.h:7,\r\n                 from include/linux/gfp.h:4,\r\n                 from include/linux/slab.h:12,\r\n                 from drivers/char/diag/diagfwd.c:12:\r\ninclude/linux/printk.h:256:9: error: invalid storage class for function 'DEFINE_RATELIMIT_STATE'\r\n  static DEFINE_RATELIMIT_STATE(_rs,    \\\r\n         ^\r\ninclude/linux/printk.h:275:2: note: in expansion of macro 'printk_ratelimited'\r\n  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)\r\n  ^\r\ndrivers/char/diag/diagfwd.c:1452:3: note: in expansion of macro 'pr_err_ratelimited'\r\n   pr_err_ratelimited(\"diag: In %s, message is too short, len: %d,\"\r\n   ^\r\ndrivers/char/diag/diagfwd.c:1452:3: error: implicit declaration of function '__ratelimit' [-Werror=implicit-function-declaration]\r\nIn file included from include/linux/kernel.h:22:0,\r\n                 from include/linux/spinlock.h:55,\r\n                 from include/linux/mmzone.h:7,\r\n                 from include/linux/gfp.h:4,\r\n                 from include/linux/slab.h:12,\r\n                 from drivers/char/diag/diagfwd.c:12:\r\ninclude/linux/printk.h:260:19: error: '_rs' undeclared (first use in this function)\r\n  if (__ratelimit(&_rs))      \\\r\n                   ^\r\ninclude/linux/printk.h:275:2: note: in expansion of macro 'printk_ratelimited'\r\n  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)\r\n  ^\r\ndrivers/char/diag/diagfwd.c:1452:3: note: in expansion of macro 'pr_err_ratelimited'\r\n   pr_err_ratelimited(\"diag: In %s, message is too short, len: %d,\"\r\n   ^\r\ninclude/linux/printk.h:260:19: note: each undeclared identifier is reported only once for each function it appears in\r\n  if (__ratelimit(&_rs))      \\\r\n                   ^\r\ninclude/linux/printk.h:275:2: note: in expansion of macro 'printk_ratelimited'\r\n  printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)\r\n  ^\r\ndrivers/char/diag/diagfwd.c:1452:3: note: in expansion of macro 'pr_err_ratelimited'\r\n   pr_err_ratelimited(\"diag: In %s, message is too short, len: %d,\"\r\n   ^\r\n  LD      sound/pci/lola/built-in.o\r\ncc1: all warnings being treated as errors\r\nmake[3]: *** [scripts/Makefile.build:307：drivers/char/diag/diagfwd.o] 错误 1\r\nmake[2]: *** [scripts/Makefile.build:443：drivers/char/diag] 错误 2\r\nmake[1]: *** [scripts/Makefile.build:443：drivers/char] 错误 2\r\nmake: *** [Makefile:985：drivers] 错误 2\r\nmake: *** 正在等待未完成的任务....\r\n"}}
{"actor":{"display_login":"deadman96385"}}