{"push_id":1390010235,"size":15,"distinct_size":15,"ref":"refs/heads/master","head":"b58ec8b5824717875b844a9e8cc62fc6eb5fd289","before":"bc33b0ca11e3df467777a4fa7639ba488c9d4911","commits":[{"sha":"38d8ed65092ed22f52a95f397855cace0260e110","author":{"name":"Colin Ian King","email":"61b69653f478c16de27cbf2a77617b5a614a704a@canonical.com"},"message":"hwmon: (core) fix resource leak on devm_kcalloc failure\n\nIf dev_kcalloc fails to allocate hw_dev->groups then the current\nexit path is a direct return, causing a leak of resources such\nas hwdev and ida is not removed.  Fix this by exiting via the\nfree_hwmon exit path that performs the necessary resource cleanup.\n\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/38d8ed65092ed22f52a95f397855cace0260e110"},{"sha":"5459ada2b3cd69e6bf1b0c034feb810975d0072b","author":{"name":"Srinivas Pandruvada","email":"bafa8fbaf973e74aae734803a1f0d8e07d0d0888@linux.intel.com"},"message":"HID: sensor-hub: Fix packing of result buffer for feature report\n\nWhen report count is more than one and report size is not 4 bytes, then we\nneed some packing into result buffer from the caller of function\nsensor_hub_get_feature.\nBy default the value extracted from a field is 4 bytes from hid core\n(using hid_hw_request(hsdev->hdev, report, HID_REQ_GET_REPORT)), even\nif report size if less than 4 byte. So when we copy data to user buffer in\nsensor_hub_get_feature, we need to only copy report size bytes even\nwhen report count is more than 1. This is\nnot an issue for most of the sensor hub fields as report count will be 1\nwhere we already copy only report size bytes, but some string fields\nlike description, it is a problem as the report count will be more than 1.\nFor example:\n    Field(6)\n      Physical(Sensor.OtherCustom)\n      Application(Sensor.Sensor)\n      Usage(11)\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n        Sensor.0306\n      Report Size(16)\n      Report Count(11)\n\nHere since the report size is 2 bytes, we will have 2 additional bytes of\n0s copied into user buffer, if we directly copy to user buffer from\nreport->field[]->value\n\nThis change will copy report size bytes into the buffer of caller for each\nusage report->field[]->value. So for example without this change, the\ndata displayed for a custom sensor field \"sensor-model\":\n\n76 00 101 00 110 00 111 00 118 00 111\n(truncated to report count of 11)\n\nWith change\n\n76 101 110 111 118 111 32 89 111 103 97\n(\"Lenovo Yoga\" in ASCII )\n\nSigned-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/5459ada2b3cd69e6bf1b0c034feb810975d0072b"},{"sha":"1793e1c5217c2dc447d79720399a1d4e60c47761","author":{"name":"Borislav Petkov","email":"eb590213a9667d8ba86dc1d7da45a37c724b7836@suse.de"},"message":"HID: intel-ish-hid: Fix !CONFIG_PM build warning\n\nFix\n\n  drivers/hid/intel-ish-hid/ipc/pci-ish.c:247:12: warning: ‘ish_suspend’ defined but not used [-Wunused-function]\n   static int ish_suspend(struct device *device)\n              ^\n  drivers/hid/intel-ish-hid/ipc/pci-ish.c:282:12: warning: ‘ish_resume’ defined but not used [-Wunused-function]\n   static int ish_resume(struct device *device)\n            ^\nby sticking them in the CONFIG_PM range too.\n\nSigned-off-by: Borislav Petkov <bp@suse.de>\nCc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nCc: Jiri Kosina <jikos@kernel.org>\nCc: Benjamin Tissoires <benjamin.tissoires@redhat.com>\nCc: Wei Yongjun <weiyongjun1@huawei.com>\nCc: linux-input@vger.kernel.org\nAcked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/1793e1c5217c2dc447d79720399a1d4e60c47761"},{"sha":"cf0ea4da4c7df11f7a508b2f37518e0f117f3791","author":{"name":"Oliver Neukum","email":"af55dedc0d50bd691239218b486da844e4a16906@suse.com"},"message":"HID: usbhid: add ATEN CS962 to list of quirky devices\n\nLike many similar devices it needs a quirk to work.\nIssuing the request gets the device into an irrecoverable state.\n\nSigned-off-by: Oliver Neukum <oneukum@suse.com>\nCC: stable@vger.kernel.org\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/cf0ea4da4c7df11f7a508b2f37518e0f117f3791"},{"sha":"c2ed83f5426624beda0ecfcb17df033fe4bff7f7","author":{"name":"Even Xu","email":"6dc625139eb49fefb4cfa4ca279f73e0d09da210@intel.com"},"message":"HID: intel-ish-hid: consolidate ish wake up operation\n\nSame operations are done in ish_hw_start() and _ish_hw_reset() to\nwakeup ISH device. Consolidate them by introducing a new function\nish_wakeup() and move the code there.\n\nSigned-off-by: Even Xu <even.xu@intel.com>\nAcked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/c2ed83f5426624beda0ecfcb17df033fe4bff7f7"},{"sha":"8b2979febc134f038f3c8396cb04893f96e03b4f","author":{"name":"Even Xu","email":"6dc625139eb49fefb4cfa4ca279f73e0d09da210@intel.com"},"message":"HID: intel-ish-hid: Move DMA disable code to new function\n\nAdd a new function ish_disable_dma() and move DMA disable operations\nhere, so that this functionality can be reused.\n\nSigned-off-by: Even Xu <even.xu@intel.com>\nAcked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/8b2979febc134f038f3c8396cb04893f96e03b4f"},{"sha":"2a1e3b932c5606e2b3671b82eb63929937eb1e0b","author":{"name":"Even Xu","email":"6dc625139eb49fefb4cfa4ca279f73e0d09da210@intel.com"},"message":"HID: intel-ish-hid: Fix driver reinit failure\n\nWhen built as a module, modprobe followed by rmmod can fail because\nDMA was still active. So to fix this, DMA needs to be disabled during\nmodule exit.\n\nThis change disables DMA during modules exit and change the ISH PCI\ndevice status to D3.\n\nSigned-off-by: Even Xu <even.xu@intel.com>\nAcked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/2a1e3b932c5606e2b3671b82eb63929937eb1e0b"},{"sha":"021afd55e2191248b471b29b9d0a96c267939a4d","author":{"name":"Srinivas Pandruvada","email":"bafa8fbaf973e74aae734803a1f0d8e07d0d0888@linux.intel.com"},"message":"HID: intel-ish-hid: request_irq failure\n\nOn some platforms ISH interrupt is shared, which causes request_irq to\nfail. This requires IRQF_SHARED irq flag.\n\nBut IRQF_NO_SUSPEND and IRQF_SHARED should not be used together, so\nremoved IRQF_NO_SUSPEND flag. Anyway this driver doesn't require\nIRQF_NO_SUSPEND, as this interrupt is not required during \"noirq\" phases\nof suspending and resuming devices as well as during the time when\nnonboot CPUs are taken offline and brought back online.\n\nSigned-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/021afd55e2191248b471b29b9d0a96c267939a4d"},{"sha":"4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea","author":{"name":"Ooi, Joyce","email":"ade45ebc91ed2c50e999b07d62fde04b1996794c@intel.com"},"message":"HID: sensor: fix attributes in HID sensor interface\n\nUser is unable to access to input-X-yyy and feature-X-yyy where\nX is a hex value and more than 9 (e.g. input-a-yyy, feature-b-yyy) in HID\nsensor custom sysfs interface.\nThis is because when creating the attribute, the attribute index is\nwritten to using %x (hex). However, when reading and writing values into\nthe attribute, the attribute index is scanned using %d (decimal). Hence,\nuser is unable to access to attributes with index in hex values\n(e.g. 'a', 'b', 'c') but able to access to attributes with index in\ndecimal values (e.g. 1, 2, 3,..).\nThis fix will change input-%d-%x-%s and feature-%d-%x-%s to input-%x-%x-%s\nand feature-%x-%x-%s in show_values() and store_values() accordingly.\n\nSigned-off-by: Ooi, Joyce <joyce.ooi@intel.com>\nReviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>\nAcked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea"},{"sha":"272d01bd790fdf3f1b16372fe28136e27756756f","author":{"name":"Catalin Marinas","email":"6aa257b0f6444d48b36b727fdf3f5c1074b85fd0@arm.com"},"message":"arm64: Fix circular include of asm/lse.h through linux/jump_label.h\n\nCommit efd9e03facd0 (\"arm64: Use static keys for CPU features\")\nintroduced support for static keys in asm/cpufeature.h, including\nlinux/jump_label.h. When CC_HAVE_ASM_GOTO is not defined, this causes a\ncircular dependency via linux/atomic.h, asm/lse.h and asm/cpufeature.h.\n\nThis patch moves the capability macros out out of asm/cpufeature.h into\na separate asm/cpucaps.h and modifies some of the #includes accordingly.\n\nFixes: efd9e03facd0 (\"arm64: Use static keys for CPU features\")\nReported-by: Artem Savkov <asavkov@redhat.com>\nTested-by: Artem Savkov <asavkov@redhat.com>\nSigned-off-by: Catalin Marinas <catalin.marinas@arm.com>\nSigned-off-by: Will Deacon <will.deacon@arm.com>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/272d01bd790fdf3f1b16372fe28136e27756756f"},{"sha":"2c7a5c5c48d97ce3105f3258a259f67b7b9d7eb1","author":{"name":"Guenter Roeck","email":"177f6c7e7d0681e1b64ab10ef561094344edf6d6@roeck-us.net"},"message":"openrisc: Define __ro_after_init to avoid crash\n\nopenrisc qemu tests fail with the following crash.\n\nUnable to handle kernel access at virtual address 0xc0300c34\n\nOops#: 0001\nCPU #: 0\n   PC: c016c710    SR: 0000ae67    SP: c1017e04\n   GPR00: 00000000 GPR01: c1017e04 GPR02: c0300c34 GPR03: c0300c34\n   GPR04: 00000000 GPR05: c0300cb0 GPR06: c0300c34 GPR07: 000000ff\n   GPR08: c107f074 GPR09: c0199ef4 GPR10: c1016000 GPR11: 00000000\n   GPR12: 00000000 GPR13: c107f044 GPR14: c0473774 GPR15: 07ce0000\n   GPR16: 00000000 GPR17: c107ed8a GPR18: 00009600 GPR19: c107f044\n   GPR20: c107ee74 GPR21: 00000003 GPR22: c0473770 GPR23: 00000033\n   GPR24: 000000bf GPR25: 00000019 GPR26: c046400c GPR27: 00000001\n   GPR28: c0464028 GPR29: c1018000 GPR30: 00000006 GPR31: ccf37483\n     RES: 00000000 oGPR11: ffffffff\n     Process swapper (pid: 1, stackpage=c1001960)\n\n     Stack: Stack dump [0xc1017cf8]:\n     sp + 00: 0xc1017e04\n     sp + 04: 0xc0300c34\n     sp + 08: 0xc0300c34\n     sp + 12: 0x00000000\n...\n\nBisect points to commit d2ec3f77de8e (\"pty: make ptmx file ops read-only\nafter init\"). Fix by defining __ro_after_init for the openrisc\narchitecture, similar to parisc.\n\nFixes: d2ec3f77de8e (\"pty: make ptmx file ops read-only after init\")\nCc: Kees Cook <keescook@chromium.org>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>\nAcked-by: Stafford Horne <shorne@gmail.com>","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/2c7a5c5c48d97ce3105f3258a259f67b7b9d7eb1"},{"sha":"c1f4c2b28c11f6d042d15100b36a4ebba07c48b2","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid\n\nPull HID fixes from Jiri Kosina:\n\n - modprobe-after-rmmod load failure bugfix for intel-ish, from Even Xu\n\n - IRQ probing bugfix for intel-ish, from Srinivas Pandruvada\n\n - attribute parsing fix in hid-sensor, from Ooi, Joyce\n\n - other small misc fixes / quirky device additions\n\n* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:\n  HID: sensor: fix attributes in HID sensor interface\n  HID: intel-ish-hid: request_irq failure\n  HID: intel-ish-hid: Fix driver reinit failure\n  HID: intel-ish-hid: Move DMA disable code to new function\n  HID: intel-ish-hid: consolidate ish wake up operation\n  HID: usbhid: add ATEN CS962 to list of quirky devices\n  HID: intel-ish-hid: Fix !CONFIG_PM build warning\n  HID: sensor-hub: Fix packing of result buffer for feature report","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/c1f4c2b28c11f6d042d15100b36a4ebba07c48b2"},{"sha":"8cebec469b8b42359a2dcf9715bf74c49a755f6d","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'hwmon-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging\n\nPull hwmon fix from Guenter Roeck:\n \"Fix resource leak on devm_kcalloc failure\"\n\n* tag 'hwmon-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:\n  hwmon: (core) fix resource leak on devm_kcalloc failure","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/8cebec469b8b42359a2dcf9715bf74c49a755f6d"},{"sha":"17ce1b201d8309ca9e23c063660a789fe3798704","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging\n\nPull openrisc fix from Guenter Roeck:\n \"Fix openrisc crash caused by ro_init changes\"\n\n* tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:\n  openrisc: Define __ro_after_init to avoid crash","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/17ce1b201d8309ca9e23c063660a789fe3798704"},{"sha":"b58ec8b5824717875b844a9e8cc62fc6eb5fd289","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux\n\nPull arm64 fix from Will Deacon:\n \"It's been pretty quiet on the fixes side of things for us, but Artem\n  reported a build failure introduced during the merge window that\n  appears with older GCCs that do not support asm goto. The fix is\n  bigger than I'd like, but it's a mechnical move of some constants to\n  break an include dependency between atomic.h and jump_label.h when\n  !HAVE_JUMP_LABEL.\n\n  Summary:\n\n   - Fix build failure on compilers without asm goto\"\n\n* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:\n  arm64: Fix circular include of asm/lse.h through linux/jump_label.h","distinct":true,"url":"https://api.github.com/repos/ColinIanKing/linux/commits/b58ec8b5824717875b844a9e8cc62fc6eb5fd289"}]}
{"actor":{"display_login":"ColinIanKing"}}