Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on next-20180202] [cannot apply to pm/linux-next v4.15] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ACPI-bus-Remove-checks-in-acpi_get_match_data/20180204-000348 config: x86_64-randconfig-x014-201805 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/dma/qcom/hidma.c: In function 'hidma_test_capability': >> drivers/dma/qcom/hidma.c:748:6: error: assignment of read-only variable 'cap' cap = (const enum hidma_cap) device_get_match_data(dev); ^ vim +/cap +748 drivers/dma/qcom/hidma.c 743 744 static bool hidma_test_capability(struct device *dev, enum hidma_cap test_cap) 745 { 746 const enum hidma_cap cap; 747 > 748 cap = (const enum hidma_cap) device_get_match_data(dev); 749 return cap ? ((cap & test_cap) > 0) : 0; 750 } 751 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip