{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":794089313,"defaultBranch":"ksu","name":"android_kernel_xiaomi_sm8250","ownerLogin":"Amiya-project","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-04-30T12:41:07.000Z","ownerAvatar":"https://github.com/avatars/u/157129398?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1722928403.0","currentOid":""},"activityList":{"items":[{"before":"83d38b5b837e5a7bed2f1a65256621a004b130a8","after":"9873fabfa1ce52cce19cc05eabf37a403c7444d2","ref":"refs/heads/los","pushedAt":"2024-08-07T11:34:33.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"BACKPORT: FROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txn\n\nWhen the target process is busy, incoming oneway transactions are\nqueued in the async_todo list. If the clients continue sending extra\noneway transactions while the target process is frozen, this queue can\nbecome too large to accommodate new transactions. That's why binder\ndriver introduced ONEWAY_SPAM_DETECTION to detect this situation. It's\nhelpful to debug the async binder buffer exhausting issue, but the\nissue itself isn't solved directly.\n\nIn real cases applications are designed to send oneway transactions\nrepeatedly, delivering updated inforamtion to the target process.\nTypical examples are Wi-Fi signal strength and some real time sensor\ndata. Even if the apps might only care about the lastet information,\nall outdated oneway transactions are still accumulated there until the\nfrozen process is thawed later. For this kind of situations, there's\nno existing method to skip those outdated transactions and deliver the\nlatest one only.\n\nThis patch introduces a new transaction flag TF_UPDATE_TXN. To use it,\nuse apps can set this new flag along with TF_ONE_WAY. When such an\noneway transaction is to be queued into the async_todo list of a frozen\nprocess, binder driver will check if any previous pending transactions\ncan be superseded by comparing their code, flags and target node. If\nsuch an outdated pending transaction is found, the latest transaction\nwill supersede that outdated one. This effectively prevents the async\nbinder buffer running out and saves unnecessary binder read workloads.\n\nAcked-by: Todd Kjos \nSigned-off-by: Li Li \nLink: https://lore.kernel.org/r/20220526220018.3334775-2-dualli@chromium.org\nSigned-off-by: Greg Kroah-Hartman \nBug: 231624308\nTest: manually check async binder buffer size of frozen apps\nTest: stress test with kernel 4.14/4.19/5.10/5.15\n(cherry picked from commit 9864bb4801331daa48514face9d0f4861e4d485b\n git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git\n char-misc-next)\nChange-Id: I1c4bff1eda1ca15aaaad5bf696c8fc00be743176\nSigned-off-by: UtsavBalar1231 ","shortMessageHtmlLink":"BACKPORT: FROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txn"}},{"before":"9988d241fe22e8c1f190126d94d93b47c72487ff","after":"83d38b5b837e5a7bed2f1a65256621a004b130a8","ref":"refs/heads/los","pushedAt":"2024-08-07T11:19:40.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Update kernelsu submodule to v0.9.5\n\nChange-Id: If012f0bcca5343f0fc76fb7f3f89b8732d28faac","shortMessageHtmlLink":"Update kernelsu submodule to v0.9.5"}},{"before":"ec73b6d34435290c30e519d9dd84b5ff45b76092","after":"9988d241fe22e8c1f190126d94d93b47c72487ff","ref":"refs/heads/los","pushedAt":"2024-08-07T04:03:52.000Z","pushType":"push","commitsCount":194,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Merge branch 'lineage-20' of https://github.com/LineageOS/android_kernel_qcom_sm8250 into los\n\n* 'lineage-20' of https://github.com/LineageOS/android_kernel_qcom_sm8250: (189 commits)\n msm/sde: prevent double register of input handler\n scsi: ufs: Use WQ_HIGHPRI for gating work.\n scsi: ufs: disable clock scaling\n scsi: ufs: atomic update for clkgating_enable\n scsi: ufs: call single_release to avoid memory leak\n scsi: ufs: Disable interrupt in reset path\n cpuidle: Do not select menu and ladder governors\n msm: ipa3: Changes to fix memory leak issue\n msm: ipa: avoid OOM Killer for temp allocations\n msm: ipa: use lower order pages\n UPSTREAM: HID: playstation: support updated DualSense rumble mode.\n UPSTREAM: HID: playstation: add initial DualSense Edge controller support\n UPSTREAM: HID: playstation: add DualSense player LED support.\n UPSTREAM: HID: playstation: add microphone mute support for DualSense.\n UPSTREAM: HID: playstation: add initial DualSense lightbar support.\n UPSTREAM: HID: playstation: fix array size comparison (off-by-one)\n UPSTREAM: HID: playstation: fix unused variable in ps_battery_get_property.\n BACKPORT: HID: playstation: report DualSense hardware and firmware version.\n BACKPORT: HID: playstation: add DualSense classic rumble support.\n UPSTREAM: HID: playstation: add DualSense Bluetooth support.\n ...\n\n Conflicts:\n\ttechpack/display/msm/sde/sde_encoder.c\n\nChange-Id: I39e477f0dadba2999f9b451cd075f4ff750a3c6e","shortMessageHtmlLink":"Merge branch 'lineage-20' of https://github.com/LineageOS/android_ker…"}},{"before":"0470963a678d160a87fb0e50521b108879caa032","after":"ec73b6d34435290c30e519d9dd84b5ff45b76092","ref":"refs/heads/los","pushedAt":"2024-08-07T04:00:50.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"scripts: Import mkdtboimg.py","shortMessageHtmlLink":"scripts: Import mkdtboimg.py"}},{"before":"5120da15c15a4014c3639ad8ca4da5461641a7ef","after":"0470963a678d160a87fb0e50521b108879caa032","ref":"refs/heads/los","pushedAt":"2024-08-06T11:46:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"techpack: display: msm: Adapt exposure adjustment values for sm8250\n\n- After thorough testing, these values seem to be the most adequate with close to zero flickering and low backlight intensity.\n\nTest: Open https://ledr.com/colours/white.htm, use another phone to record the screen, enable exposure adjustment to see flickering reduce and backlight intensity to be reduced.\n\n[muralivijay: Adapt to spes]\n[johnmart19: Adapt for sm8250]\n\nCo-authored-by: muralivijay \nCo-authored-by: johnmart19 ","shortMessageHtmlLink":"techpack: display: msm: Adapt exposure adjustment values for sm8250"}},{"before":"122f27a62e8822ef628d24a2d669b4a5eb782637","after":"5120da15c15a4014c3639ad8ca4da5461641a7ef","ref":"refs/heads/los","pushedAt":"2024-08-06T07:49:50.000Z","pushType":"push","commitsCount":194,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Merge branch 'lineage-20' of https://github.com/LineageOS/android_kernel_qcom_sm8250 into 14\n\n* 'lineage-20' of https://github.com/LineageOS/android_kernel_qcom_sm8250: (189 commits)\n msm/sde: prevent double register of input handler\n scsi: ufs: Use WQ_HIGHPRI for gating work.\n scsi: ufs: disable clock scaling\n scsi: ufs: atomic update for clkgating_enable\n scsi: ufs: call single_release to avoid memory leak\n scsi: ufs: Disable interrupt in reset path\n cpuidle: Do not select menu and ladder governors\n msm: ipa3: Changes to fix memory leak issue\n msm: ipa: avoid OOM Killer for temp allocations\n msm: ipa: use lower order pages\n UPSTREAM: HID: playstation: support updated DualSense rumble mode.\n UPSTREAM: HID: playstation: add initial DualSense Edge controller support\n UPSTREAM: HID: playstation: add DualSense player LED support.\n UPSTREAM: HID: playstation: add microphone mute support for DualSense.\n UPSTREAM: HID: playstation: add initial DualSense lightbar support.\n UPSTREAM: HID: playstation: fix array size comparison (off-by-one)\n UPSTREAM: HID: playstation: fix unused variable in ps_battery_get_property.\n BACKPORT: HID: playstation: report DualSense hardware and firmware version.\n BACKPORT: HID: playstation: add DualSense classic rumble support.\n UPSTREAM: HID: playstation: add DualSense Bluetooth support.\n ...\n\n Conflicts:\n\ttechpack/display/msm/sde/sde_encoder.c\n\nChange-Id: I9c46bfc4d0bec8f526c28af12c43f121ed9af4ac","shortMessageHtmlLink":"Merge branch 'lineage-20' of https://github.com/LineageOS/android_ker…"}},{"before":"b9f16865e758f2fb56a19e48b3064bd89017766e","after":"122f27a62e8822ef628d24a2d669b4a5eb782637","ref":"refs/heads/los","pushedAt":"2024-08-06T07:42:43.000Z","pushType":"push","commitsCount":51,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"techpack: video: msm: vidc: disable decode batching feature\n\nThis feature implemented for power optimization\nwith OMX but not well compliant with Codec 2.0.\nDisable it to unblock VT frame drop issue.\n\nBug: 149071324\nTest: VT frame rate test\nChange-Id: I187958f4da10d5936c0f0fbd5060301e55ac7f29\nSigned-off-by: Wen Chang Liu ","shortMessageHtmlLink":"techpack: video: msm: vidc: disable decode batching feature"}},{"before":"f02e2fb5fb4205b49977440509716e24656ba33d","after":"b9f16865e758f2fb56a19e48b3064bd89017766e","ref":"refs/heads/los","pushedAt":"2024-08-06T07:31:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"treewide: Replace snprintf() with the safer scnprintf() variant\n\nThis inspired by torvalds/linux@79632569619f4d57ff745398dba98e09105b5108\n\n../techpack/camera-xiaomi-tablet/drivers/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:39:4: error: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Werror,-Wfortify-source]\n 39 | snprintf(p_str, 12, \"0x%08x: \",\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:44:3: error: 'snprintf' will always be truncated; specified size is 9, but format string expands to at least 10 [-Werror,-Wfortify-source]\n 44 | snprintf(p_str, 9, \"%08x \", data);\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw1/cam_custom_sub_mod_dev.c:64:2: error: 'snprintf' will always be truncated; specified size is 8, but format string expands to at least 11 [-Werror,-Wfortify-source]\n 64 | snprintf(cam_custom_hw_sub_mod_name, sizeof(cam_custom_hw_sub_mod_name),\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_utils/cam_io_util.c:263:4: error: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Werror,-Wfortify-source]\n 263 | snprintf(p_str, 12, \"0x%08x: \",\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_utils/cam_io_util.c:268:3: error: 'snprintf' will always be truncated; specified size is 9, but format string expands to at least 10 [-Werror,-Wfortify-source]\n 268 | snprintf(p_str, 9, \"%08x \", data);\n | ^\n../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/htc/htc_recv.c:50:4: error: 'snprintf' will always be truncated; specified size is 2, but format string expands to at least 5 [-Werror,-Wfortify-source]\n 50 | A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), \"%4.4X\",\n | ^\n../drivers/staging/qcacld-3.0/uapi/linux/osapi_linux.h:75:42: note: expanded from macro 'A_SNPRINTF'\n 75 | #define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)\n | ^\n../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/htc/htc_recv.c:59:3: error: 'snprintf' will always be truncated; specified size is 2, but format string expands to at least 5 [-Werror,-Wfortify-source]\n 59 | A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), \"%4.4X\",\n | ^\n../drivers/staging/qcacld-3.0/uapi/linux/osapi_linux.h:75:42: note: expanded from macro 'A_SNPRINTF'\n 75 | #define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)\n | ^\n../techpack/video/msm/vidc/msm_vidc_common.c:3368:2: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3368 | d_vpr_e(\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:117:4: note: expanded from macro 'd_vpr_e'\n 117 | dprintk(VIDC_ERR, DEFAULT_SID, __fmt, ##__VA_ARGS__)\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n../techpack/video/msm/vidc/msm_vidc_common.c:3445:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3445 | s_vpr_e(inst->sid,\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:107:34: note: expanded from macro 's_vpr_e'\n 107 | #define s_vpr_e(sid, __fmt, ...) dprintk(VIDC_ERR, sid, __fmt, ##__VA_ARGS__)\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n CC techpack/video/msm/vidc/msm_vdec.o\n../techpack/video/msm/vidc/msm_vidc_common.c:6570:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 173 [-Werror,-Wfortify-source]\n 6570 | dprintk(tag, inst->sid,\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n\nChange-Id: I8e90bb75e6a0a227ca69da3446161c5197b36030\nSigned-off-by: Yuan Si ","shortMessageHtmlLink":"treewide: Replace snprintf() with the safer scnprintf() variant"}},{"before":"9445e8925b4167e8c91c81c06192f818bf589ead","after":null,"ref":"refs/heads/306/staging","pushedAt":"2024-08-06T07:13:23.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"d842122742e3b7ca91a181ce76f2ee0fa401b959","after":null,"ref":"refs/heads/sched","pushedAt":"2024-08-06T07:13:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"fd72327022a6159f7fc85b01c535a35173ed608b","after":null,"ref":"refs/heads/rcu","pushedAt":"2024-08-06T07:13:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"2d14fed59d6122b89999bd0d70734ee2f3cfe218","after":null,"ref":"refs/heads/sched-2","pushedAt":"2024-08-06T07:13:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"37f3fe15040f99768c4ec03c5d2c5458207a47f1","after":null,"ref":"refs/heads/test","pushedAt":"2024-08-06T07:13:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"ac474f9f13a053607b956d0b126d744e071b1a61","after":null,"ref":"refs/heads/4.19.294","pushedAt":"2024-08-06T07:13:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"}},{"before":"bc1b373a9bee1188084c61d418610a94205e5768","after":"f02e2fb5fb4205b49977440509716e24656ba33d","ref":"refs/heads/los","pushedAt":"2024-07-31T11:27:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"fix build","shortMessageHtmlLink":"fix build"}},{"before":"d9e7010cfe8af75220a0339cd29fb9574a67ebbd","after":"bc1b373a9bee1188084c61d418610a94205e5768","ref":"refs/heads/los","pushedAt":"2024-07-31T11:05:52.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"teckpack: Fix misleading indentation warnings\n/home/localhost/Android/PixelOS_14/kernel/xiaomi/sm8250/techpack/display/msm/dsi/dsi_panel.c:537:5: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]\n 537 | if (gpio_is_valid(panel->reset_config.tp_reset_gpio) && !panel->reset_gpio_always_on\n | ^\n/home/localhost/Android/PixelOS_14/kernel/xiaomi/sm8250/techpack/display/msm/dsi/dsi_panel.c:534:4: note: previous statement is here\n 534 | if (gpio_is_valid(panel->reset_config.reset_gpio))\n | ^\n AR techpack/camera-xiaomi/drivers/cam_cust/cam_custom_hw_mgr/built-in.a\n CC drivers/net/ethernet/marvell/sky2.o\n AR techpack/camera-xiaomi/drivers/cam_sync/built-in.a\n AR techpack/camera-xiaomi/drivers/cam_cust/built-in.a\n1 error generated.\n\nChange-Id: Ib1d773cdff7bb2ed6146039c4191a1bbba988c27","shortMessageHtmlLink":"teckpack: Fix misleading indentation warnings"}},{"before":"bab2491ec94cdfc9f68413f09dc2f144c2342a69","after":"d9e7010cfe8af75220a0339cd29fb9574a67ebbd","ref":"refs/heads/los","pushedAt":"2024-07-31T10:55:31.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"drivers: Fix misleading indentation warnings\n/home/localhost/Android/PixelOS_14/kernel/xiaomi/sm8250/drivers/misc/max31760.c:196:3: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]\n 196 | if (ret) {\n | ^\n/home/localhost/Android/PixelOS_14/kernel/xiaomi/sm8250/drivers/misc/max31760.c:194:4: note: previous statement is here\n 194 | } else\n | ^\n1 error generated.\n\nChange-Id: I82038814fec936f272fb3d4e96ae4163c0f6fef1","shortMessageHtmlLink":"drivers: Fix misleading indentation warnings"}},{"before":"377ba262c630171ed8da18d9b2cc2b02a1dc8c1d","after":"bab2491ec94cdfc9f68413f09dc2f144c2342a69","ref":"refs/heads/los","pushedAt":"2024-07-31T10:17:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"dcc_v2: Fix misleading indentations\n\nChange-Id: Ic6145100d9c402b5cd9db51377b45527c8ff41fe","shortMessageHtmlLink":"dcc_v2: Fix misleading indentations"}},{"before":"39ebb32d61bb47ce565634acc04ba8832254995b","after":"377ba262c630171ed8da18d9b2cc2b02a1dc8c1d","ref":"refs/heads/los","pushedAt":"2024-07-31T10:16:00.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"treewide: Replace snprintf() with the safer scnprintf() variant","shortMessageHtmlLink":"treewide: Replace snprintf() with the safer scnprintf() variant"}},{"before":"a641a56488e1495d7c5f9e01a9c0ffcb40567f06","after":"39ebb32d61bb47ce565634acc04ba8832254995b","ref":"refs/heads/los","pushedAt":"2024-07-31T09:57:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"treewide: Replace snprintf() with the safer scnprintf() variant\n\nThis inspired by torvalds/linux@79632569619f4d57ff745398dba98e09105b5108\n\n../techpack/camera-xiaomi-tablet/drivers/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:39:4: error: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Werror,-Wfortify-source]\n 39 | snprintf(p_str, 12, \"0x%08x: \",\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_sensor_module/cam_csiphy/cam_csiphy_soc.c:44:3: error: 'snprintf' will always be truncated; specified size is 9, but format string expands to at least 10 [-Werror,-Wfortify-source]\n 44 | snprintf(p_str, 9, \"%08x \", data);\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw1/cam_custom_sub_mod_dev.c:64:2: error: 'snprintf' will always be truncated; specified size is 8, but format string expands to at least 11 [-Werror,-Wfortify-source]\n 64 | snprintf(cam_custom_hw_sub_mod_name, sizeof(cam_custom_hw_sub_mod_name),\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_utils/cam_io_util.c:263:4: error: 'snprintf' will always be truncated; specified size is 12, but format string expands to at least 13 [-Werror,-Wfortify-source]\n 263 | snprintf(p_str, 12, \"0x%08x: \",\n | ^\n../techpack/camera-xiaomi-tablet/drivers/cam_utils/cam_io_util.c:268:3: error: 'snprintf' will always be truncated; specified size is 9, but format string expands to at least 10 [-Werror,-Wfortify-source]\n 268 | snprintf(p_str, 9, \"%08x \", data);\n | ^\n../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/htc/htc_recv.c:50:4: error: 'snprintf' will always be truncated; specified size is 2, but format string expands to at least 5 [-Werror,-Wfortify-source]\n 50 | A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), \"%4.4X\",\n | ^\n../drivers/staging/qcacld-3.0/uapi/linux/osapi_linux.h:75:42: note: expanded from macro 'A_SNPRINTF'\n 75 | #define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)\n | ^\n../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/htc/htc_recv.c:59:3: error: 'snprintf' will always be truncated; specified size is 2, but format string expands to at least 5 [-Werror,-Wfortify-source]\n 59 | A_SNPRINTF(byteOffsetStr, sizeof(byteOffset), \"%4.4X\",\n | ^\n../drivers/staging/qcacld-3.0/uapi/linux/osapi_linux.h:75:42: note: expanded from macro 'A_SNPRINTF'\n 75 | #define A_SNPRINTF(buf, len, args ...) snprintf(buf, len, args)\n | ^\n../techpack/video/msm/vidc/msm_vidc_common.c:3368:2: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3368 | d_vpr_e(\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:117:4: note: expanded from macro 'd_vpr_e'\n 117 | dprintk(VIDC_ERR, DEFAULT_SID, __fmt, ##__VA_ARGS__)\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n../techpack/video/msm/vidc/msm_vidc_common.c:3445:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3445 | s_vpr_e(inst->sid,\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:107:34: note: expanded from macro 's_vpr_e'\n 107 | #define s_vpr_e(sid, __fmt, ...) dprintk(VIDC_ERR, sid, __fmt, ##__VA_ARGS__)\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n CC techpack/video/msm/vidc/msm_vdec.o\n../techpack/video/msm/vidc/msm_vidc_common.c:6570:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 173 [-Werror,-Wfortify-source]\n 6570 | dprintk(tag, inst->sid,\n | ^\n../techpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n\nChange-Id: I8e90bb75e6a0a227ca69da3446161c5197b36030\nSigned-off-by: Yuan Si ","shortMessageHtmlLink":"treewide: Replace snprintf() with the safer scnprintf() variant"}},{"before":"2fcf47088a1e4df6ccf9cd03b91ced3691a5637d","after":"a641a56488e1495d7c5f9e01a9c0ffcb40567f06","ref":"refs/heads/los","pushedAt":"2024-07-31T09:50:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"include: msm_vidc_events: Fix buffer size in snprintf calls\n\n- Fixes following errors:\ntechpack/video/msm/vidc/msm_vidc_common.c:3361:2: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3361 | d_vpr_e(\n | ^\ntechpack/video/msm/vidc/msm_vidc_debug.h:117:4: note: expanded from macro 'd_vpr_e'\n 117 | dprintk(VIDC_ERR, DEFAULT_SID, __fmt, ##__VA_ARGS__)\n | ^\ntechpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\ntechpack/video/msm/vidc/msm_vidc_common.c:3438:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 248 [-Werror,-Wfortify-source]\n 3438 | s_vpr_e(inst->sid,\n | ^\ntechpack/video/msm/vidc/msm_vidc_debug.h:107:34: note: expanded from macro 's_vpr_e'\n 107 | #define s_vpr_e(sid, __fmt, ...) dprintk(VIDC_ERR, sid, __fmt, ##__VA_ARGS__)\n | ^\ntechpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\ntechpack/video/msm/vidc/msm_vidc_common.c:6563:3: error: 'snprintf' will always be truncated; specified size is 128, but format string expands to at least 173 [-Werror,-Wfortify-source]\n 6563 | dprintk(tag, inst->sid,\n | ^\ntechpack/video/msm/vidc/msm_vidc_debug.h:87:22: note: expanded from macro 'dprintk'\n 87 | int log_length = snprintf(trace_logbuf, \\\n | ^\n3 errors generated.\n\nChange-Id: I439f94e33a7ba84ca72dca0fbeaa9e45e80043d4\nSigned-off-by: hridaya ","shortMessageHtmlLink":"include: msm_vidc_events: Fix buffer size in snprintf calls"}},{"before":"133b54a060d6323025eeb5eb159b9e9150c4b916","after":"2fcf47088a1e4df6ccf9cd03b91ced3691a5637d","ref":"refs/heads/los","pushedAt":"2024-07-31T09:41:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"fscrypt: Fix misleading indentation\n\nfs/crypto/policy.c:656:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]\n 656 | return 0;\n | ^\nfs/crypto/policy.c:654:3: note: previous statement is here\n 654 | if (!strcmp(boot, SDHCI) && !strcmp(file_system_type, \"f2fs\"))\n | ^\n1 error generated.\n\nChange-Id: I14c5d8aec6ff611be24548dd228ee0264c72ab38","shortMessageHtmlLink":"fscrypt: Fix misleading indentation"}},{"before":"a06c894114e3b6e4bd18860489855379d51498a6","after":"133b54a060d6323025eeb5eb159b9e9150c4b916","ref":"refs/heads/los","pushedAt":"2024-07-31T09:33:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Silence Clang 18 error\n\nerror: taking address of packed member 'tlv_header' of class or structure 'pe_hang_event_fixed_param' may result in an unaligned pointer value [-Werror,-Waddress-of-packed-member]","shortMessageHtmlLink":"Silence Clang 18 error"}},{"before":"208f368cdf371f53ff59dd83bf4a1541503694bd","after":"a06c894114e3b6e4bd18860489855379d51498a6","ref":"refs/heads/los","pushedAt":"2024-07-31T08:45:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro\n\nAfter r372664 in clang, the IF_ASSIGN macro causes a couple hundred\nwarnings along the lines of:\n\nkernel/trace/trace_output.c:1331:2: warning: converting the enum\nconstant to a boolean [-Wint-in-bool-context]\nkernel/trace/trace.h:409:3: note: expanded from macro\n'trace_assign_type'\n IF_ASSIGN(var, ent, struct ftrace_graph_ret_entry,\n ^\nkernel/trace/trace.h:371:14: note: expanded from macro 'IF_ASSIGN'\n WARN_ON(id && (entry)->type != id); \\\n ^\n264 warnings generated.\n\nThis warning can catch issues with constructs like:\n\n if (state == A || B)\n\nwhere the developer really meant:\n\n if (state == A || state == B)\n\nThis is currently the only occurrence of the warning in the kernel\ntree across defconfig, allyesconfig, allmodconfig for arm32, arm64,\nand x86_64. Add the implicit '!= 0' to the WARN_ON statement to fix\nthe warnings and find potential issues in the future.\n\nLink: https://github.com/llvm/llvm-project/commit/28b38c277a2941e9e891b2db30652cfd962f070b\nLink: https://github.com/ClangBuiltLinux/linux/issues/686\nLink: http://lkml.kernel.org/r/20190926162258.466321-1-natechancellor@gmail.com\n\nReviewed-by: Nick Desaulniers \nChange-Id: Ie386f06316743073363f974e7539d43ff769b91c\nSigned-off-by: Nathan Chancellor \nSigned-off-by: Steven Rostedt (VMware) ","shortMessageHtmlLink":"tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro"}},{"before":"0b967da514b28aef10da76ffe79e9d2320e35606","after":"208f368cdf371f53ff59dd83bf4a1541503694bd","ref":"refs/heads/los","pushedAt":"2024-07-31T08:10:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"script: Fix missing terminating character in compile.h\n\nRefer to: https://github.com/LineageOS/android_kernel_sony_sm8250/blob/lineage-21/scripts/mkcompile_h#L76\nAdd \"-m1\" for grep to fix the following issues without hardcode compiler name (https://github.com/crdroidandroid/android_kernel_xiaomi_thyme/commit/24b147d266122e5464a358725a23dc9c23cb1a1c):\n- Warnings and errors about missing terminating '\"' character and unknown type name '__s8'\n while compiling include/generated/compile.h\n\nBefore the fix, the error messages were as follows:\nIn file included from ../../../../../../kernel/sony/sm8150/init/version.c:9:\n./include/generated/compile.h:7:24: warning: missing terminating '\"' character [-Winvalid-pp-token]\n 7 | #define LINUX_COMPILER \"Android (11368308, +pgo, +bolt, +lto, +mlgo, based on r510928) clang version 18.0.0 (https://android.googlesource.com/toolchain/llvm-project 477610d4d0d988e69dbc3fae4fe86bff3f07f2b5)\n | ^\n./include/generated/compile.h:8:1: error: unknown type name 'Found'\n 8 | Found HIP installation: /dev/null, version 3.5.0, LLD 18.0.0\"\n | ^\n./include/generated/compile.h:8:10: error: expected ';' after top level declarator\n 8 | Found HIP installation: /dev/null, version 3.5.0, LLD 18.0.0\"\n | ^\n | ;\n./include/generated/compile.h:8:61: warning: missing terminating '\"' character [-Winvalid-pp-token]\n 8 | Found HIP installation: /dev/null, version 3.5.0, LLD 18.0.0\"\n | ^\nIn file included from ../../../../../../kernel/sony/sm8150/init/version.c:10:\nIn file included from ../../../../../../kernel/sony/sm8150/include/linux/module.h:9:\nIn file included from ../../../../../../kernel/sony/sm8150/include/linux/list.h:5:\n../../../../../../kernel/sony/sm8150/include/linux/types.h:102:10: error: unknown type name '__s8'; did you mean '__u8'?\n 102 | typedef __s8 int8_t;\n | ^~~~\n | __u8\n../../../../../../kernel/sony/sm8150/include/uapi/asm-generic/int-ll64.h:21:23: note: '__u8' declared here\n 21 | typedef unsigned char __u8;\n | ^\n../../../../../../kernel/sony/sm8150/init/version.c:46:26: error: expected ';' after top level declarator\n 46 | LINUX_COMPILE_HOST \") (\" LINUX_COMPILER \") \" UTS_VERSION \"\\n\";\n | ^\n | ;\n../../../../../../kernel/sony/sm8150/init/version.c:51:6: error: expected ';' after top level declarator\n 51 | \" (\" LINUX_COMPILER \") %s\\n\";\n | ^\n | ;\n2 warnings and 5 errors generated.","shortMessageHtmlLink":"script: Fix missing terminating character in compile.h"}},{"before":null,"after":"0b967da514b28aef10da76ffe79e9d2320e35606","ref":"refs/heads/los","pushedAt":"2024-07-31T07:09:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"arch: arm64: configs: cmi: Switch to TECHPACK_CAMERA_XIAOMI_CAS\n\nWithout this, the camera doesn't work.\n\nChange-Id: Ia58f2b767b108fd81bdd1a88b673a2347b3b6da4","shortMessageHtmlLink":"arch: arm64: configs: cmi: Switch to TECHPACK_CAMERA_XIAOMI_CAS"}},{"before":null,"after":"46de4e5c16256054188093c7d289150577e13eec","ref":"refs/heads/14-qpr3","pushedAt":"2024-07-28T13:36:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"ARM64: dts: Import reserved memory changes from the thyme stock dts\n\nSigned-off-by: Fuutao ","shortMessageHtmlLink":"ARM64: dts: Import reserved memory changes from the thyme stock dts"}},{"before":"f3d39dae3253e7f8bb623eb83a146088f3174148","after":"8ae1916c16d92a94509f6d2533a738ee53abacf4","ref":"refs/heads/14","pushedAt":"2024-06-22T04:11:13.000Z","pushType":"push","commitsCount":134,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Update kernelsu submodule to v0.9.5\n\nChange-Id: If012f0bcca5343f0fc76fb7f3f89b8732d28faac","shortMessageHtmlLink":"Update kernelsu submodule to v0.9.5"}},{"before":"ad99e949ed88d79ab5b122d9d4685799c96745b2","after":"f3d39dae3253e7f8bb623eb83a146088f3174148","ref":"refs/heads/14","pushedAt":"2024-06-22T04:00:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20\n\nChange-Id: I4b52f660c586a3f9a7393cbff534ff35e83fc1a3","shortMessageHtmlLink":"Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20"}},{"before":null,"after":"ac474f9f13a053607b956d0b126d744e071b1a61","ref":"refs/heads/4.19.294","pushedAt":"2024-06-01T08:56:41.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Tkiliay","name":"Toyohama","path":"/Tkiliay","primaryAvatarUrl":"https://github.com/avatars/u/63190912?s=80&v=4"},"commit":{"message":"Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona\n\n\"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0\"\n\n* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:\n msm: camera: cci: Optimize the processing of CCI timeout\n\nChange-Id: I58d4791205c4b86e8847a511227987388773c65f","shortMessageHtmlLink":"Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codeli…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAElBo4MgA","startCursor":null,"endCursor":null}},"title":"Activity · Amiya-project/android_kernel_xiaomi_sm8250"}