Re: [PATCH v6 8/8] ipc: Conserve sequence numbers in extended IPCMNI mode
Hi Waiman, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc2 next-20180426] [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/Waiman-Long/ipc-Clamp-mni-to-the-real-IPCMNI-limit-increase-that-limit/20180429-175431 config: m68k-stmark2_defconfig (attached as .config) compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): ipc/util.o: In function `sysvipc_find_ipc': util.c:(.text+0x2ca): undefined reference to `ipc_mni' ipc/util.o: In function `ipc_init_ids': >> util.c:(.text+0x3e2): undefined reference to `ipc_mni_extended' ipc/util.o: In function `ipc_addid': util.c:(.text+0x458): undefined reference to `ipc_mni' util.c:(.text+0x6d8): undefined reference to `ipc_mni_extended' util.c:(.text+0x6f0): undefined reference to `ipc_mni_shift' util.c:(.text+0x714): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_rmid': util.c:(.text+0x736): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_obtain_object_idr': util.c:(.text+0x9a6): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_obtain_object_check': util.c:(.text+0xa1a): undefined reference to `ipc_mni_shift' ipc/msg.o: In function `ksys_msgctl': msg.c:(.text+0x4da): undefined reference to `ipc_mni' ipc/sem.o: In function `semctl_info.isra.3': sem.c:(.text+0x91c): undefined reference to `ipc_mni' ipc/shm.o: In function `ksys_shmctl': shm.c:(.text+0xa36): undefined reference to `ipc_mni' shm.c:(.text+0xb0a): undefined reference to `ipc_mni' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 7/8] ipc: Allow boot time extension of IPCMNI from 32k to 2M
Hi Waiman, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc2 next-20180426] [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/Waiman-Long/ipc-Clamp-mni-to-the-real-IPCMNI-limit-increase-that-limit/20180429-175431 config: m68k-stmark2_defconfig (attached as .config) compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): ipc/util.o: In function `sysvipc_find_ipc': >> util.c:(.text+0x2ca): undefined reference to `ipc_mni' ipc/util.o: In function `ipc_addid': util.c:(.text+0x448): undefined reference to `ipc_mni' >> util.c:(.text+0x6d6): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_rmid': util.c:(.text+0x712): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_obtain_object_idr': util.c:(.text+0x97c): undefined reference to `ipc_mni_shift' ipc/util.o: In function `ipc_obtain_object_check': util.c:(.text+0x9f0): undefined reference to `ipc_mni_shift' ipc/msg.o: In function `ksys_msgctl': >> msg.c:(.text+0x4da): undefined reference to `ipc_mni' ipc/sem.o: In function `semctl_info.isra.3': >> sem.c:(.text+0x91c): undefined reference to `ipc_mni' ipc/shm.o: In function `ksys_shmctl': >> shm.c:(.text+0xa36): undefined reference to `ipc_mni' shm.c:(.text+0xb0a): undefined reference to `ipc_mni' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v1 1/1] misc: IBM Virtual Management Channel Driver
Hi Bryant, I love your patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on v4.17-rc2 next-20180424] [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/Bryant-G-Ly/misc-IBM-Virtual-Management-Channel-Driver/20180424-060306 config: powerpc64-allyesconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=powerpc64 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): drivers//misc/ibmvmc.c: In function 'ibmvmc_probe': >> drivers//misc/ibmvmc.c:2133:5: warning: 'rc' may be used uninitialized in >> this function [-Wmaybe-uninitialized] if (rc == H_RESOURCE) ^ drivers//misc/ibmvmc.c:2111:6: note: 'rc' was declared here int rc; ^~ vim +/rc +2133 drivers//misc/ibmvmc.c 2097 2098 /** 2099 * ibmvmc_init_crq_queue - Init CRQ Queue 2100 * 2101 * @adapter:crq_server_adapter struct 2102 * 2103 * Return: 2104 * 0 - Success 2105 * Non-zero - Failure 2106 */ 2107 static int ibmvmc_init_crq_queue(struct crq_server_adapter *adapter) 2108 { 2109 struct vio_dev *vdev = to_vio_dev(adapter->dev); 2110 struct crq_queue *queue = >queue; 2111 int rc; 2112 int retrc; 2113 2114 queue->msgs = (struct ibmvmc_crq_msg *)get_zeroed_page(GFP_KERNEL); 2115 2116 if (!queue->msgs) 2117 goto malloc_failed; 2118 2119 queue->size = PAGE_SIZE / sizeof(*queue->msgs); 2120 2121 queue->msg_token = dma_map_single(adapter->dev, queue->msgs, 2122queue->size * sizeof(*queue->msgs), 2123DMA_BIDIRECTIONAL); 2124 2125 if (dma_mapping_error(adapter->dev, queue->msg_token)) 2126 goto map_failed; 2127 2128 retrc = plpar_hcall_norets(H_REG_CRQ, 2129 vdev->unit_address, 2130 queue->msg_token, PAGE_SIZE); 2131 retrc = rc; 2132 > 2133 if (rc == H_RESOURCE) 2134 rc = ibmvmc_reset_crq_queue(adapter); 2135 2136 if (rc == 2) { 2137 dev_warn(adapter->dev, "Partner adapter not ready\n"); 2138 retrc = 0; 2139 } else if (rc != 0) { 2140 dev_err(adapter->dev, "Error %d opening adapter\n", rc); 2141 goto reg_crq_failed; 2142 } 2143 2144 queue->cur = 0; 2145 spin_lock_init(>lock); 2146 2147 tasklet_init(>work_task, ibmvmc_task, (unsigned long)adapter); 2148 2149 if (request_irq(vdev->irq, 2150 ibmvmc_handle_event, 2151 0, "ibmvmc", (void *)adapter) != 0) { 2152 dev_err(adapter->dev, "couldn't register irq 0x%x\n", 2153 vdev->irq); 2154 goto req_irq_failed; 2155 } 2156 2157 rc = vio_enable_interrupts(vdev); 2158 if (rc != 0) { 2159 dev_err(adapter->dev, "Error %d enabling interrupts!!!\n", rc); 2160 goto req_irq_failed; 2161 } 2162 2163 return retrc; 2164 2165 req_irq_failed: 2166 /* Cannot have any work since we either never got our IRQ registered, 2167 * or never got interrupts enabled 2168 */ 2169 tasklet_kill(>work_task); 2170 h_free_crq(vdev->unit_address); 2171 reg_crq_failed: 2172 dma_unmap_single(adapter->dev, 2173 queue->msg_token, 2174 queue->size * sizeof(*queue->msgs), DMA_BIDIRECTIONAL); 2175 map_failed: 2176 free_page((unsigned long)queue->msgs); 2177 malloc_failed: 2178 return -ENOMEM; 2179 } 2180 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 4/4] sh: remove board_time_init() callback
Hi Arnd, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc1 next-20180420] [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/Arnd-Bergmann/sh-dreamcast-rtc-push-down-rtc-class-ops-into-driver/20180421-071330 config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): arch/sh/kernel/time.c: In function 'time_init': >> arch/sh/kernel/time.c:42:2: error: implicit declaration of function >> 'timer_init'; did you mean 'time_init'? >> [-Werror=implicit-function-declaration] timer_init(); ^~ time_init cc1: all warnings being treated as errors vim +42 arch/sh/kernel/time.c 39 40 void __init time_init(void) 41 { > 42 timer_init(); --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3 03/10] drivers/peci: Add support for PECI bus driver core
Hi Jae, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc1 next-20180419] [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/Jae-Hyun-Yoo/PECI-device-driver-introduction/20180411-180018 config: x86_64-randconfig-s0-04192349 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers//peci/peci-core.c: In function 'peci_device_match': >> drivers//peci/peci-core.c:739:6: error: implicit declaration of function >> 'peci_of_match_device' [-Werror=implicit-function-declaration] if (peci_of_match_device(drv->of_match_table, client)) ^~~~ At top level: drivers//peci/peci-core.c:840:28: warning: 'peci_new_device' defined but not used [-Wunused-function] static struct peci_client *peci_new_device(struct peci_adapter *adapter, ^~~ drivers//peci/peci-core.c:135:29: warning: 'peci_verify_adapter' defined but not used [-Wunused-function] static struct peci_adapter *peci_verify_adapter(struct device *dev) ^~~ cc1: some warnings being treated as errors vim +/peci_of_match_device +739 drivers//peci/peci-core.c 732 733 static int peci_device_match(struct device *dev, struct device_driver *drv) 734 { 735 struct peci_client *client = peci_verify_client(dev); 736 struct peci_driver *driver; 737 738 /* Attempt an OF style match */ > 739 if (peci_of_match_device(drv->of_match_table, client)) 740 return 1; 741 742 driver = to_peci_driver(drv); 743 744 if (peci_match_id(driver->id_table, client)) 745 return 1; 746 747 return 0; 748 } 749 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] gpiolib: add hogs support for machine code
Hi Bartosz, I love your patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.16 next-20180410] [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/Bartosz-Golaszewski/gpiolib-add-hogs-support-for-machine-code/20180410-232047 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: i386-randconfig-a0-201814 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers//mfd/sm501.c:23:0: >> include/linux/gpio/machine.h:56:19: error: field 'dflags' has incomplete type enum gpiod_flags dflags; ^ vim +/dflags +56 include/linux/gpio/machine.h 41 42 /** 43 * struct gpiod_hog - GPIO line hog table 44 * @chip_label: name of the chip the GPIO belongs to 45 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO 46 * @line_name: consumer name for the hogged line 47 * @lflags: mask of GPIO lookup flags 48 * @dflags: GPIO flags used to specify the direction and value 49 */ 50 struct gpiod_hog { 51 struct list_head list; 52 const char *chip_label; 53 u16 chip_hwnum; 54 const char *line_name; 55 enum gpio_lookup_flags lflags; > 56 enum gpiod_flags dflags; 57 }; 58 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] squashfs: Add posix acl support
Hi Geliang, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16] [also build test ERROR on next-20180409] [cannot apply to squashfs/master] [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/Geliang-Tang/squashfs-Add-posix-acl-support/20180410-013038 config: i386-randconfig-s0-201814 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "squashfs_get_acl" [fs/squashfs/squashfs.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[RFC PATCH] trace_uprobe: trace_uprobe_mmap() can be static
Fixes: d8d4d3603b92 ("trace_uprobe: Support SDT markers having reference count (semaphore)") Signed-off-by: Fengguang Wu--- trace_uprobe.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c index 2502bd7..49a8673 100644 --- a/kernel/trace/trace_uprobe.c +++ b/kernel/trace/trace_uprobe.c @@ -998,7 +998,7 @@ static void sdt_increment_ref_ctr(struct trace_uprobe *tu) } /* Called with down_write(>vm_mm->mmap_sem) */ -void trace_uprobe_mmap(struct vm_area_struct *vma) +static void trace_uprobe_mmap(struct vm_area_struct *vma) { struct trace_uprobe *tu; unsigned long vaddr; -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 6/9] trace_uprobe: Support SDT markers having reference count (semaphore)
Hi Ravi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.16 next-20180404] [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/Ravi-Bangoria/trace_uprobe-Support-SDT-markers-having-reference-count-semaphore/20180404-201900 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) kernel/trace/trace.h:1298:38: sparse: incorrect type in argument 1 (different address spaces) @@expected struct event_filter *filter @@got struct event_filtstruct event_filter *filter @@ kernel/trace/trace.h:1298:38:expected struct event_filter *filter kernel/trace/trace.h:1298:38:got struct event_filter [noderef] *filter >> kernel/trace/trace_uprobe.c:1001:6: sparse: symbol 'trace_uprobe_mmap' was >> not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 7/9] trace_uprobe/sdt: Fix multiple update of same reference counter
Hi Ravi, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.16 next-20180403] [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/Ravi-Bangoria/trace_uprobe-Support-SDT-markers-having-reference-count-semaphore/20180404-201900 config: i386-randconfig-a0-201813 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel//trace/trace_uprobe.c:947:21: error: variable 'sdt_mmu_notifier_ops' has initializer but incomplete type static const struct mmu_notifier_ops sdt_mmu_notifier_ops = { ^ >> kernel//trace/trace_uprobe.c:948:2: error: unknown field 'release' specified >> in initializer .release = sdt_mm_release, ^ kernel//trace/trace_uprobe.c:948:2: warning: excess elements in struct initializer kernel//trace/trace_uprobe.c:948:2: warning: (near initialization for 'sdt_mmu_notifier_ops') kernel//trace/trace_uprobe.c: In function 'sdt_add_mm_list': >> kernel//trace/trace_uprobe.c:962:22: error: dereferencing pointer to >> incomplete type mn = kzalloc(sizeof(*mn), GFP_KERNEL); ^ kernel//trace/trace_uprobe.c:966:4: error: dereferencing pointer to incomplete type mn->ops = _mmu_notifier_ops; ^ >> kernel//trace/trace_uprobe.c:967:2: error: implicit declaration of function >> '__mmu_notifier_register' [-Werror=implicit-function-declaration] __mmu_notifier_register(mn, mm); ^ cc1: some warnings being treated as errors vim +/__mmu_notifier_register +967 kernel//trace/trace_uprobe.c 946 > 947 static const struct mmu_notifier_ops sdt_mmu_notifier_ops = { > 948 .release = sdt_mm_release, 949 }; 950 951 static void sdt_add_mm_list(struct trace_uprobe *tu, struct mm_struct *mm) 952 { 953 struct mmu_notifier *mn; 954 struct sdt_mm_list *sml = kzalloc(sizeof(*sml), GFP_KERNEL); 955 956 if (!sml) 957 return; 958 sml->mm = mm; 959 list_add(&(sml->list), &(tu->sml.list)); 960 961 /* Register mmu_notifier for this mm. */ > 962 mn = kzalloc(sizeof(*mn), GFP_KERNEL); 963 if (!mn) 964 return; 965 966 mn->ops = _mmu_notifier_ops; > 967 __mmu_notifier_register(mn, mm); 968 } 969 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[lwn:docs-next 73/74] htmldocs: include/net/mac80211.h:950: warning: Function parameter or member 'control.rates' not described in 'ieee80211_tx_info'
tree: git://git.lwn.net/linux-2.6 docs-next head: 86afad7d87f535ebb1a0e978bc32a8c58ac99268 commit: d404d57955a6f67365423f9d0b89ad1881799087 [73/74] docs: kernel-doc: fix parsing of arrays reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) include/linux/crypto.h:477: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:477: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:477: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:477: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.ibss' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.connect' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.keys' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.ie' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.ie_len' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.bssid' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.ssid' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.default_key' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.default_mgmt_key' not described in 'wireless_dev' include/net/cfg80211.h:4129: warning: Function parameter or member 'wext.prev_bssid_valid' not described in 'wireless_dev' include/net/mac80211.h:2259: warning: Function parameter or member 'radiotap_timestamp.units_pos' not described in 'ieee80211_hw' include/net/mac80211.h:2259: warning: Function parameter or member 'radiotap_timestamp.accuracy' not described in 'ieee80211_hw' >> include/net/mac80211.h:950: warning: Function parameter or member >> 'control.rates' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.rts_cts_rate_idx' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.use_rts' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.use_cts_prot' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.short_preamble' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.skip_table' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.jiffies' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.vif' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.hw_key' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.flags' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'control.enqueue_time' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'ack' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'ack.cookie' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.rates' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.ack_signal' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.ampdu_ack_len' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.ampdu_len' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.antenna' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'status.tx_time' not described in 'ieee80211_tx_info' >> include/net/mac80211.h:950: warning: Function parameter or member >> 'status.status_driver_data' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or member 'driver_rates' not described in 'ieee80211_tx_info' include/net/mac80211.h:950: warning: Function parameter or
Re: [PATCH v4] usb: core: Add "quirks" parameter for usbcore
Hi Kai-Heng, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.16-rc3 next-20180228] [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/Kai-Heng-Feng/usb-core-Add-quirks-parameter-for-usbcore/20180227-211635 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: mips-sb1250_swarm_defconfig (attached as .config) compiler: mips64-linux-gnuabi64-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=mips All errors (new ones prefixed by >>): drivers/usb/core/quirks.c:15:43: error: expected ')' before 'sizeof' module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); ^~ >> drivers/usb/core/quirks.c:16:26: error: expected ')' before string constant MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); ^~ vim +16 drivers/usb/core/quirks.c 13 14 static char quirks_param[128]; > 15 module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); > 16 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); 17 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4] usb: core: Add "quirks" parameter for usbcore
Hi Kai-Heng, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.16-rc3 next-20180228] [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/Kai-Heng-Feng/usb-core-Add-quirks-parameter-for-usbcore/20180227-211635 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: tile-tilegx_defconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=tile All errors (new ones prefixed by >>): >> drivers/usb/core/quirks.c:15:43: error: expected ')' before 'sizeof' module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); ^~ drivers/usb/core/quirks.c:16:26: error: expected ')' before string constant MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); ^~ vim +15 drivers/usb/core/quirks.c 13 14 static char quirks_param[128]; > 15 module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); 16 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); 17 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3] usb: core: Add "quirks" parameter for usbcore
Hi Kai-Heng, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.16-rc3 next-20180226] [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/Kai-Heng-Feng/usb-core-Add-quirks-parameter-for-usbcore/20180227-041204 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: arm-badge4_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): >> drivers/usb//core/quirks.c:15:43: error: expected ')' before 'sizeof' module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); ^~ >> drivers/usb//core/quirks.c:16:26: error: expected ')' before string constant MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); ^~ vim +15 drivers/usb//core/quirks.c 13 14 static char quirks_param[128]; > 15 module_param_string(quirks, quirks_param, sizeof(quirks_param), 0644); > 16 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks"); 17 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3 01/10] pwm: extend PWM framework with PWM modes
Hi Claudiu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pwm/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [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/Claudiu-Beznea/extend-PWM-framework-to-support-PWM-modes/20180225-024011 base: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git for-next config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa All warnings (new ones prefixed by >>): >> drivers//pwm/pwm-sun4i.c:36:0: warning: "PWM_MODE" redefined #define PWM_MODE BIT(7) In file included from drivers//pwm/pwm-sun4i.c:19:0: include/linux/pwm.h:40:0: note: this is the location of the previous definition #define PWM_MODE(name) BIT(PWM_MODE_##name##_BIT) vim +/PWM_MODE +36 drivers//pwm/pwm-sun4i.c 09853ce7 Alexandre Belloni 2014-12-17 29 09853ce7 Alexandre Belloni 2014-12-17 30 #define PWMCH_OFFSET 15 09853ce7 Alexandre Belloni 2014-12-17 31 #define PWM_PRESCAL_MASK GENMASK(3, 0) 09853ce7 Alexandre Belloni 2014-12-17 32 #define PWM_PRESCAL_OFF 0 09853ce7 Alexandre Belloni 2014-12-17 33 #define PWM_EN BIT(4) 09853ce7 Alexandre Belloni 2014-12-17 34 #define PWM_ACT_STATE BIT(5) 09853ce7 Alexandre Belloni 2014-12-17 35 #define PWM_CLK_GATING BIT(6) 09853ce7 Alexandre Belloni 2014-12-17 @36 #define PWM_MODE BIT(7) 09853ce7 Alexandre Belloni 2014-12-17 37 #define PWM_PULSEBIT(8) 09853ce7 Alexandre Belloni 2014-12-17 38 #define PWM_BYPASS BIT(9) 09853ce7 Alexandre Belloni 2014-12-17 39 :: The code at line 36 was first introduced by commit :: 09853ce7bc1003a490c7ee74a5705d7a7cf16b7d pwm: Add Allwinner SoC support :: TO: Alexandre Belloni:: CC: Thierry Reding --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v12 10/11] sparc64: Add support for ADI (Application Data Integrity)
Hi Khalid, I love your patch! Yet something to improve: [auto build test ERROR on sparc-next/master] [also build test ERROR on v4.16-rc2] [cannot apply to next-20180222] [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/Khalid-Aziz/Application-Data-Integrity-feature-introduced-by-SPARC-M7/20180223-071725 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next.git master config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All error/warnings (new ones prefixed by >>): In file included from arch/sparc/include/asm/mmu_context.h:5:0, from include/linux/mmu_context.h:5, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/sparc/include/asm/mmu_context_64.h: In function 'arch_start_context_switch': >> arch/sparc/include/asm/mmu_context_64.h:157:4: error: implicit declaration >> of function 'set_tsk_thread_flag'; did you mean 'set_ti_thread_flag'? >> [-Werror=implicit-function-declaration] set_tsk_thread_flag(prev, TIF_MCDPER); ^~~ set_ti_thread_flag >> arch/sparc/include/asm/mmu_context_64.h:159:4: error: implicit declaration >> of function 'clear_tsk_thread_flag'; did you mean 'clear_ti_thread_flag'? >> [-Werror=implicit-function-declaration] clear_tsk_thread_flag(prev, TIF_MCDPER); ^ clear_ti_thread_flag arch/sparc/include/asm/mmu_context_64.h: In function 'finish_arch_post_lock_switch': >> arch/sparc/include/asm/mmu_context_64.h:180:25: error: dereferencing pointer >> to incomplete type 'struct task_struct' if (current && current->mm && current->mm->context.adi) { ^~ In file included from arch/sparc/include/asm/processor.h:5:0, from arch/sparc/include/asm/spinlock_64.h:12, from arch/sparc/include/asm/spinlock.h:5, from include/linux/spinlock.h:88, from arch/sparc/include/asm/mmu_context_64.h:9, from arch/sparc/include/asm/mmu_context.h:5, from include/linux/mmu_context.h:5, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: >> arch/sparc/include/asm/processor_64.h:194:28: error: implicit declaration of >> function 'task_thread_info'; did you mean 'test_thread_flag'? >> [-Werror=implicit-function-declaration] #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) ^ >> arch/sparc/include/asm/mmu_context_64.h:183:11: note: in expansion of macro >> 'task_pt_regs' regs = task_pt_regs(current); ^~~~ >> arch/sparc/include/asm/processor_64.h:194:49: error: invalid type argument >> of '->' (have 'int') #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) ^ >> arch/sparc/include/asm/mmu_context_64.h:183:11: note: in expansion of macro >> 'task_pt_regs' regs = task_pt_regs(current); ^~~~ In file included from include/linux/cred.h:21:0, from include/linux/seq_file.h:12, from include/linux/pinctrl/consumer.h:17, from include/linux/pinctrl/devinfo.h:21, from include/linux/device.h:23, from include/linux/cdev.h:8, from include/drm/drmP.h:36, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:25: include/linux/sched.h: At top level: >> include/linux/sched.h:1530:20: warning: conflicting types for >> 'set_tsk_thread_flag' static inline void set_tsk_thread_flag(struct task_struct *tsk, int flag) ^~~ >> include/linux/sched.h:1530:20: error: static declaration of >> 'set_tsk_thread_flag' follows non-static declaration In file included from arch/sparc/include/asm/mmu_context.h:5:0, from include/linux/mmu_context.h:5, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/sparc/include/asm/mmu_context_64.h:157:4: note: previous implicit declaration of 'set_tsk_thread_flag' was here set_tsk_thread_flag(prev, TIF_MCDPER); ^~~ In file included from include/linux/cred.h:21:0, from include/linux/seq_file.h:12, from
[RFC PATCH] drivers/peci: peci_match_id() can be static
Fixes: 99f5d2b99ecd ("drivers/peci: Add support for PECI bus driver core") Signed-off-by: Fengguang Wu--- peci-core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/peci/peci-core.c b/drivers/peci/peci-core.c index d976c73..4709b8c 100644 --- a/drivers/peci/peci-core.c +++ b/drivers/peci/peci-core.c @@ -770,8 +770,8 @@ peci_of_match_device(const struct of_device_id *matches, } #endif -const struct peci_device_id *peci_match_id(const struct peci_device_id *id, - struct peci_client *client) +static const struct peci_device_id *peci_match_id(const struct peci_device_id *id, + struct peci_client *client) { if (!(id && client)) return NULL; -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core
Hi Jae, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc2 next-20180221] [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/Jae-Hyun-Yoo/PECI-device-driver-introduction/20180222-054545 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/peci/peci-core.c:773:29: sparse: symbol 'peci_match_id' was not >> declared. Should it be Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/3] taint: Convert to enum and indexed initialization
Hi Kees, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc1 next-20180216] [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/Kees-Cook/taint-Add-taint-for-randstruct/20180218-100113 config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): /tmp/ccUwVEny.s: Assembler messages: >> /tmp/ccUwVEny.s:897: Error: invalid operands (*UND* and *ABS* sections) for >> `<<' /tmp/ccUwVEny.s:932: Error: invalid operands (*UND* and *ABS* sections) for `<<' /tmp/ccUwVEny.s:1116: Error: invalid operands (*UND* and *ABS* sections) for `<<' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 16/18] scripts: kernel-doc: improve nested logic to handle multiple identifiers
Hi Mauro, I love your patch! Perhaps something to improve: [auto build test WARNING on lwn/docs-next] [also build test WARNING on v4.15-rc4 next-20171221] [cannot apply to linus/master] [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/Mauro-Carvalho-Chehab/kernel-doc-add-supported-to-document-nested-structs/20171221-055609 base: git://git.lwn.net/linux-2.6 docs-next reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/crypto/hash.h:89: warning: duplicate section name 'Note' include/crypto/hash.h:95: warning: duplicate section name 'Note' include/crypto/hash.h:102: warning: duplicate section name 'Note' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.compress' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.ablkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.blkcipher' not described in 'crypto_alg' include/linux/crypto.h:469: warning: Function parameter or member 'cra_u.cipher' not described in 'crypto_alg'
Re: [PATCH v4 15/18] scripts: kernel-doc: handle nested struct function arguments
Hi Mauro, I love your patch! Perhaps something to improve: [auto build test WARNING on lwn/docs-next] [also build test WARNING on v4.15-rc4 next-20171221] [cannot apply to linus/master] [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/Mauro-Carvalho-Chehab/kernel-doc-add-supported-to-document-nested-structs/20171221-055609 base: git://git.lwn.net/linux-2.6 docs-next reproduce: make htmldocs All warnings (new ones prefixed by >>): Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1072. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by
Re: [PATCH v4 14/18] scripts: kernel-doc: print the declaration name on warnings
Hi Mauro, I love your patch! Perhaps something to improve: [auto build test WARNING on lwn/docs-next] [also build test WARNING on v4.15-rc4 next-20171220] [cannot apply to linus/master] [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/Mauro-Carvalho-Chehab/kernel-doc-add-supported-to-document-nested-structs/20171221-055609 base: git://git.lwn.net/linux-2.6 docs-next reproduce: make htmldocs All warnings (new ones prefixed by >>): Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1058. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/(struct|union)([^{};]+){ <-- HERE ([^{}]*)}([^{}\;]*)\;/ at scripts/kernel-doc line 1036. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by
Re: [PATCH] mm:Add watermark slope for high mark
Hi Peter, Thank you for the patch! Yet something to improve: [auto build test ERROR on mmotm/master] [also build test ERROR on v4.15-rc1 next-20171124] [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/Peter-Enderborg/mm-Add-watermark-slope-for-high-mark/20171127-140339 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-tinyconfig (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=i386 All errors (new ones prefixed by >>): mm/page_alloc.o: In function `__setup_per_zone_wmarks': >> page_alloc.c:(.text+0x9eb): undefined reference to `__umoddi3' >> page_alloc.c:(.text+0xa06): undefined reference to `__udivdi3' page_alloc.c:(.text+0xa1d): undefined reference to `__udivdi3' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 1/1] usb: gadget: add USB Audio Device Class 3.0 gadget support
Hi Ruslan, Thank you for the patch! Yet something to improve: [auto build test ERROR on balbi-usb/next] [also build test ERROR on v4.14-rc8 next-20171107] [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/Ruslan-Bilovol/usb-gadget-add-USB-Audio-Device-Class-3-0-gadget-support/20171107-175202 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> drivers/usb/gadget/function/f_uac3.c:10:32: fatal error: >> linux/usb/audio-v3.h: No such file or directory #include ^ compilation terminated. vim +10 drivers/usb/gadget/function/f_uac3.c > 10 #include 11 #include 12 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] Check all .c files for bad kernel-doc comments
Hi Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc6 next-20171018] [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/Matthew-Wilcox/Check-all-c-files-for-bad-kernel-doc-comments/20171030-033926 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): >> kernel/fork.c:983: warning: No description found for parameter 'mm' >> kernel/fork.c:983: warning: No description found for parameter 'new_exe_file' kernel/fork.c:1007: warning: No description found for parameter 'mm' >> kernel/fork.c:1027: warning: No description found for parameter 'task' kernel/fork.c:1052: warning: No description found for parameter 'task' -- >> kernel/cpu.c:53: warning: cannot understand function prototype: 'struct >> cpuhp_cpu_state ' >> kernel/cpu.c:108: warning: cannot understand function prototype: 'struct >> cpuhp_step ' >> kernel/cpu.c:1608: warning: No description found for parameter 'name' -- >> kernel/notifier.c:77: warning: Excess function parameter 'returns' >> description in 'notifier_call_chain' -- >> kernel/reboot.c:184: warning: No description found for parameter 'cmd' -- >> mm/oom_kill.c:175: warning: No description found for parameter 'memcg' >> mm/oom_kill.c:175: warning: No description found for parameter 'nodemask' -- >> mm/maccess.c:87: warning: No description found for parameter 'unsafe_addr' >> mm/maccess.c:87: warning: Excess function parameter 'src' description in >> 'strncpy_from_unsafe' -- >> mm/swap.c:932: warning: No description found for parameter 'nr_pages' >> mm/swap.c:932: warning: Excess function parameter 'nr_entries' description >> in 'pagevec_lookup_entries' >> mm/swap.c:982: warning: Excess function parameter 'nr_pages' description in >> 'pagevec_lookup_range' -- >> mm/compaction.c:568: warning: No description found for parameter 'cc' >> mm/compaction.c:1724: warning: No description found for parameter 'prio' >> mm/compaction.c:1724: warning: Excess function parameter 'mode' description >> in 'try_to_compact_pages' -- >> mm/mlock.c:176: warning: No description found for parameter 'page' -- >> mm/pagewalk.c:286: warning: No description found for parameter 'start' >> mm/pagewalk.c:286: warning: No description found for parameter 'end' >> mm/pagewalk.c:286: warning: No description found for parameter 'walk' -- >> mm/rmap.c:1175: warning: No description found for parameter 'compound' .. vim +/mm +983 kernel/fork.c a1b2289c Sherry Yang 2017-10-03 970 90f31d0e Konstantin Khlebnikov 2015-04-16 971 /** 90f31d0e Konstantin Khlebnikov 2015-04-16 972 * set_mm_exe_file - change a reference to the mm's executable file 90f31d0e Konstantin Khlebnikov 2015-04-16 973 * 90f31d0e Konstantin Khlebnikov 2015-04-16 974 * This changes mm's executable file (shown as symlink /proc/[pid]/exe). 90f31d0e Konstantin Khlebnikov 2015-04-16 975 * 6e399cd1 Davidlohr Bueso 2015-04-16 976 * Main users are mmput() and sys_execve(). Callers prevent concurrent 6e399cd1 Davidlohr Bueso 2015-04-16 977 * invocations: in mmput() nobody alive left, in execve task is single 6e399cd1 Davidlohr Bueso 2015-04-16 978 * threaded. sys_prctl(PR_SET_MM_MAP/EXE_FILE) also needs to set the 6e399cd1 Davidlohr Bueso 2015-04-16 979 * mm->exe_file, but does so without using set_mm_exe_file() in order 6e399cd1 Davidlohr Bueso 2015-04-16 980 * to do avoid the need for any locks. 90f31d0e Konstantin Khlebnikov 2015-04-16 981 */ 38646013 Jiri Slaby2011-05-26 982 void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) 38646013 Jiri Slaby2011-05-26 @983 { 6e399cd1 Davidlohr Bueso 2015-04-16 984 struct file *old_exe_file; 6e399cd1 Davidlohr Bueso 2015-04-16 985 6e399cd1 Davidlohr Bueso 2015-04-16 986 /* 6e399cd1 Davidlohr Bueso 2015-04-16 987 * It is safe to dereference the exe_file without RCU as 6e399cd1 Davidlohr Bueso 2015-04-16 988 * this function is only called if nobody else can access 6e399cd1 Davidlohr Bueso 2015-04-16 989 * this mm -- see comment above for justification. 6e399cd1 Davidlohr Bueso 2015-04-16 990 */ 6e399cd1 Davidlohr Bueso 2015-04-16 991 old_exe_file = rcu_dereference_raw(mm->exe_file); 90f31d0e Konstantin Khlebnikov 2015-04-16 992 38646013 Jiri Slaby2011-05-26 993 if (new_exe_file) 38646013 Jiri Slaby2011-05-26 994 get_file(new_exe_file); 90f31d0e Konstantin Khlebnikov 2015-04-16 995 rcu_assign_pointer(mm->exe_file, new_exe_file);
Re: [PATCH] Check all .c files for bad kernel-doc comments
Hi Matthew, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc6 next-20171018] [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/Matthew-Wilcox/Check-all-c-files-for-bad-kernel-doc-comments/20171030-033926 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): >> fs//attr.c:114: warning: Excess function parameter 'Returns' description in >> 'inode_newsize_ok' >> fs//attr.c:205: warning: No description found for parameter 'attr' >> fs//attr.c:205: warning: Excess function parameter 'iattr' description in >> 'notify_change' -- >> arch/x86/kernel/i8259.c:234: warning: No description found for parameter >> 'trigger' -- >> arch/x86/kernel/tsc.c:1163: warning: No description found for parameter >> 'work' -- >> arch/x86/mm/pgtable.c:558: warning: No description found for parameter >> 'reserve' >> arch/x86/mm/pgtable.c:595: warning: No description found for parameter 'p4d' >> arch/x86/mm/pgtable.c:595: warning: No description found for parameter 'addr' >> arch/x86/mm/pgtable.c:595: warning: No description found for parameter 'prot' arch/x86/mm/pgtable.c:605: warning: No description found for parameter 'p4d' >> arch/x86/mm/pgtable.c:629: warning: No description found for parameter 'pud' arch/x86/mm/pgtable.c:629: warning: No description found for parameter 'addr' arch/x86/mm/pgtable.c:629: warning: No description found for parameter 'prot' >> arch/x86/mm/pgtable.c:654: warning: No description found for parameter 'pmd' arch/x86/mm/pgtable.c:654: warning: No description found for parameter 'addr' arch/x86/mm/pgtable.c:654: warning: No description found for parameter 'prot' arch/x86/mm/pgtable.c:680: warning: No description found for parameter 'pud' arch/x86/mm/pgtable.c:695: warning: No description found for parameter 'pmd' -- >> arch/x86/events/intel/pt.c:1064: warning: No description found for parameter >> 'nr_pages' >> arch/x86/events/intel/pt.c:1064: warning: Excess function parameter 'size' >> description in 'pt_buffer_init_topa' -- >> drivers/base/attribute_container.c:255: warning: No description found for >> parameter 'fn' >> drivers/base/attribute_container.c:369: warning: No description found for >> parameter 'cont' >> drivers/base/attribute_container.c:369: warning: No description found for >> parameter 'dev' >> drivers/base/attribute_container.c:369: warning: No description found for >> parameter 'classdev' -- >> kernel//events/core.c:133: warning: No description found for parameter 'cpu' >> kernel//events/core.c:9911: warning: No description found for parameter >> 'flags' >> kernel//events/core.c:10350: warning: No description found for parameter >> 'overflow_handler' >> kernel//events/core.c:10350: warning: No description found for parameter >> 'context' -- >> kernel//events/hw_breakpoint.c:420: warning: No description found for >> parameter 'context' >> kernel//events/hw_breakpoint.c:434: warning: Excess function parameter >> 'triggered' description in 'modify_user_hw_breakpoint' >> kernel//events/hw_breakpoint.c:434: warning: Excess function parameter 'tsk' >> description in 'modify_user_hw_breakpoint' kernel//events/hw_breakpoint.c:502: warning: No description found for parameter 'context' -- >> kernel//irq/devres.c:103: warning: Excess function parameter 'thread_fn' >> description in 'devm_request_any_context_irq' -- >> kernel//power/qos.c:476: warning: No description found for parameter >> 'new_value' >> kernel//power/qos.c:476: warning: Excess function parameter 'value' >> description in 'pm_qos_update_request' -- >> kernel//time/timekeeping.c:370: warning: No description found for parameter >> 'tkf' kernel//time/timekeeping.c:419: warning: No description found for parameter 'tkf' >> kernel//time/timekeeping.c:568: warning: No description found for parameter >> 'nb' kernel//time/timekeeping.c:587: warning: No description found for parameter 'nb' >> kernel//time/timekeeping.c:680: warning: No description found for parameter >> 'tk' >> kernel//time/timekeeping.c:1268: warning: No description found for parameter >> 'ts' >> kernel//time/timekeeping.c:1268: warning: Excess function parameter 'tv' >> description in 'timekeeping_inject_offset' kernel//time/timekeeping.c:1313: warning: No description found for parameter 'tk' >> kernel//time/timekeeping.c:1313: warning: No description found for parameter >> 'tai_offset' >> kernel//time/timekeeping.c:1324: warning: No description found for parameter >> 'data' kernel//time/timekeeping.c:1449: warning: No description found for parameter 'ts' kernel//time/timekeeping.c:1472: warning: No description found for parameter 'ts'
Re: [PATCH 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces
Hi Changbin, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.14-rc5 next-20171017] [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/changbin-du-intel-com/mm-thp-introduce-dedicated-transparent-huge-page-allocation-interfaces/20171018-230128 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x001-201742 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from include/linux/balloon_compaction.h:48:0, from drivers/virtio/virtio_balloon.c:29: include/linux/migrate.h: In function 'new_page_nodemask': >> include/linux/migrate.h:49:10: error: implicit declaration of function >> 'alloc_transhuge_page_nodemask' [-Werror=implicit-function-declaration] return alloc_transhuge_page_nodemask(gfp_mask | GFP_TRANSHUGE, ^ >> include/linux/migrate.h:49:10: warning: return makes pointer from integer >> without a cast [-Wint-conversion] return alloc_transhuge_page_nodemask(gfp_mask | GFP_TRANSHUGE, ^~~ preferred_nid, nodemask); cc1: some warnings being treated as errors vim +/alloc_transhuge_page_nodemask +49 include/linux/migrate.h 33 34 static inline struct page *new_page_nodemask(struct page *page, 35 int preferred_nid, nodemask_t *nodemask) 36 { 37 gfp_t gfp_mask = GFP_USER | __GFP_MOVABLE | __GFP_RETRY_MAYFAIL; 38 unsigned int order = 0; 39 struct page *new_page = NULL; 40 41 if (PageHuge(page)) 42 return alloc_huge_page_nodemask(page_hstate(compound_head(page)), 43 preferred_nid, nodemask); 44 45 if (PageHighMem(page) || (zone_idx(page_zone(page)) == ZONE_MOVABLE)) 46 gfp_mask |= __GFP_HIGHMEM; 47 48 if (thp_migration_supported() && PageTransHuge(page)) > 49 return alloc_transhuge_page_nodemask(gfp_mask | GFP_TRANSHUGE, 50 preferred_nid, nodemask); 51 else 52 return __alloc_pages_nodemask(gfp_mask, order, 53 preferred_nid, nodemask); 54 55 return new_page; 56 } 57 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 1/2] mm, thp: introduce dedicated transparent huge page allocation interfaces
Hi Changbin, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.14-rc5 next-20171017] [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/changbin-du-intel-com/mm-thp-introduce-dedicated-transparent-huge-page-allocation-interfaces/20171018-230128 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-x003-201742 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from mm/shmem.c:70:0: include/linux/migrate.h: In function 'new_page_nodemask': include/linux/migrate.h:49:10: error: implicit declaration of function 'alloc_transhuge_page_nodemask' [-Werror=implicit-function-declaration] return alloc_transhuge_page_nodemask(gfp_mask | GFP_TRANSHUGE, ^ include/linux/migrate.h:49:10: warning: return makes pointer from integer without a cast [-Wint-conversion] return alloc_transhuge_page_nodemask(gfp_mask | GFP_TRANSHUGE, ^~~ preferred_nid, nodemask); mm/shmem.c: In function 'shmem_alloc_hugepage': >> mm/shmem.c:1448:9: error: implicit declaration of function >> 'alloc_transhuge_page_vma' [-Werror=implicit-function-declaration] page = alloc_transhuge_page_vma(gfp, , 0); ^~~~ >> mm/shmem.c:1448:7: warning: assignment makes pointer from integer without a >> cast [-Wint-conversion] page = alloc_transhuge_page_vma(gfp, , 0); ^ cc1: some warnings being treated as errors vim +/alloc_transhuge_page_vma +1448 mm/shmem.c 1423 1424 static struct page *shmem_alloc_hugepage(gfp_t gfp, 1425 struct shmem_inode_info *info, pgoff_t index) 1426 { 1427 struct vm_area_struct pvma; 1428 struct inode *inode = >vfs_inode; 1429 struct address_space *mapping = inode->i_mapping; 1430 pgoff_t idx, hindex; 1431 void __rcu **results; 1432 struct page *page; 1433 1434 if (!IS_ENABLED(CONFIG_TRANSPARENT_HUGE_PAGECACHE)) 1435 return NULL; 1436 1437 hindex = round_down(index, HPAGE_PMD_NR); 1438 rcu_read_lock(); 1439 if (radix_tree_gang_lookup_slot(>page_tree, , , 1440 hindex, 1) && idx < hindex + HPAGE_PMD_NR) { 1441 rcu_read_unlock(); 1442 return NULL; 1443 } 1444 rcu_read_unlock(); 1445 1446 shmem_pseudo_vma_init(, info, hindex); 1447 gfp |= __GFP_COMP | __GFP_NORETRY | __GFP_NOWARN; > 1448 page = alloc_transhuge_page_vma(gfp, , 0); 1449 shmem_pseudo_vma_destroy(); 1450 return page; 1451 } 1452 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v2] scripts: kernel-doc: fix nexted handling
Hi Mauro, [auto build test WARNING on linus/master] [also build test WARNING on v4.14-rc2 next-20170926] [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/Mauro-Carvalho-Chehab/scripts-kernel-doc-fix-nexted-handling/20170927-091127 reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) kernel/trace/blktrace.c:824: warning: No description found for parameter 'cgid' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:4115: warning: Excess struct/union/enum/typedef >> member 'bssid' description in 'wireless_dev' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'band_pref' description in 'cfg80211_bss_selection' >> include/net/cfg80211.h:2056: warning: Excess struct/union/enum/typedef >> member 'adjust' description in 'cfg80211_bss_selection' vim +2056 include/net/cfg80211.h 04a773ad Johannes Berg2009-04-19 2041 04a773ad Johannes Berg2009-04-19 2042 /** 38de03d2 Arend van Spriel 2016-03-02 2043 * struct cfg80211_bss_selection - connection parameters for BSS selection. 38de03d2 Arend van Spriel 2016-03-02 2044 * 38de03d2 Arend van Spriel 2016-03-02 2045 * @behaviour: requested BSS selection behaviour. 38de03d2 Arend van Spriel 2016-03-02 2046 * @param: parameters for requestion behaviour. 38de03d2 Arend van Spriel 2016-03-02 2047 * @band_pref: preferred band for %NL80211_BSS_SELECT_ATTR_BAND_PREF. 38de03d2 Arend van Spriel 2016-03-02 2048 * @adjust: parameters for %NL80211_BSS_SELECT_ATTR_RSSI_ADJUST. 38de03d2 Arend van Spriel 2016-03-02 2049 */ 38de03d2 Arend van Spriel 2016-03-02 2050 struct cfg80211_bss_selection { 38de03d2 Arend van Spriel 2016-03-02 2051 enum nl80211_bss_select_attr behaviour; 38de03d2 Arend van Spriel 2016-03-02 2052 union { 57fbcce3 Johannes Berg2016-04-12 2053 enum nl80211_band band_pref; 38de03d2 Arend van Spriel 2016-03-02 2054 struct cfg80211_bss_select_adjust adjust; 38de03d2 Arend van Spriel 2016-03-02 2055 } param; 38de03d2 Arend van Spriel 2016-03-02 @2056 }; 38de03d2 Arend van Spriel 2016-03-02 2057 :: The code at line 2056 was first introduced by commit :: 38de03d2a28925b489c11546804e2f5418cc17a4 nl80211: add feature for BSS selection support :: TO: Arend van Spriel:: CC: Johannes Berg --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description:
[lwn:docs-next 9/9] htmldocs: include/net/cfg80211.h:3278: warning: Excess enum value 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags'
tree: git://git.lwn.net/linux-2.6 docs-next head: 5cb5c31cdf246099f7d48a57f448b05b7941cd6a commit: 5cb5c31cdf246099f7d48a57f448b05b7941cd6a [9/9] scripts/kernel-doc: warn on excess enum value descriptions reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) kernel/trace/blktrace.c:818: warning: No description found for parameter 'cgid' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' >> include/net/cfg80211.h:3278: warning: Excess enum value >> 'WIPHY_FLAG_SUPPORTS_SCHED_SCAN' description in 'wiphy_flags' vim +3278 include/net/cfg80211.h 704232c27 Johannes Berg 2007-04-23 3205 d32365537 Johannes Berg 2009-04-20 3206 /* d32365537 Johannes Berg 2009-04-20 3207 * wireless hardware and networking interfaces structures d32365537 Johannes Berg 2009-04-20 3208 * and registration/helper functions d32365537 Johannes Berg 2009-04-20 3209 */ d32365537 Johannes Berg 2009-04-20 3210 d32365537 Johannes Berg 2009-04-20 3211 /** 5be83de54 Johannes Berg 2009-11-19 3212 * enum wiphy_flags - wiphy capability flags 5be83de54 Johannes Berg 2009-11-19 3213 * 5be83de54 Johannes Berg 2009-11-19 3214 * @WIPHY_FLAG_NETNS_OK: if not set, do not allow changing the netns of this 5be83de54 Johannes Berg 2009-11-19 3215 *wiphy at all 5be83de54 Johannes Berg 2009-11-19 3216 * @WIPHY_FLAG_PS_ON_BY_DEFAULT: if set to true, powersave will be enabled 5be83de54 Johannes Berg 2009-11-19 3217 *by default -- this flag will be set depending on the kernel's default 5be83de54 Johannes Berg 2009-11-19 3218 *on wiphy_new(), but can be changed by the driver if it has a good 5be83de54 Johannes Berg 2009-11-19 3219 *reason to override the default 9bc383de3 Johannes Berg 2009-11-19 3220 * @WIPHY_FLAG_4ADDR_AP: supports 4addr mode even on AP (with a single station 9bc383de3 Johannes Berg 2009-11-19 3221 *on a VLAN interface) 9bc383de3 Johannes Berg 2009-11-19 3222 * @WIPHY_FLAG_4ADDR_STATION: supports 4addr mode even as a station c0692b8fe Johannes Berg 2010-08-27 3223 * @WIPHY_FLAG_CONTROL_PORT_PROTOCOL: This device supports setting the c0692b8fe Johannes Berg 2010-08-27 3224 *control port protocol ethertype. The device also honours the c0692b8fe Johannes Berg 2010-08-27 3225 *control_port_no_encrypt flag. e31b82136 Johannes Berg 2010-10-05 3226 * @WIPHY_FLAG_IBSS_RSN: The device supports IBSS RSN. 15d5dda62 Javier
[lwn:docs-next 37/37] htmldocs: include/linux/genalloc.h:52: warning: No description found for parameter 'genpool_algo_t'
tree: git://git.lwn.net/linux-2.6 docs-next head: 7ee8adcf271acd3baa5ab12cb804ab36fda16b3f commit: 7ee8adcf271acd3baa5ab12cb804ab36fda16b3f [37/37] doc: Add documentation for the genalloc subsystem reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) >> include/linux/genalloc.h:52: warning: No description found for parameter >> 'genpool_algo_t' >> include/linux/genalloc.h:52: warning: Excess function parameter 'map' >> description in 'long' >> include/linux/genalloc.h:52: warning: Excess function parameter 'size' >> description in 'long' >> include/linux/genalloc.h:52: warning: Excess function parameter 'start' >> description in 'long' >> include/linux/genalloc.h:52: warning: Excess function parameter 'nr' >> description in 'long' >> include/linux/genalloc.h:52: warning: Excess function parameter 'data' >> description in 'long' include/linux/mod_devicetable.h:687: warning: Excess struct/union/enum/typedef member 'ver_major' description in 'fsl_mc_device_id' include/linux/mod_devicetable.h:687: warning: Excess struct/union/enum/typedef member 'ver_minor' description in 'fsl_mc_device_id' kernel/sched/core.c:2080: warning: No description found for parameter 'rf' kernel/sched/core.c:2080: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' include/linux/wait.h:555: warning: No description found for parameter 'wq' include/linux/wait.h:555: warning: Excess function parameter 'wq_head' description in 'wait_event_interruptible_hrtimeout' include/linux/wait.h:759: warning: No description found for parameter 'wq_head' include/linux/wait.h:759: warning: Excess function parameter 'wq' description in 'wait_event_killable' include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' include/linux/device.h:968: warning: No description found for parameter 'dma_ops' include/linux/iio/iio.h:603: warning: No description found for parameter 'trig_readonly' include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev' include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig' include/linux/device.h:969: warning: No description found for parameter 'dma_ops' drivers/ata/libata-eh.c:1449: warning: No description found for parameter 'link' drivers/ata/libata-eh.c:1449: warning: Excess function parameter 'ap' description in 'ata_eh_done' drivers/ata/libata-eh.c:1590: warning: No description found for parameter 'qc' drivers/ata/libata-eh.c:1590: warning: Excess function parameter 'dev' description in 'ata_eh_request_sense' drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page' drivers/mtd/nand/nand_base.c:2751: warning: Excess function parameter 'cached' description in 'nand_write_page' drivers/scsi/scsi_lib.c:1116: warning: No description found for parameter 'rq' include/linux/usb/gadget.h:230: warning: No description found for parameter 'claimed' include/linux/usb/gadget.h:230: warning: No description found for parameter 'enabled' include/linux/usb/gadget.h:412: warning: No description found for parameter 'quirk_altset_not_supp' include/linux/usb/gadget.h:412: warning: No description found for parameter 'quirk_stall_not_supp' include/linux/usb/gadget.h:412: warning: No description found for parameter 'quirk_zlp_not_supp' fs/inode.c:1666: warning: No description found for parameter 'rcu' include/linux/jbd2.h:443: warning: No description found for parameter 'i_transaction' include/linux/jbd2.h:443: warning: No description found for parameter 'i_next_transaction' include/linux/jbd2.h:443: warning: No description found for parameter 'i_list' include/linux/jbd2.h:443: warning: No description found for parameter 'i_vfs_inode' include/linux/jbd2.h:443: warning: No description found for parameter 'i_flags' include/linux/jbd2.h:497: warning: No description found for parameter 'h_rsv_handle' include/linux/jbd2.h:497: warning: No description found for parameter 'h_reserved' include/linux/jbd2.h:497: warning: No description found for parameter 'h_type' include/linux/jbd2.h:497: warning: No description found for parameter 'h_line_no' include/linux/jbd2.h:497: warning: No description found for parameter 'h_start_jiffies' include/linux/jbd2.h:497: warning: No description found for parameter 'h_requested_credits' include/linux/jbd2.h:497: warning: No description found for parameter 'saved_alloc_context' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_chkpt_bhs' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_devname' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_average_commit_time'
Re: [PATCH v6 04/19] crypto: marvell/cesa: remove redundant backlog checks on EBUSY
Hi Gilad, [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.13-rc6 next-20170823] [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/Gilad-Ben-Yossef/crypto-change-transient-busy-return-code-to-EAGAIN/20170824-180606 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All error/warnings (new ones prefixed by >>): drivers/crypto/marvell/cesa.c: In function 'mv_cesa_queue_req': >> drivers/crypto/marvell/cesa.c:187:3: error: expected ')' before >> 'mv_cesa_tdma_chain' mv_cesa_tdma_chain(engine, creq); ^~ >> drivers/crypto/marvell/cesa.c:196:1: error: expected expression before '}' >> token } ^ >> drivers/crypto/marvell/cesa.c:196:1: warning: control reaches end of >> non-void function [-Wreturn-type] } ^ vim +187 drivers/crypto/marvell/cesa.c f63601fd6 Boris Brezillon 2015-06-18 176 53da740fe Romain Perier2016-06-21 177 int mv_cesa_queue_req(struct crypto_async_request *req, 53da740fe Romain Perier2016-06-21 178struct mv_cesa_req *creq) f63601fd6 Boris Brezillon 2015-06-18 179 { f63601fd6 Boris Brezillon 2015-06-18 180 int ret; bf8f91e71 Romain Perier2016-06-21 181 struct mv_cesa_engine *engine = creq->engine; f63601fd6 Boris Brezillon 2015-06-18 182 bf8f91e71 Romain Perier2016-06-21 183 spin_lock_bh(>lock); bf8f91e71 Romain Perier2016-06-21 184 ret = crypto_enqueue_request(>queue, req); 603e989eb Romain Perier2016-07-22 185 if ((mv_cesa_req_get_type(creq) == CESA_DMA_REQ) && 3a1c7473a Gilad Ben-Yossef 2017-08-21 186 (ret == -EINPROGRESS || ret == -EBUSY) 603e989eb Romain Perier2016-07-22 @187 mv_cesa_tdma_chain(engine, creq); bf8f91e71 Romain Perier2016-06-21 188 spin_unlock_bh(>lock); f63601fd6 Boris Brezillon 2015-06-18 189 f63601fd6 Boris Brezillon 2015-06-18 190 if (ret != -EINPROGRESS) f63601fd6 Boris Brezillon 2015-06-18 191 return ret; f63601fd6 Boris Brezillon 2015-06-18 192 85030c516 Romain Perier2016-06-21 193 mv_cesa_rearm_engine(engine); f63601fd6 Boris Brezillon 2015-06-18 194 f63601fd6 Boris Brezillon 2015-06-18 195 return -EINPROGRESS; f63601fd6 Boris Brezillon 2015-06-18 @196 } f63601fd6 Boris Brezillon 2015-06-18 197 :: The code at line 187 was first introduced by commit :: 603e989ebee21bfa9cddf8390d0515a07324edc8 crypto: marvell - Don't chain at DMA level when backlog is disabled :: TO: Romain Perier:: CC: Herbert Xu --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup
Hi Waiman, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc5 next-20170817] [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/Waiman-Long/cpuset-Allow-v2-behavior-in-v1-cgroup/20170818-040416 config: i386-defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel/cgroup/cpuset.c: In function 'set_v2_mode': >> kernel/cgroup/cpuset.c:2145:24: error: passing argument 3 of 'kstrtol' from >> incompatible pointer type [-Werror=incompatible-pointer-types] ret = kstrtol(str, 0, ); ^ In file included from include/linux/list.h:8:0, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from kernel/cgroup/cpuset.c:25: include/linux/kernel.h:332:32: note: expected 'long int *' but argument is of type 'ssize_t * {aka int *}' static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) ^~~ cc1: some warnings being treated as errors vim +/kstrtol +2145 kernel/cgroup/cpuset.c 2138 2139 static int __init set_v2_mode(char *str) 2140 { 2141 ssize_t ret, val; 2142 2143 if (!str) 2144 return 0; > 2145 ret = kstrtol(str, 0, ); 2146 cpuset_v2_mode = !!val; 2147 return ret; 2148 } 2149 __setup("cpuset_v2_mode=", set_v2_mode); 2150 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] cpuset: Allow v2 behavior in v1 cgroup
Hi Waiman, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc5 next-20170817] [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/Waiman-Long/cpuset-Allow-v2-behavior-in-v1-cgroup/20170818-040416 config: i386-randconfig-n0-201733 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): kernel/cgroup/cpuset.c: In function 'set_v2_mode': >> kernel/cgroup/cpuset.c:2145:2: warning: passing argument 3 of 'kstrtol' from >> incompatible pointer type [enabled by default] ret = kstrtol(str, 0, ); ^ In file included from include/linux/list.h:8:0, from include/linux/kobject.h:20, from include/linux/device.h:17, from include/linux/node.h:17, from include/linux/cpu.h:16, from kernel/cgroup/cpuset.c:25: include/linux/kernel.h:332:32: note: expected 'long int *' but argument is of type 'ssize_t *' static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) ^ vim +/kstrtol +2145 kernel/cgroup/cpuset.c 2138 2139 static int __init set_v2_mode(char *str) 2140 { 2141 ssize_t ret, val; 2142 2143 if (!str) 2144 return 0; > 2145 ret = kstrtol(str, 0, ); 2146 cpuset_v2_mode = !!val; 2147 return ret; 2148 } 2149 __setup("cpuset_v2_mode=", set_v2_mode); 2150 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v1 2/3] ipmi: bt-i2c: added IPMI Block Transfer over I2C host side
Hi Brendan, [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on v4.13-rc3 next-20170804] [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/Brendan-Higgins/ipmi-bt-i2c-added-IPMI-Block-Transfer-over-I2C/20170806-033950 config: ia64-allyesconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): drivers/char/ipmi/ipmi_bt_i2c.c: In function 'ipmi_bt_i2c_receive_response': >> drivers/char/ipmi/ipmi_bt_i2c.c:119:7: error: implicit declaration of >> function 'signal_pending' [-Werror=implicit-function-declaration] if (signal_pending(current)) ^~ cc1: some warnings being treated as errors vim +/signal_pending +119 drivers/char/ipmi/ipmi_bt_i2c.c 97 98 static int ipmi_bt_i2c_receive_response(struct ipmi_bt_i2c_master *master, 99 struct ipmi_bt_i2c_msg *response) 100 { 101 struct i2c_client *client = master->client; 102 unsigned long timeout, read_time; 103 u8 *buf = (u8 *) response; 104 u8 len = 0; 105 int ret; 106 107 /* 108 * Slave may not NACK when not ready, so we peek at the first byte to 109 * see if it is a valid length. 110 */ 111 ret = i2c_master_recv(client, , 1); 112 while (ret != 1 || len == 0) { 113 if (ret < 0) 114 return ret; 115 116 usleep_range(1000, 1500); 117 118 /* Signal received: quit syscall. */ > 119 if (signal_pending(current)) 120 return -ERESTARTSYS; 121 122 ret = i2c_master_recv(client, , 1); 123 } 124 125 timeout = jiffies + msecs_to_jiffies(write_timeout); 126 do { 127 read_time = jiffies; 128 ret = i2c_master_recv(client, buf, len + 1); 129 if (ret >= 0) 130 return 0; 131 usleep_range(1000, 1500); 132 } while (time_before(read_time, timeout)); 133 return ret; 134 } 135 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v2 02/10] drivers/hwmon/occ: Add command transport method for P8 and P9
Hi Edward, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.13-rc2 next-20170728] [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/Eddie-James/drivers-hwmon-Add-On-Chip-Controller-OCC-hwmon-driver/20170729-233004 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> drivers/hwmon/occ/p8_i2c.c:14:23: fatal error: linux/occ.h: No such file or >> directory #include ^ compilation terminated. vim +14 drivers/hwmon/occ/p8_i2c.c > 14 #include 15 #include 16 #include 17 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [v4 2/4] mm, oom: cgroup-aware OOM killer
Hi Roman, [auto build test ERROR on linus/master] [also build test ERROR on v4.13-rc2 next-20170727] [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/Roman-Gushchin/cgroup-aware-OOM-killer/20170728-051627 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): mm/oom_kill.c: In function 'oom_kill_memcg_victim': >> mm/oom_kill.c:1005:24: error: dereferencing pointer to incomplete type >> 'struct mem_cgroup' if (oc->chosen_memcg->oom_kill_all_tasks) ^~ vim +1005 mm/oom_kill.c 982 983 static bool oom_kill_memcg_victim(struct oom_control *oc) 984 { 985 if (oc->chosen) { 986 if (oc->chosen != (void *)-1UL) { 987 __oom_kill_process(oc->chosen); 988 put_task_struct(oc->chosen); 989 schedule_timeout_killable(1); 990 } 991 return true; 992 993 } else if (oc->chosen_memcg) { 994 if (oc->chosen_memcg == (void *)-1UL) 995 return true; 996 997 /* Always begin with the biggest task */ 998 oc->chosen_points = 0; 999 oc->chosen = NULL; 1000 mem_cgroup_scan_tasks(oc->chosen_memcg, oom_evaluate_task, oc); 1001 if (oc->chosen && oc->chosen != (void *)-1UL) { 1002 __oom_kill_process(oc->chosen); 1003 put_task_struct(oc->chosen); 1004 > 1005 if (oc->chosen_memcg->oom_kill_all_tasks) 1006 mem_cgroup_scan_tasks(oc->chosen_memcg, 1007 oom_kill_memcg_member, 1008NULL); 1009 } 1010 1011 mem_cgroup_put(oc->chosen_memcg); 1012 oc->chosen_memcg = NULL; 1013 return true; 1014 1015 } else { 1016 oc->chosen_points = 0; 1017 return false; 1018 } 1019 } 1020 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface
Hi Egil, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Egil-Hjelmeland/net-dsa-lan9303-unicast-offload-fdb-mdb-STP/20170727-074246 config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> ERROR: "lan9303_indirect_phy_ops" [drivers/net/dsa/lan9303_i2c.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 09/12] ima: introduce securityfs interfaces for digest lists
Hi Roberto, [auto build test WARNING on integrity/next] [also build test WARNING on v4.13-rc2 next-20170726] [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/Roberto-Sassu/ima-measure-digest-lists-instead-of-individual-files/20170727-123131 base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next config: x86_64-randconfig-x000-201730 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from security/integrity/ima/ima_fs.c:27:0: security/integrity/ima/ima.h: In function 'ima_parse_digest_list_metadata': security/integrity/ima/ima.h:165:10: error: 'ENOTSUP' undeclared (first use in this function) return -ENOTSUP; ^~~ security/integrity/ima/ima.h:165:10: note: each undeclared identifier is reported only once for each function it appears in >> security/integrity/ima/ima.h:166:1: warning: control reaches end of non-void >> function [-Wreturn-type] } ^ vim +166 security/integrity/ima/ima.h d68a6fe9f Mimi Zohar 2016-12-19 135 3323eec92 Mimi Zohar 2009-02-04 136 /* Internal IMA function definitions */ 3323eec92 Mimi Zohar 2009-02-04 137 int ima_init(void); bab739378 Mimi Zohar 2009-02-04 138 int ima_fs_init(void); 3323eec92 Mimi Zohar 2009-02-04 139 int ima_add_template_entry(struct ima_template_entry *entry, int violation, 9803d413f Roberto Sassu 2013-06-07 140 const char *op, struct inode *inode, 9803d413f Roberto Sassu 2013-06-07 141 const unsigned char *filename); c7c8bb237 Dmitry Kasatkin 2013-04-25 142 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash); 11d7646df Dmitry Kasatkin 2014-04-17 143 int ima_calc_buffer_hash(const void *buf, loff_t len, 11d7646df Dmitry Kasatkin 2014-04-17 144struct ima_digest_data *hash); b6f8f16f4 Roberto Sassu 2013-11-08 145 int ima_calc_field_array_hash(struct ima_field_data *field_data, b6f8f16f4 Roberto Sassu 2013-11-08 146 struct ima_template_desc *desc, int num_fields, c7c8bb237 Dmitry Kasatkin 2013-04-25 147 struct ima_digest_data *hash); 09ef54359 Dmitry Kasatkin 2013-06-07 148 int __init ima_calc_boot_aggregate(struct ima_digest_data *hash); 7d802a227 Roberto Sassu 2013-06-07 149 void ima_add_violation(struct file *file, const unsigned char *filename, 8d94eb9b5 Roberto Sassu 2015-04-11 150 struct integrity_iint_cache *iint, 3323eec92 Mimi Zohar 2009-02-04 151 const char *op, const char *cause); 76bb28f61 Dmitry Kasatkin 2012-06-08 152 int ima_init_crypto(void); 3ce1217d6 Roberto Sassu 2013-06-07 153 void ima_putc(struct seq_file *m, void *data, int datalen); 45b26133b Mimi Zohar 2015-06-11 154 void ima_print_digest(struct seq_file *m, u8 *digest, u32 size); a71dc65d3 Roberto Sassu 2013-06-07 155 struct ima_template_desc *ima_template_desc_current(void); 94c3aac56 Mimi Zohar 2016-12-19 156 int ima_restore_measurement_entry(struct ima_template_entry *entry); 94c3aac56 Mimi Zohar 2016-12-19 157 int ima_restore_measurement_list(loff_t bufsize, void *buf); 4b1c19b3d Roberto Sassu 2017-07-25 158 struct ima_digest *ima_lookup_loaded_digest(u8 *digest); 4b1c19b3d Roberto Sassu 2017-07-25 159 int ima_add_digest_data_entry(u8 *digest); 3580b2df6 Roberto Sassu 2017-07-25 160 #ifdef CONFIG_IMA_DIGEST_LIST 3580b2df6 Roberto Sassu 2017-07-25 161 ssize_t ima_parse_digest_list_metadata(loff_t size, void *buf); 3580b2df6 Roberto Sassu 2017-07-25 162 #else 3580b2df6 Roberto Sassu 2017-07-25 163 static inline ssize_t ima_parse_digest_list_metadata(loff_t size, void *buf) 3580b2df6 Roberto Sassu 2017-07-25 164 { 3580b2df6 Roberto Sassu 2017-07-25 @165 return -ENOTSUP; 3580b2df6 Roberto Sassu 2017-07-25 @166 } 3580b2df6 Roberto Sassu 2017-07-25 167 #endif 7b8589cc2 Mimi Zohar 2016-12-19 168 int ima_measurements_show(struct seq_file *m, void *v); d158847ae Mimi Zohar 2016-12-19 169 unsigned long ima_get_binary_runtime_size(void); a71dc65d3 Roberto Sassu 2013-06-07 170 int ima_init_template(void); 3f23d624d Mimi Zohar 2016-12-19 171 void ima_init_template_list(void); 3323eec92 Mimi Zohar 2009-02-04 172 :: The code at line 166 was first introduced by commit :: 3580b2df63c2ec47030a481fea2d2c865124aff4 ima: added parser of digest lists metadata :: TO: Roberto Sassu:: CC: 0day robot --- 0-DAY kernel test infrastructureOpen Source Technology Center
Re: [PATCH 06/12] ima: added parser of digest lists metadata
Hi Roberto, [auto build test ERROR on integrity/next] [also build test ERROR on v4.13-rc2 next-20170726] [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/Roberto-Sassu/ima-measure-digest-lists-instead-of-individual-files/20170727-123131 base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next config: x86_64-randconfig-x000-201730 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from security/integrity/ima/ima_fs.c:27:0: security/integrity/ima/ima.h: In function 'ima_parse_digest_list_metadata': >> security/integrity/ima/ima.h:165:10: error: 'ENOTSUP' undeclared (first use >> in this function) return -ENOTSUP; ^~~ security/integrity/ima/ima.h:165:10: note: each undeclared identifier is reported only once for each function it appears in vim +/ENOTSUP +165 security/integrity/ima/ima.h 135 136 /* Internal IMA function definitions */ 137 int ima_init(void); 138 int ima_fs_init(void); 139 int ima_add_template_entry(struct ima_template_entry *entry, int violation, 140 const char *op, struct inode *inode, 141 const unsigned char *filename); 142 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash); 143 int ima_calc_buffer_hash(const void *buf, loff_t len, 144 struct ima_digest_data *hash); 145 int ima_calc_field_array_hash(struct ima_field_data *field_data, 146struct ima_template_desc *desc, int num_fields, 147struct ima_digest_data *hash); 148 int __init ima_calc_boot_aggregate(struct ima_digest_data *hash); 149 void ima_add_violation(struct file *file, const unsigned char *filename, 150 struct integrity_iint_cache *iint, 151 const char *op, const char *cause); 152 int ima_init_crypto(void); 153 void ima_putc(struct seq_file *m, void *data, int datalen); 154 void ima_print_digest(struct seq_file *m, u8 *digest, u32 size); 155 struct ima_template_desc *ima_template_desc_current(void); 156 int ima_restore_measurement_entry(struct ima_template_entry *entry); 157 int ima_restore_measurement_list(loff_t bufsize, void *buf); 158 struct ima_digest *ima_lookup_loaded_digest(u8 *digest); 159 int ima_add_digest_data_entry(u8 *digest); 160 #ifdef CONFIG_IMA_DIGEST_LIST 161 ssize_t ima_parse_digest_list_metadata(loff_t size, void *buf); 162 #else 163 static inline ssize_t ima_parse_digest_list_metadata(loff_t size, void *buf) 164 { > 165 return -ENOTSUP; 166 } 167 #endif 168 int ima_measurements_show(struct seq_file *m, void *v); 169 unsigned long ima_get_binary_runtime_size(void); 170 int ima_init_template(void); 171 void ima_init_template_list(void); 172 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCHv2 2/3] usb: gadget: f_uac*: Reduce code duplication
Hi Julian, [auto build test WARNING on balbi-usb/next] [also build test WARNING on next-20170630] [cannot apply to v4.12-rc7] [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/Julian-Scheel/USB-Audio-Gadget-Support-multiple-sampling-rates/20170702-215432 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next coccinelle warnings: (new ones prefixed by >>) >> drivers/usb/gadget/legacy/audio.c:231:23-29: ERROR: application of sizeof to >> pointer Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] usb: gadget: f_uac*: fix noderef.cocci warnings
drivers/usb/gadget/legacy/audio.c:231:23-29: ERROR: application of sizeof to pointer sizeof when applied to a pointer typed expression gives the size of the pointer Generated by: scripts/coccinelle/misc/noderef.cocci Fixes: f95cee9b299f ("usb: gadget: f_uac*: Reduce code duplication") CC: Julian ScheelSigned-off-by: Fengguang Wu --- audio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/gadget/legacy/audio.c +++ b/drivers/usb/gadget/legacy/audio.c @@ -228,7 +228,7 @@ static int audio_bind(struct usb_composi #endif #if !defined(CONFIG_GADGET_UAC1) || !defined(CONFIG_GADGET_UAC1_LEGACY) - memset(uac_opts, 0x0, sizeof(uac_opts)); + memset(uac_opts, 0x0, sizeof(*uac_opts)); uac_opts->p_chmask = p_chmask; uac_opts->p_srate[0] = p_srate; uac_opts->p_srate_active = p_srate; -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCHv2 2/3] usb: gadget: f_uac*: Reduce code duplication
Hi Julian, [auto build test ERROR on balbi-usb/next] [also build test ERROR on next-20170630] [cannot apply to v4.12-rc7] [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/Julian-Scheel/USB-Audio-Gadget-Support-multiple-sampling-rates/20170702-215432 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: x86_64-randconfig-x012-201727 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/usb/gadget/function/usb_f_uac2.o: In function `f_uac_attr_release': >> (.text+0x0): multiple definition of `f_uac_attr_release' drivers/usb/gadget/function/usb_f_uac1.o:(.text+0x0): first defined here --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c:274:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: 2dd3bcc1c8a7 ("drivers: perf: hisi: Add support for HiSilicon SoC DDRC PMU driver") CC: Shaokun ZhangSigned-off-by: Fengguang Wu --- hisi_uncore_ddrc_pmu.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- a/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c @@ -271,10 +271,7 @@ static int hisi_ddrc_pmu_init_data(struc res = platform_get_resource(pdev, IORESOURCE_MEM, 0); ddrc_pmu->base = devm_ioremap_resource(dev, res); - if (IS_ERR(ddrc_pmu->base)) - return PTR_ERR(ddrc_pmu->base); - - return 0; + return PTR_ERR_OR_ZERO(ddrc_pmu->base); } static struct attribute *hisi_ddrc_pmu_format_attr[] = { -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 5/6] drivers: perf: hisi: Add support for HiSilicon SoC DDRC PMU driver
Hi Shaokun, [auto build test WARNING on next-20170619] [also build test WARNING on v4.12-rc7] [cannot apply to linus/master linux/master arm64/for-next/core v4.12-rc6 v4.12-rc5 v4.12-rc4] [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/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170628-070841 coccinelle warnings: (new ones prefixed by >>) >> drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c:274:1-3: WARNING: >> PTR_ERR_OR_ZERO can be used Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 4/6] drivers: perf: hisi: Add support for HiSilicon SoC HHA PMU driver
Hi Shaokun, [auto build test ERROR on next-20170619] [also build test ERROR on v4.12-rc7] [cannot apply to linus/master linux/master arm64/for-next/core v4.12-rc6 v4.12-rc5 v4.12-rc4] [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/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170628-070841 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/perf/hisilicon/hisi_uncore_hha_pmu.c: In function 'hisi_hha_pmu_read_counter': >> drivers/perf/hisilicon/hisi_uncore_hha_pmu.c:71:9: error: implicit >> declaration of function 'readq' [-Werror=implicit-function-declaration] return readq(hha_pmu->base + reg); ^ drivers/perf/hisilicon/hisi_uncore_hha_pmu.c: In function 'hisi_hha_pmu_write_counter': >> drivers/perf/hisilicon/hisi_uncore_hha_pmu.c:87:2: error: implicit >> declaration of function 'writeq' [-Werror=implicit-function-declaration] writeq(val, hha_pmu->base + reg); ^~ cc1: some warnings being treated as errors coccinelle warnings: (new ones prefixed by >>) >> drivers/perf/hisilicon/hisi_uncore_hha_pmu.c:272:1-3: WARNING: >> PTR_ERR_OR_ZERO can be used Please review and possibly fold the followup patch. vim +/readq +71 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c 65 return 0; 66 } 67 68 reg = get_counter_reg_off(idx); 69 70 /* Read 64 bits and like L3C, top 16 bits are RAZ */ > 71 return readq(hha_pmu->base + reg); 72 } 73 74 static void hisi_hha_pmu_write_counter(struct hisi_pmu *hha_pmu, 75 struct hw_perf_event *hwc, u64 val) 76 { 77 u32 idx = hwc->idx; 78 u32 reg; 79 80 if (!hisi_uncore_pmu_counter_valid(hha_pmu, idx)) { 81 dev_err(hha_pmu->dev, "Unsupported event index:%d!\n", idx); 82 return; 83 } 84 85 reg = get_counter_reg_off(idx); 86 /* Write 64 bits and like L3C, top 16 bits are WI */ > 87 writeq(val, hha_pmu->base + reg); 88 } 89 90 static void hisi_hha_pmu_write_evtype(struct hisi_pmu *hha_pmu, int idx, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c:272:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: 2b8a651927f4 ("drivers: perf: hisi: Add support for HiSilicon SoC HHA PMU driver") CC: Shaokun ZhangSigned-off-by: Fengguang Wu --- hisi_uncore_hha_pmu.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- a/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c @@ -269,10 +269,7 @@ static int hisi_hha_pmu_init_data(struct res = platform_get_resource(pdev, IORESOURCE_MEM, 0); hha_pmu->base = devm_ioremap_resource(dev, res); - if (IS_ERR(hha_pmu->base)) - return PTR_ERR(hha_pmu->base); - - return 0; + return PTR_ERR_OR_ZERO(hha_pmu->base); } static struct attribute *hisi_hha_pmu_format_attr[] = { -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 3/6] drivers: perf: hisi: Add support for HiSilicon SoC L3C PMU driver
Hi Shaokun, [auto build test ERROR on next-20170619] [also build test ERROR on v4.12-rc7] [cannot apply to linus/master linux/master arm64/for-next/core v4.12-rc6 v4.12-rc5 v4.12-rc4] [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/Shaokun-Zhang/Add-HiSilicon-SoC-uncore-Performance-Monitoring-Unit-driver/20170628-070841 config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c: In function 'hisi_l3c_pmu_read_counter': >> drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c:69:9: error: implicit >> declaration of function 'readq' [-Werror=implicit-function-declaration] return readq(l3c_pmu->base + reg); ^ drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c: In function 'hisi_l3c_pmu_write_counter': >> drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c:85:2: error: implicit >> declaration of function 'writeq' [-Werror=implicit-function-declaration] writeq(val, l3c_pmu->base + reg); ^~ cc1: some warnings being treated as errors coccinelle warnings: (new ones prefixed by >>) >> drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c:348:1-3: WARNING: >> PTR_ERR_OR_ZERO can be used Please review and possibly fold the followup patch. vim +/readq +69 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c 63 return 0; 64 } 65 66 reg = get_counter_reg_off(idx); 67 68 /* Read 64-bits and the upper 16 bits are Read-As-Zero */ > 69 return readq(l3c_pmu->base + reg); 70 } 71 72 static void hisi_l3c_pmu_write_counter(struct hisi_pmu *l3c_pmu, 73 struct hw_perf_event *hwc, u64 val) 74 { 75 u32 idx = hwc->idx; 76 u32 reg; 77 78 if (!hisi_uncore_pmu_counter_valid(l3c_pmu, idx)) { 79 dev_err(l3c_pmu->dev, "Unsupported event index:%d!\n", idx); 80 return; 81 } 82 83 reg = get_counter_reg_off(idx); 84 /* Write 64-bits and the upper 16 bits are Writes-Ignored */ > 85 writeq(val, l3c_pmu->base + reg); 86 } 87 88 static void hisi_l3c_pmu_write_evtype(struct hisi_pmu *l3c_pmu, int idx, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[PATCH] drivers: perf: hisi: fix ptr_ret.cocci warnings
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c:348:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Fixes: 05958712d8d4 ("drivers: perf: hisi: Add support for HiSilicon SoC L3C PMU driver") CC: Shaokun ZhangSigned-off-by: Fengguang Wu --- hisi_uncore_l3c_pmu.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- a/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c @@ -345,10 +345,7 @@ static int hisi_l3c_pmu_init_data(struct res = platform_get_resource(pdev, IORESOURCE_MEM, 0); l3c_pmu->base = devm_ioremap_resource(dev, res); - if (IS_ERR(l3c_pmu->base)) - return PTR_ERR(l3c_pmu->base); - - return 0; + return PTR_ERR_OR_ZERO(l3c_pmu->base); } static struct attribute *hisi_l3c_pmu_format_attr[] = { -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/3] usb: gadget: f_uac*: Reduce code duplication
Hi Julian, [auto build test ERROR on balbi-usb/next] [also build test ERROR on next-20170626] [cannot apply to v4.12-rc7] [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/Julian-Scheel/usb-gadget-f_uac1-Fix-endpoint-reading/20170626-202843 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: arm-imx_v6_v7_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): >> drivers/usb/gadget/legacy/audio.c:24:20: fatal error: u_uac2.h: No such file >> or directory #include "u_uac2.h" ^ compilation terminated. vim +24 drivers/usb/gadget/legacy/audio.c c6994e6f drivers/usb/gadget/audio.cBryan Wu 2009-06-03 18 #define DRIVER_DESC"Linux USB Audio Gadget" 132fcb46 drivers/usb/gadget/audio.cJassi Brar2012-02-02 19 #define DRIVER_VERSION "Feb 2, 2012" c6994e6f drivers/usb/gadget/audio.cBryan Wu 2009-06-03 20 7d16e8d3 drivers/usb/gadget/audio.cSebastian Andrzej Siewior 2012-09-10 21 USB_GADGET_COMPOSITE_OPTIONS(); c6994e6f drivers/usb/gadget/audio.cBryan Wu 2009-06-03 22 0591bc23 drivers/usb/gadget/legacy/audio.c Ruslan Bilovol2017-06-18 23 #ifndef CONFIG_GADGET_UAC1 065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 @24 #include "u_uac2.h" 065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 25 ad94ac0c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 26 /* Playback(USB-IN) Default Stereo - Fl/Fr */ 065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 27 static int p_chmask = UAC2_DEF_PCHMASK; :: The code at line 24 was first introduced by commit :: 065a107cdd70f0621011424009b3ecd4e42481b1 usb: gadget: f_uac2: use defined constants as defaults :: TO: Andrzej Pietrasiewicz:: CC: Felipe Balbi --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 2/2] x86/idle: use dynamic halt poll
Hi Yang, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc6] [cannot apply to tip/x86/core next-20170622] [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/root/x86-idle-add-halt-poll-for-halt-idle/20170623-061318 config: i386-randconfig-x016-06222129 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): In file included from arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:80, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/gfp.h:5, from include/linux/mm.h:9, from arch/x86/kernel/process.c:5: arch/x86/kernel/process.c: In function 'check_poll': >> arch/x86/include/asm/percpu.h:109:3: warning: 'val' may be used >> uninitialized in this function [-Wmaybe-uninitialized] asm(op "l %1,"__percpu_arg(0) \ ^~~ arch/x86/kernel/process.c:351:15: note: 'val' was declared here unsigned int val, poll_duration; ^~~ -- In file included from arch/x86/include/asm/preempt.h:5:0, from include/linux/preempt.h:80, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/gfp.h:5, from include/linux/mm.h:9, from arch/x86//kernel/process.c:5: arch/x86//kernel/process.c: In function 'check_poll': >> arch/x86/include/asm/percpu.h:109:3: warning: 'val' may be used >> uninitialized in this function [-Wmaybe-uninitialized] asm(op "l %1,"__percpu_arg(0) \ ^~~ arch/x86//kernel/process.c:351:15: note: 'val' was declared here unsigned int val, poll_duration; ^~~ vim +/val +109 arch/x86/include/asm/percpu.h 0f5e4816 arch/x86/include/asm/percpu.h Tejun Heo 2009-10-29 93 pto_T__ pto_tmp__; \ 0f5e4816 arch/x86/include/asm/percpu.h Tejun Heo 2009-10-29 94 pto_tmp__ = (val); \ 23b764d0 arch/x86/include/asm/percpu.h Andi Kleen 2010-06-10 95 (void)pto_tmp__;\ bc9e3be2 include/asm-x86/percpu.h Joe Perches2008-03-23 96 } \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 97 switch (sizeof(var)) { \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 98 case 1: \ 87b26406 arch/x86/include/asm/percpu.h Brian Gerst2009-01-19 99 asm(op "b %1,"__percpu_arg(0) \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 100 : "+m" (var)\ 0f5e4816 arch/x86/include/asm/percpu.h Tejun Heo 2009-10-29 101 : "qi" ((pto_T__)(val))); \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 102 break; \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 103 case 2: \ 87b26406 arch/x86/include/asm/percpu.h Brian Gerst2009-01-19 104 asm(op "w %1,"__percpu_arg(0) \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 105 : "+m" (var)\ 0f5e4816 arch/x86/include/asm/percpu.h Tejun Heo 2009-10-29 106 : "ri" ((pto_T__)(val))); \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 107 break; \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 108 case 4: \ 87b26406 arch/x86/include/asm/percpu.h Brian Gerst2009-01-19 @109 asm(op "l %1,"__percpu_arg(0) \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 110 : "+m" (var)\ 0f5e4816 arch/x86/include/asm/percpu.h Tejun Heo 2009-10-29 111 : "ri" ((pto_T__)(val))); \ 3334052a include/asm-x86/percpu.h tra...@sgi.com 2008-01-30 112 break; \ 9939ddaf arch/x86/include/asm/percpu.h Tejun Heo 2009-01-13 113 case 8: \ 87b26406 arch/x86/include/asm/percpu.h Brian Gerst2009-01-19 114 asm(op "q %1,"__percpu_arg(0) \ 9939ddaf arch/x86/include/asm/percpu.h Tejun Heo 2009-01-13 115
Re: [PATCH v7 29/36] x86, drm, fbdev: Do not specify encrypted memory for video mappings
Hi Tom, [auto build test ERROR on next-20170616] [cannot apply to tip/x86/core linus/master linux/master v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc5] [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/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170617-210824 config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): drivers/gpu/drm/drm_gem.c: In function 'drm_gem_mmap_obj': >> drivers/gpu/drm/drm_gem.c:932:22: error: implicit declaration of function >> 'pgprot_decrypted' [-Werror=implicit-function-declaration] vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^~~~ >> drivers/gpu/drm/drm_gem.c:932:20: error: incompatible types when assigning >> to type 'pgprot_t {aka struct }' from type 'int' vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^ cc1: some warnings being treated as errors -- drivers/video/fbdev/core/fbmem.c: In function 'fb_mmap': >> drivers/video/fbdev/core/fbmem.c:1414:23: error: implicit declaration of >> function 'pgprot_decrypted' [-Werror=implicit-function-declaration] vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^~~~ >> drivers/video/fbdev/core/fbmem.c:1414:21: error: incompatible types when >> assigning to type 'pgprot_t {aka struct }' from type 'int' vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^ drivers/video/fbdev/core/fbmem.c:1444:20: error: incompatible types when assigning to type 'pgprot_t {aka struct }' from type 'int' vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^ cc1: some warnings being treated as errors -- drivers/gpu/drm/udl/udl_fb.c: In function 'udl_fb_mmap': >> drivers/gpu/drm/udl/udl_fb.c:174:22: error: implicit declaration of function >> 'pgprot_decrypted' [-Werror=implicit-function-declaration] vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^~~~ >> drivers/gpu/drm/udl/udl_fb.c:174:20: error: incompatible types when >> assigning to type 'pgprot_t {aka struct }' from type 'int' vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); ^ cc1: some warnings being treated as errors vim +/pgprot_decrypted +932 drivers/gpu/drm/drm_gem.c 926 return -EINVAL; 927 928 vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; 929 vma->vm_ops = dev->driver->gem_vm_ops; 930 vma->vm_private_data = obj; 931 vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); > 932 vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); 933 934 /* Take a ref for this mapping of the object, so that the fault 935 * handler can dereference the mmap offset's pointer to the object. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 10/34] x86, x86/mm, x86/xen, olpc: Use __va() against just the physical address in cr3
Hi Tom, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4 next-20170607] [cannot apply to tip/x86/core] [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/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170608-104147 config: um-x86_64_defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones prefixed by >>): In file included from arch/x86/include/asm/cacheflush.h:6:0, from include/linux/highmem.h:11, from net/core/sock.c:116: arch/x86/include/asm/special_insns.h: In function 'native_read_cr3_pa': >> arch/x86/include/asm/special_insns.h:239:30: error: 'PHYSICAL_PAGE_MASK' >> undeclared (first use in this function) return (native_read_cr3() & PHYSICAL_PAGE_MASK); ^~ arch/x86/include/asm/special_insns.h:239:30: note: each undeclared identifier is reported only once for each function it appears in arch/x86/include/asm/special_insns.h: In function 'read_cr3_pa': arch/x86/include/asm/special_insns.h:244:23: error: 'PHYSICAL_PAGE_MASK' undeclared (first use in this function) return (read_cr3() & PHYSICAL_PAGE_MASK); ^~ vim +/PHYSICAL_PAGE_MASK +239 arch/x86/include/asm/special_insns.h 233 } 234 235 #define nop() asm volatile ("nop") 236 237 static inline unsigned long native_read_cr3_pa(void) 238 { > 239 return (native_read_cr3() & PHYSICAL_PAGE_MASK); 240 } 241 242 static inline unsigned long read_cr3_pa(void) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 25/34] swiotlb: Add warnings for use of bounce buffers with SME
Hi Tom, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4 next-20170607] [cannot apply to tip/x86/core] [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/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170608-104147 config: sparc-defconfig (attached as .config) compiler: sparc-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc All errors (new ones prefixed by >>): In file included from include/linux/dma-mapping.h:13:0, from include/linux/skbuff.h:34, from include/linux/filter.h:12, from kernel//bpf/core.c:24: >> include/linux/mem_encrypt.h:16:29: fatal error: asm/mem_encrypt.h: No such >> file or directory #include ^ compilation terminated. vim +16 include/linux/mem_encrypt.h 2d7c2ec4 Tom Lendacky 2017-06-07 10 * published by the Free Software Foundation. 2d7c2ec4 Tom Lendacky 2017-06-07 11 */ 2d7c2ec4 Tom Lendacky 2017-06-07 12 2d7c2ec4 Tom Lendacky 2017-06-07 13 #ifndef __MEM_ENCRYPT_H__ 2d7c2ec4 Tom Lendacky 2017-06-07 14 #define __MEM_ENCRYPT_H__ 2d7c2ec4 Tom Lendacky 2017-06-07 15 2d7c2ec4 Tom Lendacky 2017-06-07 @16 #include 2d7c2ec4 Tom Lendacky 2017-06-07 17 2d7c2ec4 Tom Lendacky 2017-06-07 18 #endif/* __MEM_ENCRYPT_H__ */ :: The code at line 16 was first introduced by commit :: 2d7c2ec4c60e83432b27bfb32042706f404d4158 x86/mm: Add Secure Memory Encryption (SME) support :: TO: Tom Lendacky:: CC: 0day robot --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v6 19/34] x86/mm: Add support to access boot related data in the clear
Hi Tom, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4 next-20170607] [cannot apply to tip/x86/core] [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/Tom-Lendacky/x86-Secure-Memory-Encryption-AMD/20170608-104147 config: i386-randconfig-x077-06040719 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from arch/x86/include/asm/dma.h:12:0, from include/linux/bootmem.h:9, from arch/x86/mm/ioremap.c:9: >> arch/x86/include/asm/io.h:386:37: error: conflicting types for >> 'arch_memremap_can_ram_remap' #define arch_memremap_can_ram_remap arch_memremap_can_ram_remap ^ >> arch/x86/mm/ioremap.c:561:6: note: in expansion of macro >> 'arch_memremap_can_ram_remap' bool arch_memremap_can_ram_remap(resource_size_t phys_addr, unsigned long size, ^~~ arch/x86/include/asm/io.h:384:13: note: previous declaration of 'arch_memremap_can_ram_remap' was here extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, ^~~ -- In file included from arch/x86/include/asm/dma.h:12:0, from include/linux/bootmem.h:9, from arch/x86//mm/ioremap.c:9: >> arch/x86/include/asm/io.h:386:37: error: conflicting types for >> 'arch_memremap_can_ram_remap' #define arch_memremap_can_ram_remap arch_memremap_can_ram_remap ^ arch/x86//mm/ioremap.c:561:6: note: in expansion of macro 'arch_memremap_can_ram_remap' bool arch_memremap_can_ram_remap(resource_size_t phys_addr, unsigned long size, ^~~ arch/x86/include/asm/io.h:384:13: note: previous declaration of 'arch_memremap_can_ram_remap' was here extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, ^~~ vim +/arch_memremap_can_ram_remap +386 arch/x86/include/asm/io.h 380 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size); 381 #define arch_io_reserve_memtype_wc arch_io_reserve_memtype_wc 382 #endif 383 384 extern bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, 385 unsigned long flags); > 386 #define arch_memremap_can_ram_remap arch_memremap_can_ram_remap 387 388 #endif /* _ASM_X86_IO_H */ --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3] hwmon: Add support for MAX31785 intelligent fan controller
Hi Andrew, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.12-rc4 next-20170606] [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/Andrew-Jeffery/hwmon-Add-support-for-MAX31785-intelligent-fan-controller/20170607-020015 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All error/warnings (new ones prefixed by >>): In file included from include/linux/kobject.h:21:0, from include/linux/device.h:17, from include/linux/hwmon-sysfs.h:23, from drivers/hwmon/max31785.c:20: >> drivers/hwmon/max31785.c:727:50: error: initialization from incompatible >> pointer type [-Werror=incompatible-pointer-types] static SENSOR_DEVICE_ATTR(fan1_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >> include/linux/hwmon-sysfs.h:38:4: note: in expansion of macro 'SENSOR_ATTR' = SENSOR_ATTR(_name, _mode, _show, _store, _index) ^~~ >> drivers/hwmon/max31785.c:727:8: note: in expansion of macro >> 'SENSOR_DEVICE_ATTR' static SENSOR_DEVICE_ATTR(fan1_input_fast, 0444, max31785_fan_get_fast, ^~ drivers/hwmon/max31785.c:727:50: note: (near initialization for 'sensor_dev_attr_fan1_input_fast.dev_attr.show') static SENSOR_DEVICE_ATTR(fan1_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >> include/linux/hwmon-sysfs.h:38:4: note: in expansion of macro 'SENSOR_ATTR' = SENSOR_ATTR(_name, _mode, _show, _store, _index) ^~~ >> drivers/hwmon/max31785.c:727:8: note: in expansion of macro >> 'SENSOR_DEVICE_ATTR' static SENSOR_DEVICE_ATTR(fan1_input_fast, 0444, max31785_fan_get_fast, ^~ drivers/hwmon/max31785.c:729:50: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] static SENSOR_DEVICE_ATTR(fan2_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >> include/linux/hwmon-sysfs.h:38:4: note: in expansion of macro 'SENSOR_ATTR' = SENSOR_ATTR(_name, _mode, _show, _store, _index) ^~~ drivers/hwmon/max31785.c:729:8: note: in expansion of macro 'SENSOR_DEVICE_ATTR' static SENSOR_DEVICE_ATTR(fan2_input_fast, 0444, max31785_fan_get_fast, ^~ drivers/hwmon/max31785.c:729:50: note: (near initialization for 'sensor_dev_attr_fan2_input_fast.dev_attr.show') static SENSOR_DEVICE_ATTR(fan2_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >> include/linux/hwmon-sysfs.h:38:4: note: in expansion of macro 'SENSOR_ATTR' = SENSOR_ATTR(_name, _mode, _show, _store, _index) ^~~ drivers/hwmon/max31785.c:729:8: note: in expansion of macro 'SENSOR_DEVICE_ATTR' static SENSOR_DEVICE_ATTR(fan2_input_fast, 0444, max31785_fan_get_fast, ^~ drivers/hwmon/max31785.c:731:50: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] static SENSOR_DEVICE_ATTR(fan3_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >> include/linux/hwmon-sysfs.h:38:4: note: in expansion of macro 'SENSOR_ATTR' = SENSOR_ATTR(_name, _mode, _show, _store, _index) ^~~ drivers/hwmon/max31785.c:731:8: note: in expansion of macro 'SENSOR_DEVICE_ATTR' static SENSOR_DEVICE_ATTR(fan3_input_fast, 0444, max31785_fan_get_fast, ^~ drivers/hwmon/max31785.c:731:50: note: (near initialization for 'sensor_dev_attr_fan3_input_fast.dev_attr.show') static SENSOR_DEVICE_ATTR(fan3_input_fast, 0444, max31785_fan_get_fast, ^ include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR' .show = _show, \ ^ >>
Re: [PATCH 3/3] drivers: virt: Add visorbus to the drivers/virt directory
Hi David, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.12-rc4 next-20170606] [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/David-Kershner/move-visorbus-out-of-staging-to-drivers-virt-visorbus/20170606-070850 config: m68k-allyesconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): drivers/virt/visorbus/visorchipset.c: In function 'save_crash_message': >> drivers/virt/visorbus/visorchipset.c:479:36: error: dereferencing pointer to >> incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:485:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:495:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:508:37: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:519:37: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:525:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c: In function 'visorbus_create': drivers/virt/visorbus/visorchipset.c:582:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c: In function 'visorbus_configure': drivers/virt/visorbus/visorchipset.c:734:35: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c: In function 'visorbus_device_create': drivers/virt/visorbus/visorchipset.c:755:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:762:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:770:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c:796:36: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, ^ drivers/virt/visorbus/visorchipset.c: In function 'visorbus_device_changestate': drivers/virt/visorbus/visorchipset.c:896:35: error: dereferencing pointer to incomplete type dev_err(_dev->acpi_device->dev, "failed: %d\n", err); ^ drivers/virt/visorbus/visorchipset.c: In function 'parahotplug_request_kickoff': drivers/virt/visorbus/visorchipset.c:1188:53: error: dereferencing pointer to incomplete type return kobject_uevent_env(_dev->acpi_device->dev.kobj, ^ drivers/virt/visorbus/visorchipset.c: In function 'chipset_ready_uevent': drivers/virt/visorbus/visorchipset.c:1255:48: error: dereferencing pointer to incomplete type res = kobject_uevent(_dev->acpi_device->dev.kobj, ^ drivers/virt/visorbus/visorchipset.c: In function 'chipset_selftest_uevent': drivers/virt/visorbus/visorchipset.c:1279:52: error: dereferencing pointer to incomplete type res = kobject_uevent_env(_dev->acpi_device->dev.kobj, ^ drivers/virt/visorbus/visorchipset.c: In function 'chipset_notready_uevent': drivers/virt/visorbus/visorchipset.c:1300:48: error: dereferencing pointer to incomplete type res = kobject_uevent(_dev->acpi_device->dev.kobj, ^ drivers/virt/visorbus/visorchipset.c: In function 'unisys_vmcall': drivers/virt/visorbus/visorchipset.c:1316:2: warning: right shift count >= width of type reg_ecx = param >> 32; ^ drivers/virt/visorbus/visorchipset.c:1318:2: error: implicit declaration of function 'cpuid' [-Werror=implicit-function-declaration] cpuid(0x0001, _eax, _ebx, _ecx, _edx); ^
Re: [PATCH 1/5] irq: generic-chip: provide irq_free_generic_chip()
Hi Bartosz, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc3 next-20170601] [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/Bartosz-Golaszewski/irq-generic-chip-resource-management-improvements/20170601-055423 config: x86_64-randconfig-n0-06011738 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from include/linux/kasan.h:16:0, from include/linux/slab.h:120, from include/linux/irq.h:25, from arch/x86/include/asm/hardirq.h:5, from include/linux/hardirq.h:8, from include/linux/interrupt.h:12, from arch/x86/include/asm/mshyperv.h:5, from arch/x86/entry/vdso/vdso32/../vclock_gettime.c:20, from arch/x86/entry/vdso/vdso32/vclock_gettime.c:32: arch/x86/include/asm/pgtable.h: In function 'pte_flags_pkey': >> arch/x86/include/asm/pgtable.h:1182:2: warning: left shift count >= width of >> type [enabled by default] return (pte_flags & _PAGE_PKEY_MASK) >> _PAGE_BIT_PKEY_BIT0; ^ >> arch/x86/include/asm/pgtable.h:1182:2: warning: left shift count >= width of >> type [enabled by default] >> arch/x86/include/asm/pgtable.h:1182:2: warning: left shift count >= width of >> type [enabled by default] >> arch/x86/include/asm/pgtable.h:1182:2: warning: left shift count >= width of >> type [enabled by default] arch/x86/include/asm/pgtable.h:1182:2: warning: right shift count >= width of type [enabled by default] vim +1182 arch/x86/include/asm/pgtable.h 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1166 } 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1167 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1168 static inline bool __pkru_allows_write(u32 pkru, u16 pkey) 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1169 { 845942969 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1170 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1171 /* 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1172 * Access-disable disables writes too so we need to check 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1173 * both bits here. 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1174 */ 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1175 return !(pkru & ((PKRU_AD_BIT|PKRU_WD_BIT) << pkru_pkey_bits)); 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1176 } 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1177 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1178 static inline u16 pte_flags_pkey(unsigned long pte_flags) 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1179 { 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1180 #ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1181 /* ifdef to avoid doing 59-bit shift on 32-bit values */ 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 @1182 return (pte_flags & _PAGE_PKEY_MASK) >> _PAGE_BIT_PKEY_BIT0; 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1183 #else 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1184 return 0; 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1185 #endif 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1186 } 33a709b25 arch/x86/include/asm/pgtable.h Dave Hansen 2016-02-12 1187 195466dc4 include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 1188 #include 195466dc4 include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 1189 #endif /* __ASSEMBLY__ */ 195466dc4 include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 1190 :: The code at line 1182 was first introduced by commit :: 33a709b25a760b91184bb335cf7d7c32b8123013 mm/gup, x86/mm/pkeys: Check VMAs and PTEs for protection keys :: TO: Dave Hansen:: CC: Ingo Molnar --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v11 7/9] coresight: add support for CPU debug module
Hi Leo, [auto build test WARNING on next-20170522] [cannot apply to linus/master linux/master robh/for-next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc2] [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/Leo-Yan/coresight-enable-debug-module/20170524-075217 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All warnings (new ones prefixed by >>): drivers/hwtracing/coresight/coresight-cpu-debug.c: In function 'debug_adjust_pc': >> drivers/hwtracing/coresight/coresight-cpu-debug.c:263:44: warning: left >> shift count >= width of type [-Wshift-count-overflow] return (unsigned long)drvdata->edpcsr_hi << 32 | ^~ vim +263 drivers/hwtracing/coresight/coresight-cpu-debug.c 247 if (drvdata->edvidsr_present) 248 drvdata->edvidsr = readl_relaxed(drvdata->base + EDVIDSR); 249 250 out: 251 /* Restore EDPRCR register */ 252 writel_relaxed(save_edprcr, drvdata->base + EDPRCR); 253 254 CS_LOCK(drvdata->base); 255 } 256 257 static unsigned long debug_adjust_pc(struct debug_drvdata *drvdata) 258 { 259 unsigned long arm_inst_offset = 0, thumb_inst_offset = 0; 260 unsigned long pc; 261 262 if (IS_ENABLED(CONFIG_64BIT)) > 263 return (unsigned long)drvdata->edpcsr_hi << 32 | 264 (unsigned long)drvdata->edpcsr; 265 266 pc = (unsigned long)drvdata->edpcsr; 267 268 if (drvdata->pc_has_offset) { 269 arm_inst_offset = 8; 270 thumb_inst_offset = 4; 271 } --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 next 3/3] modules:capabilities: add a per-task modules auto-load mode
Hi Djalal, [auto build test ERROR on next-20170522] url: https://github.com/0day-ci/linux/commits/Djalal-Harouni/modules-automatic-module-loading-restrictions/20170523-193128 config: sparc64-allnoconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): In file included from arch/sparc/kernel/setup_64.c:32:0: include/linux/module.h:683:30: error: storage class specified for parameter '__module_address' static inline struct module *__module_address(unsigned long addr) ^~~~ include/linux/module.h:683:30: error: parameter '__module_address' declared 'inline' [-Werror] >> include/linux/module.h:684:1: error: 'always_inline' attribute ignored >> [-Werror=attributes] { ^ include/linux/module.h:683:30: error: 'no_instrument_function' attribute applies only to functions static inline struct module *__module_address(unsigned long addr) ^~~~ include/linux/module.h:684:1: error: expected ';', ',' or ')' before '{' token { ^ cc1: all warnings being treated as errors vim +/always_inline +684 include/linux/module.h 98702500 Djalal Harouni 2017-05-22 677 static inline int task_modules_autoload_mode(struct task_struct *task) 98702500 Djalal Harouni 2017-05-22 678 { 98702500 Djalal Harouni 2017-05-22 679 return -ENOSYS; 98702500 Djalal Harouni 2017-05-22 680 } 98702500 Djalal Harouni 2017-05-22 681 98702500 Djalal Harouni 2017-05-22 682 static inline bool within_module_core(unsigned long addr, e610499e Rusty Russell 2009-03-31 @683 static inline struct module *__module_address(unsigned long addr) e610499e Rusty Russell 2009-03-31 @684 { e610499e Rusty Russell 2009-03-31 685 return NULL; e610499e Rusty Russell 2009-03-31 686 } e610499e Rusty Russell 2009-03-31 687 :: The code at line 684 was first introduced by commit :: e610499e2656e61975affd0af56b26eb73964c84 module: __module_address :: TO: Rusty Russell:: CC: Rusty Russell --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 26/36] libata.rst: add c function and struct cross-references
Hi Mauro, [auto build test WARNING on linus/master] [also build test WARNING on next-20170512] [cannot apply to v4.11] [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/Mauro-Carvalho-Chehab/docs-rst-convert-kernel-hacking-to-ReST/20170513-131229 reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) arch/x86/include/asm/uaccess_32.h:1: warning: no structured comments found include/linux/init.h:1: warning: no structured comments found include/linux/mod_devicetable.h:686: warning: Excess struct/union/enum/typedef member 'ver_major' description in 'fsl_mc_device_id' include/linux/mod_devicetable.h:686: warning: Excess struct/union/enum/typedef member 'ver_minor' description in 'fsl_mc_device_id' kernel/sched/core.c:2088: warning: No description found for parameter 'rf' kernel/sched/core.c:2088: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found include/linux/device.h:969: warning: No description found for parameter 'dma_ops' drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/iio/iio.h:597: warning: No description found for parameter 'trig_readonly' include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev' include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig' include/linux/device.h:970: warning: No description found for parameter 'dma_ops' >> drivers/ata/libata-eh.c:1449: warning: No description found for parameter >> 'link' >> drivers/ata/libata-eh.c:1449: warning: Excess function parameter 'ap' >> description in 'ata_eh_done' >> drivers/ata/libata-eh.c:1654: warning: No description found for parameter >> 'qc' >> drivers/ata/libata-eh.c:1654: warning: Excess function parameter 'dev' >> description in 'ata_eh_request_sense' include/linux/usb/gadget.h:230: warning: No description found for parameter 'claimed' include/linux/usb/gadget.h:230: warning: No description found for parameter 'enabled' include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_altset_not_supp' include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_stall_not_supp' include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_zlp_not_supp' fs/inode.c:1665: warning: No description found for parameter 'rcu' include/linux/jbd2.h:443: warning: No description found for parameter 'i_transaction' include/linux/jbd2.h:443: warning: No description found for parameter 'i_next_transaction' include/linux/jbd2.h:443: warning: No description found for parameter 'i_list' include/linux/jbd2.h:443: warning: No description found for parameter 'i_vfs_inode' include/linux/jbd2.h:443: warning: No description found for parameter 'i_flags' include/linux/jbd2.h:497: warning: No description found for parameter 'h_rsv_handle' include/linux/jbd2.h:497: warning: No description found for parameter 'h_reserved' include/linux/jbd2.h:497: warning: No description found for parameter 'h_type' include/linux/jbd2.h:497: warning: No description found for parameter 'h_line_no' include/linux/jbd2.h:497: warning: No description found for parameter 'h_start_jiffies' include/linux/jbd2.h:497: warning: No description found for parameter 'h_requested_credits' include/linux/jbd2.h:497: warning: No description found for parameter 'saved_alloc_context' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_chkpt_bhs' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_devname' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_average_commit_time' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_min_batch_time' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_max_batch_time' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_commit_callback' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_failed_commit' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_chksum_driver' include/linux/jbd2.h:1050: warning: No description found for parameter 'j_csum_seed' fs/jbd2/transaction.c:511: warning: No description found for parameter 'type' fs/jbd2/transaction.c:511: warning: No description found for parameter 'line_no' fs/jbd2/transaction.c:641: warning: No description found for parameter 'gfp_mask' include/drm/drm_drv.h:524: warning: No description found for parameter
Re: [PATCH 2/2] drivers: pwm: pwm-atmel: implement pwm dead-times
Hi Claudiu, [auto build test WARNING on pwm/for-next] [also build test WARNING on next-20170508] [cannot apply to v4.11] [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/Claudiu-Beznea/extends-PWM-framework-to-support-PWM-dead-times/20170509-000624 base: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git for-next config: arm-multi_v5_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): In file included from include/linux/io.h:25:0, from drivers/pwm/pwm-atmel.c:13: drivers/pwm/pwm-atmel.c: In function 'atmel_pwm_apply': >> arch/arm/include/asm/io.h:100:2: warning: 'dt' may be used uninitialized in >> this function [-Wmaybe-uninitialized] asm volatile("str %1, %0" ^~~ drivers/pwm/pwm-atmel.c:246:28: note: 'dt' was declared here unsigned long cprd, cdty, dt; ^~ -- In file included from include/linux/io.h:25:0, from drivers//pwm/pwm-atmel.c:13: drivers//pwm/pwm-atmel.c: In function 'atmel_pwm_apply': >> arch/arm/include/asm/io.h:100:2: warning: 'dt' may be used uninitialized in >> this function [-Wmaybe-uninitialized] asm volatile("str %1, %0" ^~~ drivers//pwm/pwm-atmel.c:246:28: note: 'dt' was declared here unsigned long cprd, cdty, dt; ^~ vim +/dt +100 arch/arm/include/asm/io.h 5bb5d66d8 Peter Hurley 2015-04-13 84 : "=r" (val) 5bb5d66d8 Peter Hurley 2015-04-13 85 : "Q" (*(volatile u16 __force *)addr)); 195bbcac2 Will Deacon2012-08-24 86return val; 195bbcac2 Will Deacon2012-08-24 87 } 195bbcac2 Will Deacon2012-08-24 88 #endif 195bbcac2 Will Deacon2012-08-24 89 84c4d3a6d Thierry Reding 2014-07-28 90 #define __raw_writeb __raw_writeb 195bbcac2 Will Deacon2012-08-24 91 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) 195bbcac2 Will Deacon2012-08-24 92 { 195bbcac2 Will Deacon2012-08-24 93asm volatile("strb %1, %0" 5bb5d66d8 Peter Hurley 2015-04-13 94 : : "Qo" (*(volatile u8 __force *)addr), "r" (val)); 195bbcac2 Will Deacon2012-08-24 95 } 195bbcac2 Will Deacon2012-08-24 96 84c4d3a6d Thierry Reding 2014-07-28 97 #define __raw_writel __raw_writel 195bbcac2 Will Deacon2012-08-24 98 static inline void __raw_writel(u32 val, volatile void __iomem *addr) 195bbcac2 Will Deacon2012-08-24 99 { 195bbcac2 Will Deacon2012-08-24 @100asm volatile("str %1, %0" 5bb5d66d8 Peter Hurley 2015-04-13 101 : : "Qo" (*(volatile u32 __force *)addr), "r" (val)); 195bbcac2 Will Deacon2012-08-24 102 } 195bbcac2 Will Deacon2012-08-24 103 84c4d3a6d Thierry Reding 2014-07-28 104 #define __raw_readb __raw_readb 195bbcac2 Will Deacon2012-08-24 105 static inline u8 __raw_readb(const volatile void __iomem *addr) 195bbcac2 Will Deacon2012-08-24 106 { 195bbcac2 Will Deacon2012-08-24 107u8 val; 5bb5d66d8 Peter Hurley 2015-04-13 108asm volatile("ldrb %0, %1" :: The code at line 100 was first introduced by commit :: 195bbcac2e5c12f7fb99cdcc492c3000c5537f4a ARM: 7500/1: io: avoid writeback addressing modes for __raw_ accessors :: TO: Will Deacon:: CC: Russell King --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[lwn:docs-next 175/183] htmldocs: include/linux/jbd2.h:1047: warning: No description found for parameter 'j_chkpt_bhs'
tree: git://git.lwn.net/linux-2.6 docs-next head: 0e056eb5530da802c07f080d6bbd43c50e799efd commit: f9b5c5304ce212b72c5c997b298ab96002e1634f [175/183] scripts/kernel-doc: fix handling of parameters with parenthesis reproduce: make htmldocs All warnings (new ones prefixed by >>): fs/inode.c:1666: warning: No description found for parameter 'rcu' include/linux/jbd2.h:442: warning: No description found for parameter 'i_transaction' include/linux/jbd2.h:442: warning: No description found for parameter 'i_next_transaction' include/linux/jbd2.h:442: warning: No description found for parameter 'i_list' include/linux/jbd2.h:442: warning: No description found for parameter 'i_vfs_inode' include/linux/jbd2.h:442: warning: No description found for parameter 'i_flags' include/linux/jbd2.h:494: warning: No description found for parameter 'h_rsv_handle' include/linux/jbd2.h:494: warning: No description found for parameter 'h_reserved' include/linux/jbd2.h:494: warning: No description found for parameter 'h_type' include/linux/jbd2.h:494: warning: No description found for parameter 'h_line_no' include/linux/jbd2.h:494: warning: No description found for parameter 'h_start_jiffies' include/linux/jbd2.h:494: warning: No description found for parameter 'h_requested_credits' >> include/linux/jbd2.h:1047: warning: No description found for parameter >> 'j_chkpt_bhs' >> include/linux/jbd2.h:1047: warning: No description found for parameter >> 'j_devname' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_average_commit_time' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_min_batch_time' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_max_batch_time' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_commit_callback' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_failed_commit' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_chksum_driver' include/linux/jbd2.h:1047: warning: No description found for parameter 'j_csum_seed' fs/jbd2/transaction.c:428: warning: No description found for parameter 'rsv_blocks' fs/jbd2/transaction.c:428: warning: No description found for parameter 'gfp_mask' fs/jbd2/transaction.c:428: warning: No description found for parameter 'type' fs/jbd2/transaction.c:428: warning: No description found for parameter 'line_no' fs/jbd2/transaction.c:504: warning: No description found for parameter 'type' fs/jbd2/transaction.c:504: warning: No description found for parameter 'line_no' fs/jbd2/transaction.c:634: warning: No description found for parameter 'gfp_mask' vim +/j_chkpt_bhs +1047 include/linux/jbd2.h 01b5adce Darrick J. Wong 2012-05-27 1031 struct crypto_shash *j_chksum_driver; 4fd5ea43 Darrick J. Wong 2012-05-27 1032 4fd5ea43 Darrick J. Wong 2012-05-27 1033 /* Precomputed journal UUID checksum for seeding other checksums */ 4fd5ea43 Darrick J. Wong 2012-05-27 1034 __u32 j_csum_seed; ab714aff Jan Kara2016-06-30 1035 ab714aff Jan Kara2016-06-30 1036 #ifdef CONFIG_DEBUG_LOCK_ALLOC ab714aff Jan Kara2016-06-30 1037 /* ab714aff Jan Kara2016-06-30 1038* Lockdep entity to track transaction commit dependencies. Handles ab714aff Jan Kara2016-06-30 1039* hold this "lock" for read, when we wait for commit, we acquire the ab714aff Jan Kara2016-06-30 1040* "lock" for writing. This matches the properties of jbd2 journalling ab714aff Jan Kara2016-06-30 1041* where the running transaction has to wait for all handles to be ab714aff Jan Kara2016-06-30 1042* dropped to commit that transaction and also acquiring a handle may ab714aff Jan Kara2016-06-30 1043* require transaction commit to finish. ab714aff Jan Kara2016-06-30 1044*/ ab714aff Jan Kara2016-06-30 1045 struct lockdep_map j_trans_commit_map; ab714aff Jan Kara2016-06-30 1046 #endif 470decc6 Dave Kleikamp 2006-10-11 @1047 }; 470decc6 Dave Kleikamp 2006-10-11 1048 1eaa566d Jan Kara2016-06-30 1049 #define jbd2_might_wait_for_commit(j) \ 1eaa566d Jan Kara2016-06-30 1050 do { \ 1eaa566d Jan Kara2016-06-30 1051 rwsem_acquire(>j_trans_commit_map, 0, 0, _THIS_IP_); \ 1eaa566d Jan Kara2016-06-30 1052 rwsem_release(>j_trans_commit_map, 1, _THIS_IP_); \ 1eaa566d Jan Kara2016-06-30 1053 } while (0) 1eaa566d Jan Kara2016-06-30 1054 56316a0d Darrick J. Wong 2015-10-17 1055 /* journal feature predicate functions */ :: The code at line 1047 was first introduced by commit :: 470decc613ab2048b619a01028072d932d9086ee [PATCH] jbd2: initial copy of files from jbd :: TO: Dave Kleikamp
Re: [PATCH 01/22] driver-api/basics.rst: add device table header
Hi Mauro, [auto build test WARNING on linus/master] [also build test WARNING on v4.11-rc4 next-20170330] [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/Mauro-Carvalho-Chehab/driver-api-basics-rst-add-device-table-header/20170331-041911 reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:1: warning: no structured comments found >> include/linux/mod_devicetable.h:676: warning: Excess >> struct/union/enum/typedef member 'ver_major' description in >> 'fsl_mc_device_id' >> include/linux/mod_devicetable.h:676: warning: Excess >> struct/union/enum/typedef member 'ver_minor' description in >> 'fsl_mc_device_id' kernel/sched/core.c:2085: warning: No description found for parameter 'rf' kernel/sched/core.c:2085: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local' include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found include/linux/device.h:969: warning: No description found for parameter 'dma_ops' drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/iio/iio.h:597: warning: No description found for parameter 'trig_readonly' include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev' include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig' include/linux/device.h:970: warning: No description found for parameter 'dma_ops' drivers/regulator/core.c:1467: warning: Excess function parameter 'ret' description in 'regulator_dev_lookup' include/drm/drm_drv.h:438: warning: No description found for parameter 'open' include/drm/drm_drv.h:438: warning: No description found for parameter 'preclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'postclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'lastclose' include/drm/drm_drv.h:438: warning: No description found for parameter 'set_busid' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_handler' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_preinstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_postinstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'irq_uninstall' include/drm/drm_drv.h:438: warning: No description found for parameter 'debugfs_init' include/drm/drm_drv.h:438: warning: No description found for parameter 'debugfs_cleanup' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_open_object' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_close_object' include/drm/drm_drv.h:438: warning: No description found for parameter 'prime_handle_to_fd' include/drm/drm_drv.h:438: warning: No description found for parameter 'prime_fd_to_handle' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_export' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_import' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_pin' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_unpin' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_res_obj' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_get_sg_table' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_import_sg_table' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_vmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_vunmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_prime_mmap' include/drm/drm_drv.h:438: warning: No description found for parameter 'gem_vm_ops' include/drm/drm_drv.h:438: warning: No description found for parameter 'major' include/drm/drm_drv.h:438: warning: No description found for parameter 'minor' include/drm/drm_drv.h:438: warning: No description found for parameter 'patchlevel' include/drm/drm_drv.h:438: warning: No description found for parameter 'name' include/drm/drm_drv.h:438: warning: No description found for parameter 'desc' include/drm/drm_drv.h:438: warning: No description found for parameter 'date' include/drm/drm_drv.h:438: warning: No description found for parameter 'driver_features' include/drm/drm_drv.h:438: warning: No description found for parameter 'ioctls' include/drm/drm_drv.h:438: warning: No description found for parameter 'num_ioctls' include/drm/drm_drv.h:438: warning: No description found for parameter 'fops'
Re: [PATCH-tip v6 18/22] TP-futex: Group readers together in wait queue
Hi Waiman, [auto build test ERROR on next-20170323] [also build test ERROR on v4.11-rc3] [cannot apply to linus/master linux/master tip/perf/core v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/Waiman-Long/perf-bench-New-microbenchmark-for-userspace-mutex-performance/20170324-135043 config: ia64-defconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): kernel/built-in.o: In function `futex_lock': >> futex.c:(.text+0xfa4a2): undefined reference to `osq_lock' >> futex.c:(.text+0xfae22): undefined reference to `osq_unlock' futex.c:(.text+0xfaf02): undefined reference to `osq_unlock' futex.c:(.text+0xfb502): undefined reference to `osq_lock' futex.c:(.text+0xfb9e2): undefined reference to `osq_unlock' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH-tip v6 18/22] TP-futex: Group readers together in wait queue
Hi Waiman, [auto build test ERROR on next-20170323] [also build test ERROR on v4.11-rc3] [cannot apply to linus/master linux/master tip/perf/core v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/Waiman-Long/perf-bench-New-microbenchmark-for-userspace-mutex-performance/20170324-135043 config: m32r-usrv_defconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m32r All errors (new ones prefixed by >>): kernel/built-in.o: In function `futex_spin_on_reader': >> kernel/futex.c:4003: undefined reference to `osq_lock' kernel/futex.c:4003:(.text+0x5cc98): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_lock' >> kernel/futex.c:4040: undefined reference to `osq_unlock' kernel/futex.c:4040:(.text+0x5cd2c): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_unlock' kernel/futex.c:4033: undefined reference to `osq_unlock' kernel/futex.c:4033:(.text+0x5d0d4): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_unlock' vim +4003 kernel/futex.c 3997 first_reader = READ_ONCE(state->first_reader); 3998 if (!first_reader) 3999 first_reader = cmpxchg(>first_reader, NULL, current); 4000 if (!first_reader) 4001 goto out; /* Became the first reader */ 4002 > 4003 if (!osq_lock(>reader_osq)) 4004 goto reschedule; 4005 4006 rcu_read_lock(); 4007 for (;;) { 4008 u32 uval; 4009 4010 if (!state->handoff_pid && (prefer_reader || 4011 (first_reader == READ_ONCE(state->mutex_owner { 4012 ret = futex_trylock_preempt_disabled(uaddr, 4013 FUTEX_SHARED, , false); 4014 /* 4015 * Return if lock acquired or an error happened 4016 */ 4017 if (ret) 4018 break; 4019 } 4020 4021 /* 4022 * Reread the first reader value again. 4023 */ 4024 first_reader = READ_ONCE(state->first_reader); 4025 if (!first_reader) 4026 first_reader = cmpxchg(>first_reader, NULL, 4027 current); 4028 if (!first_reader || !first_reader->on_cpu) 4029 break; 4030 4031 if (need_resched()) { 4032 rcu_read_unlock(); 4033 osq_unlock(>reader_osq); 4034 goto reschedule; 4035 } 4036 4037 cpu_relax(); 4038 } 4039 rcu_read_unlock(); > 4040 osq_unlock(>reader_osq); 4041 out: 4042 *pfirst = first_reader; 4043 preempt_enable(); --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4] kvm: better MWAIT emulation for guests
Hi Michael, [auto build test WARNING on kvm/linux-next] [also build test WARNING on v4.11-rc2 next-20170310] [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/Michael-S-Tsirkin/kvm-better-MWAIT-emulation-for-guests/20170316-143518 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next config: i386-randconfig-x018-201711 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/kvm_host.h:9, from arch/x86/kvm/x86.c:22: arch/x86/kvm/x86.h: In function 'kvm_mwait_in_guest': arch/x86/kvm/x86.h:231:34: error: 'CPUID_MWAIT_LEAF' undeclared (first use in this function) if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kvm/x86.h:231:2: note: in expansion of macro 'if' if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~ arch/x86/kvm/x86.h:231:34: note: each undeclared identifier is reported only once for each function it appears in if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kvm/x86.h:231:2: note: in expansion of macro 'if' if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~ In file included from arch/x86/kvm/x86.c:28:0: arch/x86/kvm/x86.h:234:45: error: 'mwait_substates' undeclared (first use in this function) cpuid(CPUID_MWAIT_LEAF, , , , _substates); ^~~ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/kvm_host.h:9, from arch/x86/kvm/x86.c:22: arch/x86/kvm/x86.h:236:14: error: 'CPUID5_ECX_INTERRUPT_BREAK' undeclared (first use in this function) if (!(ecx & CPUID5_ECX_INTERRUPT_BREAK)) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ arch/x86/kvm/x86.h:236:2: note: in expansion of macro 'if' if (!(ecx & CPUID5_ECX_INTERRUPT_BREAK)) ^~ In file included from arch/x86/kvm/x86.c:28:0: arch/x86/kvm/x86.h:238:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ -- In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/mm_types_task.h:10, from include/linux/mm_types.h:4, from arch/x86/kvm/irq.h:25, from arch/x86/kvm/mmu.c:21: arch/x86/kvm/x86.h: In function 'kvm_mwait_in_guest': arch/x86/kvm/x86.h:231:34: error: 'CPUID_MWAIT_LEAF' undeclared (first use in this function) if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kvm/x86.h:231:2: note: in expansion of macro 'if' if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~ arch/x86/kvm/x86.h:231:34: note: each undeclared identifier is reported only once for each function it appears in if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kvm/x86.h:231:2: note: in expansion of macro 'if' if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~ In file included from arch/x86/kvm/mmu.c:23:0: arch/x86/kvm/x86.h:234:45: error: 'mwait_substates' undeclared (first use in
Re: [PATCH v4] kvm: better MWAIT emulation for guests
Hi Michael, [auto build test ERROR on kvm/linux-next] [also build test ERROR on v4.11-rc2 next-20170310] [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/Michael-S-Tsirkin/kvm-better-MWAIT-emulation-for-guests/20170316-143518 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next config: x86_64-randconfig-x010-201711 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from arch/x86/kvm/x86.c:28:0: arch/x86/kvm/x86.h: In function 'kvm_mwait_in_guest': >> arch/x86/kvm/x86.h:231:34: error: 'CPUID_MWAIT_LEAF' undeclared (first use >> in this function) if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~~~ arch/x86/kvm/x86.h:231:34: note: each undeclared identifier is reported only once for each function it appears in >> arch/x86/kvm/x86.h:234:45: error: 'mwait_substates' undeclared (first use in >> this function) cpuid(CPUID_MWAIT_LEAF, , , , _substates); ^~~ >> arch/x86/kvm/x86.h:236:14: error: 'CPUID5_ECX_INTERRUPT_BREAK' undeclared >> (first use in this function) if (!(ecx & CPUID5_ECX_INTERRUPT_BREAK)) ^~ >> arch/x86/kvm/x86.h:238:1: warning: control reaches end of non-void function >> [-Wreturn-type] } ^ -- In file included from arch/x86/kvm/mmu.c:23:0: arch/x86/kvm/x86.h: In function 'kvm_mwait_in_guest': >> arch/x86/kvm/x86.h:231:34: error: 'CPUID_MWAIT_LEAF' undeclared (first use >> in this function) if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) ^~~~ arch/x86/kvm/x86.h:231:34: note: each undeclared identifier is reported only once for each function it appears in >> arch/x86/kvm/x86.h:234:45: error: 'mwait_substates' undeclared (first use in >> this function) cpuid(CPUID_MWAIT_LEAF, , , , _substates); ^~~ >> arch/x86/kvm/x86.h:236:14: error: 'CPUID5_ECX_INTERRUPT_BREAK' undeclared >> (first use in this function) if (!(ecx & CPUID5_ECX_INTERRUPT_BREAK)) ^~ At top level: arch/x86/kvm/x86.h:216:13: warning: 'kvm_mwait_in_guest' defined but not used [-Wunused-function] static bool kvm_mwait_in_guest(void) ^~ vim +/CPUID_MWAIT_LEAF +231 arch/x86/kvm/x86.h 225 226 /* 227 * Intel CPUs without CPUID5_ECX_INTERRUPT_BREAK are problematic as 228 * they would allow guest to stop the CPU completely by disabling 229 * interrupts then invoking MWAIT. 230 */ > 231 if (boot_cpu_data.cpuid_level < CPUID_MWAIT_LEAF) 232 return -ENODEV; 233 > 234 cpuid(CPUID_MWAIT_LEAF, , , , _substates); 235 > 236 if (!(ecx & CPUID5_ECX_INTERRUPT_BREAK)) 237 return -ENODEV; > 238 } 239 240 #endif --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size
Hi Thomas, [auto build test ERROR on next-20170216] [also build test ERROR on v4.10-rc8] [cannot apply to tip/x86/core kvm/linux-next tip/auto-latest v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/Thomas-Garnier/x86-mm-Adapt-MODULES_END-based-on-Fixmap-section-size/20170217-072759 config: x86_64-randconfig-s4-02170325 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from arch/x86/include/asm/pgtable_types.h:240:0, from arch/x86/include/asm/paravirt_types.h:44, from arch/x86/include/asm/ptrace.h:71, from arch/x86/include/asm/math_emu.h:4, from arch/x86/include/asm/processor.h:11, from arch/x86/include/asm/cpufeature.h:4, from arch/x86/include/asm/thread_info.h:52, from include/linux/thread_info.h:25, from arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/wait.h:8, from include/linux/fs.h:5, from include/linux/debugfs.h:18, from arch/x86/mm/dump_pagetables.c:15: >> arch/x86/include/asm/pgtable_64_types.h:71:23: error: implicit declaration >> of function '__fix_to_virt' [-Werror=implicit-function-declaration] #define MODULES_END __fix_to_virt(__end_of_fixed_addresses + 1) ^ arch/x86/mm/dump_pagetables.c:87:4: note: in expansion of macro 'MODULES_END' { MODULES_END, "End Modules" }, ^~~ arch/x86/include/asm/pgtable_64_types.h:71:37: error: '__end_of_fixed_addresses' undeclared here (not in a function) #define MODULES_END __fix_to_virt(__end_of_fixed_addresses + 1) ^ arch/x86/mm/dump_pagetables.c:87:4: note: in expansion of macro 'MODULES_END' { MODULES_END, "End Modules" }, ^~~ cc1: some warnings being treated as errors vim +/__fix_to_virt +71 arch/x86/include/asm/pgtable_64_types.h 65 #define VMALLOC_START __VMALLOC_BASE 66 #define VMEMMAP_START __VMEMMAP_BASE 67 #endif /* CONFIG_RANDOMIZE_MEMORY */ 68 #define VMALLOC_END (VMALLOC_START + _AC((VMALLOC_SIZE_TB << 40) - 1, UL)) 69 #define MODULES_VADDR(__START_KERNEL_map + KERNEL_IMAGE_SIZE) 70 /* The module sections ends with the start of the fixmap */ > 71 #define MODULES_END __fix_to_virt(__end_of_fixed_addresses + 1) 72 #define MODULES_LEN (MODULES_END - MODULES_VADDR) 73 #define ESPFIX_PGD_ENTRY _AC(-2, UL) 74 #define ESPFIX_BASE_ADDR (ESPFIX_PGD_ENTRY << PGDIR_SHIFT) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size
Hi Thomas, [auto build test ERROR on next-20170216] [also build test ERROR on v4.10-rc8] [cannot apply to tip/x86/core kvm/linux-next tip/auto-latest v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/Thomas-Garnier/x86-mm-Adapt-MODULES_END-based-on-Fixmap-section-size/20170217-072759 config: x86_64-randconfig-h0-02170640 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): >> arch/x86/mm/dump_pagetables.c:87:2: error: implicit declaration of function >> '__fix_to_virt' [-Werror=implicit-function-declaration] { MODULES_END, "End Modules" }, ^ In file included from arch/x86/include/asm/pgtable_types.h:240:0, from arch/x86/include/asm/paravirt_types.h:44, from arch/x86/include/asm/ptrace.h:71, from arch/x86/include/asm/math_emu.h:4, from arch/x86/include/asm/processor.h:11, from arch/x86/include/asm/cpufeature.h:4, from arch/x86/include/asm/thread_info.h:52, from include/linux/thread_info.h:25, from arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:59, from include/linux/spinlock.h:50, from include/linux/wait.h:8, from include/linux/fs.h:5, from include/linux/debugfs.h:18, from arch/x86/mm/dump_pagetables.c:15: >> arch/x86/include/asm/pgtable_64_types.h:71:37: error: >> '__end_of_fixed_addresses' undeclared here (not in a function) #define MODULES_END __fix_to_virt(__end_of_fixed_addresses + 1) ^ >> arch/x86/mm/dump_pagetables.c:87:4: note: in expansion of macro 'MODULES_END' { MODULES_END, "End Modules" }, ^ cc1: some warnings being treated as errors vim +/__fix_to_virt +87 arch/x86/mm/dump_pagetables.c 926e5392b Arjan van de Ven 2008-04-17 9 * This program is free software; you can redistribute it and/or 926e5392b Arjan van de Ven 2008-04-17 10 * modify it under the terms of the GNU General Public License 926e5392b Arjan van de Ven 2008-04-17 11 * as published by the Free Software Foundation; version 2 926e5392b Arjan van de Ven 2008-04-17 12 * of the License. 926e5392b Arjan van de Ven 2008-04-17 13 */ 926e5392b Arjan van de Ven 2008-04-17 14 fe770bf03 H. Peter Anvin 2008-04-17 @15 #include fe770bf03 H. Peter Anvin 2008-04-17 16 #include 84e629b66 Paul Gortmaker 2016-07-13 17 #include 146fbb766 Andrey Ryabinin 2017-02-10 18 #include 926e5392b Arjan van de Ven 2008-04-17 19 #include 926e5392b Arjan van de Ven 2008-04-17 20 926e5392b Arjan van de Ven 2008-04-17 21 #include 926e5392b Arjan van de Ven 2008-04-17 22 926e5392b Arjan van de Ven 2008-04-17 23 /* 926e5392b Arjan van de Ven 2008-04-17 24 * The dumper groups pagetable entries of the same type into one, and for 926e5392b Arjan van de Ven 2008-04-17 25 * that it needs to keep some state when walking, and flush this state 926e5392b Arjan van de Ven 2008-04-17 26 * when a "break" in the continuity is found. 926e5392b Arjan van de Ven 2008-04-17 27 */ 926e5392b Arjan van de Ven 2008-04-17 28 struct pg_state { 926e5392b Arjan van de Ven 2008-04-17 29 int level; 926e5392b Arjan van de Ven 2008-04-17 30 pgprot_t current_prot; 926e5392b Arjan van de Ven 2008-04-17 31 unsigned long start_address; 926e5392b Arjan van de Ven 2008-04-17 32 unsigned long current_address; fe770bf03 H. Peter Anvin 2008-04-17 33 const struct addr_marker *marker; 3891a04aa H. Peter Anvin 2014-04-29 34 unsigned long lines; ef6bea6dd Borislav Petkov 2014-01-18 35 bool to_dmesg; e1a58320a Stephen Smalley 2015-10-05 36 bool check_wx; e1a58320a Stephen Smalley 2015-10-05 37 unsigned long wx_pages; 926e5392b Arjan van de Ven 2008-04-17 38 }; 926e5392b Arjan van de Ven 2008-04-17 39 fe770bf03 H. Peter Anvin 2008-04-17 40 struct addr_marker { fe770bf03 H. Peter Anvin 2008-04-17 41 unsigned long start_address; fe770bf03 H. Peter Anvin 2008-04-17 42 const char *name; 3891a04aa H. Peter Anvin 2014-04-29 43 unsigned long max_lines; fe770bf03 H. Peter Anvin 2008-04-17 44 }; 926e5392b Arjan van de Ven 2008-04-17 45 92851e2fc Andres Salomon 2010-07-20 46 /* indices for address_markers; keep sync'd w/ address_markers below */ 92851e2fc Andres Salomon 2010-07-20 47 enum address_markers_idx { 92851e2fc Andres Salomon 2010-07-20 48 USER_SPACE_NR = 0, 92851e2fc Andres Salomon 2010-07-20 49 #ifdef CONFIG_X86_64 92851e2fc Andres Salomon
Re: [PATCH v4 1/1] DM: inplace compressed DM target
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [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/Ram-Pai/DM-inplace-compressed-DM-target/20170214-055727 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: openrisc-allyesconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=openrisc All warnings (new ones prefixed by >>): drivers/md/dm-inplace-compress.c: In function 'dm_icomp_status': >> drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type >> 'long int', but argument 4 has type 'long long int' drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type 'long int', but argument 5 has type 'long long int' drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects type 'long int', but argument 6 has type 'long long int' vim +2096 drivers/md/dm-inplace-compress.c 2080 req->locked_locks = 0; 2081 2082 req->cpu = raw_smp_processor_id(); 2083 dm_icomp_queue_req(info, req); 2084 2085 return DM_MAPIO_SUBMITTED; 2086 } 2087 2088 static void dm_icomp_status(struct dm_target *ti, status_type_t type, 2089unsigned int status_flags, char *result, unsigned int maxlen) 2090 { 2091 struct dm_icomp_info *info = ti->private; 2092 unsigned int sz = 0; 2093 2094 switch (type) { 2095 case STATUSTYPE_INFO: > 2096 DMEMIT("%ld %ld %ld", 2097 atomic64_read(>uncompressed_write_size), 2098 atomic64_read(>compressed_write_size), 2099 atomic64_read(>meta_write_size)); 2100 break; 2101 case STATUSTYPE_TABLE: 2102 if (info->write_mode == DMCP_WRITE_BACK) 2103 DMEMIT("%s %s:%d %s:%s %s:%d", info->dev->name, 2104 "writeback", info->writeback_delay, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 1/1] DM: inplace compressed DM target
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [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/Ram-Pai/DM-inplace-compressed-DM-target/20170214-055727 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All warnings (new ones prefixed by >>): drivers/md/dm-inplace-compress.c: In function 'dm_icomp_status': >> drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects >> argument of type 'long int', but argument 4 has type 'long long int' >> [-Wformat=] DMEMIT("%ld %ld %ld", ^ drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'long long int' [-Wformat=] drivers/md/dm-inplace-compress.c:2096:3: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'long long int' [-Wformat=] vim +2096 drivers/md/dm-inplace-compress.c 2080 req->locked_locks = 0; 2081 2082 req->cpu = raw_smp_processor_id(); 2083 dm_icomp_queue_req(info, req); 2084 2085 return DM_MAPIO_SUBMITTED; 2086 } 2087 2088 static void dm_icomp_status(struct dm_target *ti, status_type_t type, 2089unsigned int status_flags, char *result, unsigned int maxlen) 2090 { 2091 struct dm_icomp_info *info = ti->private; 2092 unsigned int sz = 0; 2093 2094 switch (type) { 2095 case STATUSTYPE_INFO: > 2096 DMEMIT("%ld %ld %ld", 2097 atomic64_read(>uncompressed_write_size), 2098 atomic64_read(>compressed_write_size), 2099 atomic64_read(>meta_write_size)); 2100 break; 2101 case STATUSTYPE_TABLE: 2102 if (info->write_mode == DMCP_WRITE_BACK) 2103 DMEMIT("%s %s:%d %s:%s %s:%d", info->dev->name, 2104 "writeback", info->writeback_delay, --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[lwn:docs-next 122/134] htmldocs: include/linux/regulator/driver.h:271: ERROR: Unknown target name: "regulator_regmap_x_voltage".
Hi Jonathan, FYI, the error/warning still remains. tree: git://git.lwn.net/linux-2.6 docs-next head: c33dea1eda7159f6854dcb54e58906936c26e727 commit: 028f25332c4f7e8befb22e12eaedd105cd45acb2 [122/134] docs: Convert the regulator docbook to RST reproduce: make htmldocs All errors (new ones prefixed by >>): make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. include/linux/init.h:1: warning: no structured comments found include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/iio/iio.h:597: warning: No description found for parameter 'trig_readonly' include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev' include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig' include/drm/drm_drv.h:409: warning: No description found for parameter 'load' include/drm/drm_drv.h:409: warning: No description found for parameter 'firstopen' include/drm/drm_drv.h:409: warning: No description found for parameter 'open' include/drm/drm_drv.h:409: warning: No description found for parameter 'preclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'postclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'lastclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'unload' include/drm/drm_drv.h:409: warning: No description found for parameter 'dma_ioctl' include/drm/drm_drv.h:409: warning: No description found for parameter 'dma_quiescent' include/drm/drm_drv.h:409: warning: No description found for parameter 'context_dtor' include/drm/drm_drv.h:409: warning: No description found for parameter 'set_busid' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_handler' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_preinstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_postinstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_uninstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'debugfs_init' include/drm/drm_drv.h:409: warning: No description found for parameter 'debugfs_cleanup' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_open_object' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_close_object' include/drm/drm_drv.h:409: warning: No description found for parameter 'prime_handle_to_fd' include/drm/drm_drv.h:409: warning: No description found for parameter 'prime_fd_to_handle' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_export' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_import' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_pin' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_unpin' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_res_obj' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_get_sg_table' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_import_sg_table' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_vmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_vunmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_mmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'vgaarb_irq' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_vm_ops' include/drm/drm_drv.h:409: warning: No description found for parameter 'major' include/drm/drm_drv.h:409: warning: No description found for parameter 'minor' include/drm/drm_drv.h:409: warning: No description found for parameter 'patchlevel' include/drm/drm_drv.h:409: warning: No description found for parameter 'name' include/drm/drm_drv.h:409: warning: No description found for parameter 'desc' include/drm/drm_drv.h:409: warning: No description found for parameter 'date' include/drm/drm_drv.h:409: warning: No description found for parameter 'driver_features' include/drm/drm_drv.h:409: warning: No description found for parameter 'dev_priv_size' include/drm/drm_drv.h:409: warning: No description found for parameter 'ioctls' include/drm/drm_drv.h:409: warning: No description found for parameter 'num_ioctls' include/drm/drm_drv.h:409: warning: No description found for parameter 'fops' include/drm/drm_drv.h:409: warning: No description found for parameter
Re: [PATCH] time: Remove CONFIG_TIMER_STATS
Hi Kees, [auto build test WARNING on tip/timers/core] [also build test WARNING on v4.10-rc7 next-20170207] [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/Kees-Cook/time-Remove-CONFIG_TIMER_STATS/20170208-080916 reproduce: make htmldocs All warnings (new ones prefixed by >>): make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. include/linux/init.h:1: warning: no structured comments found >> include/linux/hrtimer.h:108: warning: Excess struct/union/enum/typedef >> member 'start_pid' description in 'hrtimer' >> include/linux/hrtimer.h:108: warning: Excess struct/union/enum/typedef >> member 'start_site' description in 'hrtimer' >> include/linux/hrtimer.h:108: warning: Excess struct/union/enum/typedef >> member 'start_comm' description in 'hrtimer' include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/drm/drm_drv.h:409: warning: No description found for parameter 'load' include/drm/drm_drv.h:409: warning: No description found for parameter 'firstopen' include/drm/drm_drv.h:409: warning: No description found for parameter 'open' include/drm/drm_drv.h:409: warning: No description found for parameter 'preclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'postclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'lastclose' include/drm/drm_drv.h:409: warning: No description found for parameter 'unload' include/drm/drm_drv.h:409: warning: No description found for parameter 'dma_ioctl' include/drm/drm_drv.h:409: warning: No description found for parameter 'dma_quiescent' include/drm/drm_drv.h:409: warning: No description found for parameter 'context_dtor' include/drm/drm_drv.h:409: warning: No description found for parameter 'set_busid' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_handler' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_preinstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_postinstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'irq_uninstall' include/drm/drm_drv.h:409: warning: No description found for parameter 'debugfs_init' include/drm/drm_drv.h:409: warning: No description found for parameter 'debugfs_cleanup' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_open_object' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_close_object' include/drm/drm_drv.h:409: warning: No description found for parameter 'prime_handle_to_fd' include/drm/drm_drv.h:409: warning: No description found for parameter 'prime_fd_to_handle' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_export' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_import' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_pin' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_unpin' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_res_obj' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_get_sg_table' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_import_sg_table' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_vmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_vunmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_prime_mmap' include/drm/drm_drv.h:409: warning: No description found for parameter 'vgaarb_irq' include/drm/drm_drv.h:409: warning: No description found for parameter 'gem_vm_ops' include/drm/drm_drv.h:409: warning: No description found for parameter 'major' include/drm/drm_drv.h:409: warning: No description found for parameter 'minor' include/drm/drm_drv.h:409: warning: No description found for parameter 'patchlevel' include/drm/drm_drv.h:409: warning: No description found for parameter 'name' include/drm/drm_drv.h:409: warning: No description found for parameter 'desc' include/drm/drm_drv.h:409: warning: No description found for parameter 'date' include/drm/drm_drv.h:409: warning: No description found for parameter 'driver_features' include/drm/drm_drv.h:409: warning: No description found for parameter 'dev_priv_size' include/drm/drm_drv.h:409: warning: No description found for parameter 'ioctls' include/drm/drm_drv.h:409: warning: No description found for parameter 'num_ioctls'
Re: [PATCH linux v6 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs
Hi Edward, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc7 next-20170206] [cannot apply to linux/master] [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/eajames-linux-vnet-ibm-com/drivers-hwmon-Add-On-Chip-Controller-driver/20170207-043353 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: openrisc-allyesconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=openrisc All warnings (new ones prefixed by >>): drivers/hwmon/occ/occ.c: In function 'parse_occ_response': >> drivers/hwmon/occ/occ.c:127:6: warning: unused variable 'rc' vim +/rc +127 drivers/hwmon/occ/occ.c 111 struct device *dev; 112 void *bus; 113 struct occ_bus_ops bus_ops; 114 struct occ_ops ops; 115 struct occ_config config; 116 unsigned long last_updated; 117 struct mutex update_lock; 118 struct occ_response response; 119 bool valid; 120 u8 *raw_data; 121 }; 122 123 static int parse_occ_response(struct occ *driver, u16 num_bytes) 124 { 125 int b; 126 int s; > 127 int rc; 128 unsigned int offset = SENSOR_BLOCK_OFFSET; 129 int sensor_type; 130 u8 num_sensor_blocks; 131 struct sensor_data_block_header *block; 132 void *sensors; 133 struct device *dev = driver->dev; 134 u8 *data = driver->raw_data; 135 struct occ_response *resp = >response; --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 1/1] MicroSemi Switchtec management interface driver
Hi Logan, [auto build test ERROR on pci/next] [also build test ERROR on v4.10-rc6 next-20170130] [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/Logan-Gunthorpe/MicroSemi-Switchtec-management-interface-driver/20170201-011235 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): drivers/pci/switch/switchtec.c: In function 'stdev_is_alive': >> drivers/pci/switch/switchtec.c:120:14: warning: return makes integer from >> pointer without a cast [-Wint-conversion] return stdev->mmio; ~^~ drivers/pci/switch/switchtec.c: In function 'switchtec_init_msi_isr': >> drivers/pci/switch/switchtec.c:1075:7: error: implicit declaration of >> function 'pci_enable_msi_range' [-Werror=implicit-function-declaration] rc = pci_enable_msi_range(pdev, 1, 4); ^~~~ drivers/pci/switch/switchtec.c: In function 'switchtec_dev_ioctl': >> drivers/pci/switch/switchtec.c:758:3: warning: 'nr_idxs' may be used >> uninitialized in this function [-Wmaybe-uninitialized] for (ctl.index = 0; ctl.index < nr_idxs; ctl.index++) { ^~~ drivers/pci/switch/switchtec.c:741:6: note: 'nr_idxs' was declared here int nr_idxs; ^~~ drivers/pci/switch/switchtec.c: In function 'switchtec_pci_probe': >> drivers/pci/switch/switchtec.c:1174:50: warning: 'partition' may be used >> uninitialized in this function [-Wmaybe-uninitialized] stdev->mmio_part_cfg = >mmio_part_cfg_all[partition]; ^ drivers/pci/switch/switchtec.c:1153:6: note: 'partition' was declared here int partition; ^ cc1: some warnings being treated as errors vim +/pci_enable_msi_range +1075 drivers/pci/switch/switchtec.c 1069 static int switchtec_init_msi_isr(struct switchtec_dev *stdev) 1070 { 1071 int rc; 1072 struct pci_dev *pdev = stdev->pdev; 1073 1074 /* Try to set up msi irq */ > 1075 rc = pci_enable_msi_range(pdev, 1, 4); 1076 if (rc < 0) 1077 return rc; 1078 1079 stdev->event_irq = ioread32(>mmio_part_cfg->vep_vector_number); 1080 if (stdev->event_irq < 0 || stdev->event_irq >= 4) { 1081 rc = -EFAULT; 1082 goto err_msi_request; 1083 } 1084 1085 stdev->event_irq = pdev->irq + stdev->event_irq; 1086 dev_dbg(>dev, "Using msi interrupts: event_irq=%d\n", 1087 stdev->event_irq); 1088 1089 return 0; 1090 1091 err_msi_request: 1092 pci_disable_msi(pdev); 1093 return rc; 1094 } 1095 1096 static int switchtec_init_isr(struct switchtec_dev *stdev) 1097 { 1098 int rc; 1099 1100 rc = switchtec_init_msix_isr(stdev); 1101 if (rc) 1102 rc = switchtec_init_msi_isr(stdev); 1103 1104 if (rc) 1105 return rc; 1106 1107 rc = devm_request_irq(>pdev->dev, stdev->event_irq, 1108switchtec_event_isr, 0, KBUILD_MODNAME, stdev); 1109 1110 return rc; } 1112 1113 static void switchtec_deinit_isr(struct switchtec_dev *stdev) 1114 { 1115 devm_free_irq(>pdev->dev, stdev->event_irq, stdev); 1116 pci_disable_msix(stdev->pdev); 1117 pci_disable_msi(stdev->pdev); 1118 } 1119 1120 static void init_pff(struct switchtec_dev *stdev) 1121 { 1122 int i; 1123 u32 reg; 1124 struct part_cfg_regs *pcfg = stdev->mmio_part_cfg; 1125 1126 for (i = 0; i < SWITCHTEC_MAX_PFF_CSR; i++) { 1127 reg = ioread16(>mmio_pff_csr[i].vendor_id); 1128 if (reg != MICROSEMI_VENDOR_ID) 1129 break; 1130 } 1131 1132 stdev->pff_csr_count = i; 1133 1134 reg = ioread32(>usp_pff_inst_id); 1135 if (reg < SWITCHTEC_MAX_PFF_CSR) 1136 stdev->pff_local[reg] = 1; 1137 1138 reg = ioread32(>vep_pff_inst_id); 1139 if (reg < SWITCHTEC_MAX_PFF_CSR) 1140 stdev->pff_local[reg] = 1; 1141 1142 for (i = 0; i < ARRAY_SIZE(pcfg->dsp_pff_inst_id); i++) { 1143 reg = ioread32(>dsp_pff_inst_id[i]); 1144 if (reg < SWITCHTEC_MAX_PFF_CSR) 1145 stdev->pff_local[reg] = 1; 1146 } 1147 } 1148 1149 static int switchtec_init_pci(struct switchtec_dev *stdev,
Re: [PATCH v3 1/1] DM: inplace compressed DM target
Hi Ram, [auto build test ERROR on dm/for-next] [also build test ERROR on v4.10-rc6] [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/Ram-Pai/DM-inplace-compressed-DM-target/20170131-154811 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m68k All errors (new ones prefixed by >>): WARNING: modpost: missing MODULE_LICENSE() in drivers/media/dvb-frontends/gp8psk-fe.o see include/linux/module.h for more information >> ERROR: "__umoddi3" [drivers/md/dm-inplace-compress.ko] undefined! >> ERROR: "__udivdi3" [drivers/md/dm-inplace-compress.ko] undefined! --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v3 1/1] DM: inplace compressed DM target
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc6 next-20170130] [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/Ram-Pai/DM-inplace-compressed-DM-target/20170131-154811 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: cris-allyesconfig (attached as .config) compiler: cris-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=cris All warnings (new ones prefixed by >>): drivers/md/dm-inplace-compress.c: In function 'dm_icomp_handle_read_decomp': >> drivers/md/dm-inplace-compress.c:1580:41: warning: passing argument 3 of >> 'dm_icomp_bio_copy' makes pointer from integer without a cast >> [-Wint-conversion] dm_icomp_bio_copy(req->bio, bio_off, empty_zero_page, ^~~ drivers/md/dm-inplace-compress.c:1133:13: note: expected 'void *' but argument is of type 'long unsigned int' static void dm_icomp_bio_copy(struct bio *bio, off_t bio_off, void *buf, ^ drivers/md/dm-inplace-compress.c:1593:40: warning: passing argument 3 of 'dm_icomp_bio_copy' makes pointer from integer without a cast [-Wint-conversion] dm_icomp_bio_copy(req->bio, bio_off, empty_zero_page, ^~~ drivers/md/dm-inplace-compress.c:1133:13: note: expected 'void *' but argument is of type 'long unsigned int' static void dm_icomp_bio_copy(struct bio *bio, off_t bio_off, void *buf, ^ In file included from drivers/md/dm-inplace-compress.c:12:0: drivers/md/dm-inplace-compress.c: In function 'dm_icomp_status': drivers/md/dm-inplace-compress.c:2090:10: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=] DMEMIT("%lu %lu %lu", ^ include/linux/device-mapper.h:577:46: note: in definition of macro 'DMEMIT' 0 : scnprintf(result + sz, maxlen - sz, x)) ^ drivers/md/dm-inplace-compress.c:2090:10: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long int' [-Wformat=] DMEMIT("%lu %lu %lu", ^ include/linux/device-mapper.h:577:46: note: in definition of macro 'DMEMIT' 0 : scnprintf(result + sz, maxlen - sz, x)) ^ drivers/md/dm-inplace-compress.c:2090:10: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'long long int' [-Wformat=] DMEMIT("%lu %lu %lu", ^ include/linux/device-mapper.h:577:46: note: in definition of macro 'DMEMIT' 0 : scnprintf(result + sz, maxlen - sz, x)) ^ vim +/dm_icomp_bio_copy +1580 drivers/md/dm-inplace-compress.c 1564 dm_icomp_release_comp_buffer(io); 1565 req->result = -EIO; 1566 return; 1567 } 1568 1569 len = min_t(ssize_t, 1570 max_t(ssize_t, decomp_len - src_off, 0), 1571 max_t(ssize_t, bio_len - dst_off, 0)); 1572 1573 dm_icomp_bio_copy(req->bio, dst_off, 1574 io->decomp_data + src_off, len, false); 1575 1576 /* io range in all_io list is ordered for read IO */ 1577 while (bio_off < dst_off) { 1578 ssize_t size = min_t(ssize_t, PAGE_SIZE, 1579 dst_off - bio_off); > 1580 dm_icomp_bio_copy(req->bio, bio_off, > empty_zero_page, 1581 size, false); 1582 bio_off += size; 1583 } 1584 1585 bio_off = dst_off + len; 1586 dm_icomp_release_decomp_buffer(io); 1587 dm_icomp_release_comp_buffer(io); 1588 } --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH linux v2 2/2] drivers: hwmon: hwmon driver for ASPEED AST2400/2500 PWM and Fan tach controller
Hi Jaghathiswari, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc5 next-20170125] [cannot apply to linux/master] [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/Jaghathiswari-Rankappagounder-Natarajan/Documentation-dt-bindings-Document-bindings-for-ASPEED-AST2400-AST2500-PWM-and-Fan-tach-controller-device-driver/20170127-174933 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: openrisc-allyesconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=openrisc All warnings (new ones prefixed by >>): drivers/hwmon/aspeed-pwm-tacho.c: In function 'aspeed_get_fan_tach_ch_rpm': >> drivers/hwmon/aspeed-pwm-tacho.c:492:16: warning: unused variable 'rpm' vim +/rpm +492 drivers/hwmon/aspeed-pwm-tacho.c 476 div_l = priv->type_pwm_clock_division_l[type]; 477 if (div_l == 0) 478 div_l = 1; 479 else 480 div_l = div_l * 2; 481 482 tacho_unit = priv->type_fan_tach_unit[type]; 483 tacho_div = priv->type_fan_tach_clock_division[type]; 484 485 tacho_div = 0x4 << (tacho_div * 2); 486 return clk / (clk_unit * div_h * div_l * tacho_div * tacho_unit); 487 } 488 489 static u32 aspeed_get_fan_tach_ch_rpm(struct aspeed_pwm_tacho_data *priv, 490u8 fan_tach_ch) 491 { > 492 u32 raw_data, rpm, tach_div, clk_source, timeout = 0, sec, val; 493 u8 fan_tach_ch_source, type; 494 495 regmap_write(priv->regmap, ASPEED_PTCR_TRIGGER, 0); 496 regmap_write(priv->regmap, ASPEED_PTCR_TRIGGER, 0x1 << fan_tach_ch); 497 498 fan_tach_ch_source = priv->fan_tach_ch_source[fan_tach_ch]; 499 type = priv->pwm_port_type[fan_tach_ch_source]; 500 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH linux v4 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs
Hi Edward, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.10-rc5 next-20170125] [cannot apply to linux/master] [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/eajames-ibm-gmail-com/drivers-hwmon-Add-On-Chip-Controller-drive/20170127-073116 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: openrisc-allmodconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=openrisc All errors (new ones prefixed by >>): drivers/hwmon/occ/occ.c:433:1: error: 'occ_get_sensor_value' undeclared here (not in a function) >> drivers/hwmon/occ/occ.c:433:1: error: type defaults to 'int' in declaration >> of 'occ_get_sensor_value' vim +433 drivers/hwmon/occ/occ.c 427 428 int occ_get_sensor_field(struct occ *occ, int sensor_type, int sensor_num, 429 u32 hwmon, long *val) 430 { 431 return occ->ops.get_sensor(occ, sensor_type, sensor_num, hwmon, val); 432 } > 433 EXPORT_SYMBOL(occ_get_sensor_value); 434 435 void occ_get_response_blocks(struct occ *occ, struct occ_blocks **blocks) 436 { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH linux v4 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs
Hi Edward, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.10-rc5 next-20170125] [cannot apply to linux/master] [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/eajames-ibm-gmail-com/drivers-hwmon-Add-On-Chip-Controller-drive/20170127-073116 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=alpha All error/warnings (new ones prefixed by >>): In file included from include/linux/linkage.h:6:0, from include/linux/kernel.h:6, from include/linux/unaligned/packed_struct.h:4, from include/linux/unaligned/le_struct.h:4, from arch/alpha/include/asm/unaligned.h:4, from drivers/hwmon/occ/occ.c:19: >> drivers/hwmon/occ/occ.c:433:15: error: 'occ_get_sensor_value' undeclared >> here (not in a function) EXPORT_SYMBOL(occ_get_sensor_value); ^ include/linux/export.h:58:16: note: in definition of macro '___EXPORT_SYMBOL' extern typeof(sym) sym; \ ^~~ >> drivers/hwmon/occ/occ.c:433:1: note: in expansion of macro 'EXPORT_SYMBOL' EXPORT_SYMBOL(occ_get_sensor_value); ^ vim +/occ_get_sensor_value +433 drivers/hwmon/occ/occ.c 427 428 int occ_get_sensor_field(struct occ *occ, int sensor_type, int sensor_num, 429 u32 hwmon, long *val) 430 { 431 return occ->ops.get_sensor(occ, sensor_type, sensor_num, hwmon, val); 432 } > 433 EXPORT_SYMBOL(occ_get_sensor_value); 434 435 void occ_get_response_blocks(struct occ *occ, struct occ_blocks **blocks) 436 { --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH linux v1 2/2] drivers: hwmon: hwmon driver for ASPEED AST2400/2500 PWM and Fan tach controller
Hi Jaghathiswari, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc5 next-20170120] [cannot apply to linux/master] [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/Jaghathiswari-Rankappagounder-Natarajan/Support-for-ASPEED-AST2400-AST2500-PWM-and-Fan-Tach-driver/20170110-093628 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: i386-randconfig-i1-01230650 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/hwmon/aspeed-pwm-tacho.c: In function 'aspeed_create_type': >> drivers/hwmon/aspeed-pwm-tacho.c:656:41: warning: 'div_h' is used >> uninitialized in this function [-Wuninitialized] priv->type_pwm_clock_division_h[index] = div_h; ^ vim +/div_h +656 drivers/hwmon/aspeed-pwm-tacho.c 640 * The PWM frequency = 24MHz / (type M clock division L bit * 641 * type M clock division H bit * (type M PWM period bit + 1)) 642 * Calculate type M clock division L bit and H bits given the other values 643 */ 644 static int aspeed_create_type(struct device_node *child, 645struct aspeed_pwm_tacho_data *priv, 646u8 index) 647 { 648 u8 period, div_l, div_h; 649 bool enable; 650 u8 mode, div; 651 u16 unit; 652 653 of_property_read_u8(child, "pwm_period", ); 654 of_property_read_u8(child, "pwm_clock_division_h", _h); 655 of_property_read_u8(child, "pwm_clock_division_l", _l); > 656 priv->type_pwm_clock_division_h[index] = div_h; 657 priv->type_pwm_clock_division_l[index] = div_l; 658 priv->type_pwm_clock_unit[index] = period; 659 aspeed_set_pwm_clock_values(priv->base, index, div_h, div_l, period); 660 661 enable = of_property_read_bool(child, "fan_tach_enable"); 662 aspeed_set_tacho_type_enable(priv->base, index, enable); 663 664 of_property_read_u8(child, "fan_tach_clock_division", ); --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 2/2] security: Change name of CONFIG_DEBUG_SET_MODULE_RONX
Hi Laura, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc4] [cannot apply to next-20170119] [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/Laura-Abbott/Better-hardening-names/20170119-200343 config: i386-randconfig-c0-01201130 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): arch/x86/built-in.o: In function `ftrace_arch_code_modify_prepare': >> (.text+0x3fcb7): undefined reference to `set_all_modules_text_rw' arch/x86/built-in.o: In function `ftrace_arch_code_modify_post_process': >> (.text+0x3fcc3): undefined reference to `set_all_modules_text_ro' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH] pci: drop link_reset
Hi Michael, [auto build test ERROR on pci/next] [also build test ERROR on v4.10-rc4] [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/Michael-S-Tsirkin/pci-drop-link_reset/20170119-34 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: x86_64-randconfig-i0-201703 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): >> drivers/misc/genwqe/card_base.c:1339:2: error: unknown field 'link_reset' >> specified in initializer .link_reset = genwqe_err_result_none, ^ vim +/link_reset +1339 drivers/misc/genwqe/card_base.c 12eb4683 Frank Haverkamp 2013-12-09 1333 return 0; 12eb4683 Frank Haverkamp 2013-12-09 1334 } 12eb4683 Frank Haverkamp 2013-12-09 1335 12eb4683 Frank Haverkamp 2013-12-09 1336 static struct pci_error_handlers genwqe_err_handler = { 12eb4683 Frank Haverkamp 2013-12-09 1337 .error_detected = genwqe_err_error_detected, 12eb4683 Frank Haverkamp 2013-12-09 1338 .mmio_enabled = genwqe_err_result_none, 12eb4683 Frank Haverkamp 2013-12-09 @1339 .link_reset = genwqe_err_result_none, fb145456 Kleber Sacilotto de Souza 2014-06-04 1340 .slot_reset = genwqe_err_slot_reset, 12eb4683 Frank Haverkamp 2013-12-09 1341 .resume = genwqe_err_resume, 12eb4683 Frank Haverkamp 2013-12-09 1342 }; :: The code at line 1339 was first introduced by commit :: 12eb4683251ebfb12afba9c56556fade7a3d7372 GenWQE PCI support, health monitoring and recovery :: TO: Frank Haverkamp:: CC: Greg Kroah-Hartman --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[PATCH] hwmon: occ: fix err_cast.cocci warnings
drivers/hwmon/occ/occ_sysfs.c:265:9-16: WARNING: ERR_CAST can be used with hwmon -> dev Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) Generated by: scripts/coccinelle/api/err_cast.cocci CC: Edward A. JamesSigned-off-by: Fengguang Wu --- occ_sysfs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hwmon/occ/occ_sysfs.c +++ b/drivers/hwmon/occ/occ_sysfs.c @@ -262,7 +262,7 @@ struct occ_sysfs *occ_sysfs_start(struct if (IS_ERR(hwmon->dev)) { dev_err(dev, "cannot register hwmon device %s: %ld\n", hwmon->hwmon_name, PTR_ERR(hwmon->dev)); - return ERR_PTR(PTR_ERR(hwmon->dev)); + return ERR_CAST(hwmon->dev); } return hwmon; -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH linux v2 2/6] hwmon: occ: Add sysfs interface
Hi Edward, [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v4.10-rc3 next-20170111] [cannot apply to linux/master] [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/eajames-ibm-gmail-com/hwmon-Add-core-On-Chip-Controller-support-for-POWER-CPUs/20170112-150440 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next coccinelle warnings: (new ones prefixed by >>) >> drivers/hwmon/occ/occ_sysfs.c:265:9-16: WARNING: ERR_CAST can be used with >> hwmon -> dev Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003
Hi Shanker, [auto build test ERROR on next-20161224] [also build test ERROR on v4.10-rc1] [cannot apply to arm64/for-next/core v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/Christopher-Covington/arm64-Define-Falkor-v1-CPU/20161230-081412 config: arm64-allnoconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm64 All errors (new ones prefixed by >>): arch/arm64/mm/context.c: In function 'flush_context': >> arch/arm64/mm/context.c:93:13: error: >> 'CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID' undeclared (first use in this >> function) __set_bit(CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID, asid_map); ^~ arch/arm64/mm/context.c:93:13: note: each undeclared identifier is reported only once for each function it appears in arch/arm64/mm/context.c: In function 'asids_init': arch/arm64/mm/context.c:255:13: error: 'CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID' undeclared (first use in this function) __set_bit(CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID, asid_map); ^~ vim +/CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID +93 arch/arm64/mm/context.c 87 /* Update the list of reserved ASIDs and the ASID bitmap. */ 88 bitmap_clear(asid_map, 0, NUM_USER_ASIDS); 89 90 /* Reserve ASID for Falkor erratum 1003 */ 91 if (IS_ENABLED(CONFIG_QCOM_FALKOR_ERRATUM_1003) && 92 cpus_have_cap(ARM64_WORKAROUND_QCOM_FALKOR_E1003)) > 93 __set_bit(CONFIG_QCOM_FALKOR_E1003_RESERVED_ASID, asid_map); 94 95 /* 96 * Ensure the generation bump is observed before we xchg the --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 07/20] futex: Introduce throughput-optimized (TP) futexes
Hi Waiman, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc1 next-20161224] [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/Waiman-Long/futex-Introducing-throughput-optimized-TP-futexes/20161230-020021 reproduce: make htmldocs All warnings (new ones prefixed by >>): >> kernel/futex.c:3419: warning: No description found for parameter 'uaddr' >> kernel/futex.c:3419: warning: No description found for parameter 'vpid' >> kernel/futex.c:3419: warning: No description found for parameter 'puval' >> kernel/futex.c:3419: warning: No description found for parameter 'waiter' kernel/futex.c:3456: warning: No description found for parameter 'uaddr' kernel/futex.c:3456: warning: No description found for parameter 'vpid' kernel/futex.c:3456: warning: No description found for parameter 'puval' vim +/uaddr +3419 kernel/futex.c 3403 * The HB fs_lock should NOT be held while calling this function. 3404 * The flag bits are ignored in the trylock. 3405 * 3406 * If waiter is true 3407 * then 3408 * don't preserve the flag bits; 3409 * else 3410 * preserve the flag bits 3411 * endif 3412 * 3413 * Return: 1 if lock acquired; 3414 * 0 if lock acquisition failed; 3415 * -EFAULT if an error happened. 3416 */ 3417 static inline int futex_trylock(u32 __user *uaddr, const u32 vpid, u32 *puval, 3418 const bool waiter) > 3419 { 3420 u32 uval, flags = 0; 3421 3422 if (unlikely(get_futex_value(puval, uaddr))) 3423 return -EFAULT; 3424 3425 uval = *puval; 3426 3427 if (uval & FUTEX_TID_MASK) --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 16/20] TP-futex: Group readers together in wait queue
Hi Waiman, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc1 next-20161224] [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/Waiman-Long/futex-Introducing-throughput-optimized-TP-futexes/20161230-020021 config: ia64-defconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): kernel/built-in.o: In function `futex_lock': >> futex.c:(.text+0xfadd2): undefined reference to `osq_lock' >> futex.c:(.text+0xfb1f2): undefined reference to `osq_unlock' futex.c:(.text+0xfb2d2): undefined reference to `osq_unlock' futex.c:(.text+0xfc0c2): undefined reference to `osq_lock' futex.c:(.text+0xfc6d2): undefined reference to `osq_unlock' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 16/20] TP-futex: Group readers together in wait queue
Hi Waiman, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc1 next-20161224] [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/Waiman-Long/futex-Introducing-throughput-optimized-TP-futexes/20161230-020021 config: m32r-usrv_defconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=m32r All errors (new ones prefixed by >>): kernel/built-in.o: In function `futex_spin_on_reader': >> kernel/futex.c:3961: undefined reference to `osq_lock' kernel/futex.c:3961:(.text+0x60cd8): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_lock' >> kernel/futex.c:3988: undefined reference to `osq_unlock' kernel/futex.c:3988:(.text+0x61028): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_unlock' kernel/futex.c:3994: undefined reference to `osq_unlock' kernel/futex.c:3994:(.text+0x61080): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `osq_unlock' vim +3961 kernel/futex.c 3955 first_reader = READ_ONCE(state->first_reader); 3956 if (!first_reader) 3957 first_reader = cmpxchg(>first_reader, NULL, current); 3958 if (!first_reader) 3959 goto out; /* Became the first reader */ 3960 > 3961 if (!osq_lock(>reader_osq)) 3962 goto reschedule; 3963 3964 for (;;) { 3965 u32 uval; 3966 3967 if (!state->locksteal_disabled) { 3968 ret = futex_trylock_preempt_disabled(uaddr, 3969 FUTEX_SHARED, ); 3970 /* 3971 * Return if lock acquired or an error happened 3972 */ 3973 if (ret) 3974 break; 3975 } 3976 3977 /* 3978 * Reread the first reader value again. 3979 */ 3980 first_reader = READ_ONCE(state->first_reader); 3981 if (!first_reader) 3982 first_reader = cmpxchg(>first_reader, NULL, 3983 current); 3984 if (!first_reader || !first_reader->on_cpu) 3985 break; 3986 3987 if (need_resched()) { > 3988 osq_unlock(>reader_osq); 3989 goto reschedule; 3990 } 3991 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH v4 14/20] TP-futex: Support userspace reader/writer locks
Hi Waiman, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc1 next-20161224] [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/Waiman-Long/futex-Introducing-throughput-optimized-TP-futexes/20161230-020021 config: i386-randconfig-x006-201652 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): kernel/futex.c: In function 'futex_lock': >> kernel/futex.c:3776:13: warning: 'rspin_timeout' may be used uninitialized >> in this function [-Wmaybe-uninitialized] else if (curtime > rspin_timeout) ^ kernel/futex.c:3656:6: note: 'rspin_timeout' was declared here u64 rspin_timeout; ^ vim +/rspin_timeout +3776 kernel/futex.c 3760 3761 if (!owner_task && (reader_value >= 0)) { 3762 int old_count = reader_value; 3763 3764 /* 3765 * Reset timeout value if the old reader 3766 * count is 0 or the reader value changes and 3767 * handoff time hasn't been reached. Otherwise, 3768 * disable reader spinning if the handoff time 3769 * is reached. 3770 */ 3771 reader_value = (uval & FUTEX_TID_MASK); 3772 if (!old_count || (!handoff_set 3773 && (reader_value != old_count))) 3774 rspin_timeout = curtime + 3775 TP_RSPIN_TIMEOUT; > 3776 else if (curtime > rspin_timeout) 3777 reader_value = -1; 3778 } 3779 if (!handoff_set && (curtime > handoff_time)) { 3780 WARN_ON(READ_ONCE(state->handoff_pid)); 3781 WRITE_ONCE(state->handoff_pid, vpid); 3782 3783 /* 3784 * Disable handoff check. --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[linux-next:master 7190/10372] htmldocs: Documentation/doc-guide/sphinx.rst:110: ERROR: Unknown target name: "sphinx c domain".
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e05f574a0bb1f4502a4b2264fdb0ef6419cf3772 commit: 1dc4bbf0b268246f6202c761016735933b6f0b99 [7190/10372] docs-rst: doc-guide: split the kernel-documentation.rst contents reproduce: make htmldocs All errors (new ones prefixed by >>): make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. include/linux/init.h:1: warning: no structured comments found include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create' kernel/sys.c:1: warning: no structured comments found Error: Cannot open file drivers/dma-buf/dma-fence.c Error: Cannot open file drivers/dma-buf/dma-fence.c WARNING: kernel-doc 'scripts/kernel-doc -rst -enable-lineno -export drivers/dma-buf/dma-fence.c' failed with return code 2 Error: Cannot open file include/linux/dma-fence.h Error: Cannot open file include/linux/dma-fence.h WARNING: kernel-doc 'scripts/kernel-doc -rst -enable-lineno -internal include/linux/dma-fence.h' failed with return code 2 drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found Error: Cannot open file drivers/dma-buf/dma-fence-array.c Error: Cannot open file drivers/dma-buf/dma-fence-array.c WARNING: kernel-doc 'scripts/kernel-doc -rst -enable-lineno -export drivers/dma-buf/dma-fence-array.c' failed with return code 2 Error: Cannot open file include/linux/dma-fence-array.h Error: Cannot open file include/linux/dma-fence-array.h WARNING: kernel-doc 'scripts/kernel-doc -rst -enable-lineno -internal include/linux/dma-fence-array.h' failed with return code 2 include/uapi/linux/vtpm_proxy.h:1: warning: no structured comments found drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'filp' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'buf' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'count' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'off' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'filp' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'buf' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'count' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'off' drivers/char/tpm/tpm_vtpm_proxy.c:201: warning: No description found for parameter 'proxy_dev' drivers/char/tpm/tpm_vtpm_proxy.c:1: warning: no structured comments found include/sound/compress_driver.h:162: warning: No description found for parameter 'id[64]' include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_root' include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_info_entry' include/net/mac80211.h:3207: ERROR: Unexpected indentation. include/net/mac80211.h:3210: WARNING: Block quote ends without a blank line; unexpected unindent. include/net/mac80211.h:3212: ERROR: Unexpected indentation. include/net/mac80211.h:3213: WARNING: Block quote ends without a blank line; unexpected unindent. include/net/mac80211.h:1772: ERROR: Unexpected indentation. include/net/mac80211.h:1776: WARNING: Block quote ends without a blank line; unexpected unindent. >> Documentation/doc-guide/sphinx.rst:110: ERROR: Unknown target name: "sphinx >> c domain". kernel/sched/fair.c:7259: WARNING: Inline emphasis start-string without end-string. kernel/time/timer.c:1240: ERROR: Unexpected indentation. kernel/time/timer.c:1242: ERROR: Unexpected indentation. kernel/time/timer.c:1243: WARNING: Block quote ends without a blank line; unexpected unindent. include/linux/wait.h:121: WARNING: Block quote ends without a blank line; unexpected unindent. include/linux/wait.h:124: ERROR: Unexpected indentation. include/linux/wait.h:126: WARNING: Block quote ends without a blank line; unexpected unindent. kernel/time/hrtimer.c:1021: WARNING: Block quote ends without a blank line; unexpected unindent. kernel/signal.c:317: WARNING: Inline literal start-string without end-string. drivers/base/firmware_class.c:1348: WARNING: Bullet list ends without a blank line; unexpected unindent. drivers/message/fusion/mptbase.c:5054: WARNING: Definition list ends without a blank line; unexpected unindent. drivers/tty/serial/serial_core.c:1893: WARNING: Definition list ends without a blank line; unexpected unindent. include/linux/spi/spi.h:369: ERROR: Unexpected indentation. drivers/usb/core/message.c:478: ERROR: Unexpected indentation. drivers/usb/core/message.c:479: WARNING: Block quote ends without a blank line; unexpected unindent. Documentation/driver-api/usb.rst:623: ERROR: Unknown target name: "usb_type".
Re: [PATCH v3 5/7] iio: multiplexer: new iio category and iio-mux driver
Hi Peter, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc6] [cannot apply to next-20161117] [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/Peter-Rosin/mux-controller-abstraction-and-iio-i2c-muxes/20161121-215311 config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/iio/multiplexer/iio-mux.c: In function 'mux_read_avail': >> drivers/iio/multiplexer/iio-mux.c:134:9: error: implicit declaration of >> function 'iio_read_avail_channel_raw' [-Werror=implicit-function-declaration] ret = iio_read_avail_channel_raw(mux->parent, vals, length); ^~ drivers/iio/multiplexer/iio-mux.c: At top level: >> drivers/iio/multiplexer/iio-mux.c:174:2: error: unknown field 'read_avail' >> specified in initializer .read_avail = mux_read_avail, ^ >> drivers/iio/multiplexer/iio-mux.c:174:16: error: initialization from >> incompatible pointer type [-Werror=incompatible-pointer-types] .read_avail = mux_read_avail, ^~ drivers/iio/multiplexer/iio-mux.c:174:16: note: (near initialization for 'mux_info.read_raw_multi') drivers/iio/multiplexer/iio-mux.c: In function 'mux_configure_channel': >> drivers/iio/multiplexer/iio-mux.c:267:6: error: implicit declaration of >> function 'iio_channel_has_available' [-Werror=implicit-function-declaration] if (iio_channel_has_available(pchan, IIO_CHAN_INFO_RAW)) ^ >> drivers/iio/multiplexer/iio-mux.c:268:7: error: 'struct iio_chan_spec' has >> no member named 'info_mask_separate_available'; did you mean >> 'info_mask_separate'? chan->info_mask_separate_available |= BIT(IIO_CHAN_INFO_RAW); ^~ cc1: some warnings being treated as errors vim +/iio_read_avail_channel_raw +134 drivers/iio/multiplexer/iio-mux.c 128 if (ret < 0) 129 return ret; 130 131 switch (mask) { 132 case IIO_CHAN_INFO_RAW: 133 *type = IIO_VAL_INT; > 134 ret = iio_read_avail_channel_raw(mux->parent, vals, > length); 135 break; 136 137 default: 138 ret = -EINVAL; 139 } 140 141 iio_mux_deselect(mux); 142 143 return ret; 144 } 145 146 static int mux_write_raw(struct iio_dev *indio_dev, 147 struct iio_chan_spec const *chan, 148 int val, int val2, long mask) 149 { 150 struct mux *mux = iio_priv(indio_dev); 151 int idx = chan - mux->chan; 152 int ret; 153 154 ret = iio_mux_select(mux, idx); 155 if (ret < 0) 156 return ret; 157 158 switch (mask) { 159 case IIO_CHAN_INFO_RAW: 160 ret = iio_write_channel_raw(mux->parent, val); 161 break; 162 163 default: 164 ret = -EINVAL; 165 } 166 167 iio_mux_deselect(mux); 168 169 return ret; 170 } 171 172 static const struct iio_info mux_info = { 173 .read_raw = mux_read_raw, > 174 .read_avail = mux_read_avail, 175 .write_raw = mux_write_raw, 176 .driver_module = THIS_MODULE, 177 }; 178 179 static ssize_t mux_read_ext_info(struct iio_dev *indio_dev, uintptr_t private, 180 struct iio_chan_spec const *chan, char *buf) 181 { 182 struct mux *mux = iio_priv(indio_dev); 183 int idx = chan - mux->chan; 184 ssize_t ret; 185 186 ret = iio_mux_select(mux, idx); 187 if (ret < 0) 188 return ret; 189 190 ret = iio_read_channel_ext_info(mux->parent, 191 mux->ext_info[private].name, 192 buf); 193 194 iio_mux_deselect(mux); 195 196 return ret; 197 } 198 199 static ssize_t mux_write_ext_info(struct iio_dev *indio_dev, uintptr_t private, 200struct iio_chan_spec const *chan, 201const char *buf, size_t len) 202 { 203 struct device *dev = indio_dev->dev.parent; 204 struct mux *mux = iio_priv(indio_dev); 205 int idx = chan - mux->chan; 206 char *new; 207 ssize_t ret; 208 209 ret = iio_mux_select(mux, idx); 210 if (ret < 0) 211
[lwn:docs-next 98/103] htmldocs: include/uapi/linux/vtpm_proxy.h:1: warning: no structured comments found
tree: git://git.lwn.net/linux-2.6 docs-next head: d55003d86e0ce598b599277973035327779b643b commit: 9e355ba76455d6d44f5cf888eee820ae9a06b3ec [98/103] tpm: transition tpm_vtpm_proxy documentation to the Sphinx reproduce: make htmldocs All warnings (new ones prefixed by >>): drivers/gpu/drm/i915/i915_vgpu.c:102: warning: No description found for parameter 'dev_priv' drivers/gpu/drm/i915/i915_vgpu.c:181: warning: No description found for parameter 'dev_priv' drivers/gpu/drm/i915/i915_vgpu.c:181: warning: Excess function parameter 'dev' description in 'intel_vgt_balloon' drivers/gpu/drm/i915/i915_vgpu.c:103: warning: No description found for parameter 'dev_priv' drivers/gpu/drm/i915/i915_vgpu.c:182: warning: No description found for parameter 'dev_priv' drivers/gpu/drm/i915/i915_vgpu.c:182: warning: Excess function parameter 'dev' description in 'intel_vgt_balloon' drivers/gpu/drm/i915/i915_gem.c:932: warning: No description found for parameter 'i915' drivers/gpu/drm/i915/i915_gem.c:932: warning: Excess function parameter 'dev' description in 'i915_gem_gtt_pwrite_fast' drivers/gpu/drm/i915/intel_hotplug.c:543: warning: Excess function parameter 'enabled' description in 'intel_hpd_poll_init' drivers/gpu/drm/i915/intel_hotplug.c:544: warning: Excess function parameter 'enabled' description in 'intel_hpd_poll_init' drivers/gpu/drm/i915/intel_fbc.c:1087: warning: No description found for parameter 'crtc_state' drivers/gpu/drm/i915/intel_fbc.c:1087: warning: No description found for parameter 'plane_state' drivers/gpu/drm/i915/intel_fbc.c:1088: warning: No description found for parameter 'crtc_state' drivers/gpu/drm/i915/intel_fbc.c:1088: warning: No description found for parameter 'plane_state' >> include/uapi/linux/vtpm_proxy.h:1: warning: no structured comments found drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'filp' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'buf' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'count' drivers/char/tpm/tpm_vtpm_proxy.c:71: warning: No description found for parameter 'off' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'filp' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'buf' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'count' drivers/char/tpm/tpm_vtpm_proxy.c:121: warning: No description found for parameter 'off' drivers/char/tpm/tpm_vtpm_proxy.c:201: warning: No description found for parameter 'proxy_dev' >> drivers/char/tpm/tpm_vtpm_proxy.c:1: warning: no structured comments found drivers/gpu/drm/drm_crtc.c:1270: WARNING: Inline literal start-string without end-string. drivers/gpu/drm/drm_crtc.c:1385: WARNING: Inline literal start-string without end-string. include/drm/drm_crtc.h:1200: WARNING: Inline literal start-string without end-string. include/drm/drm_crtc.h:1253: WARNING: Inline literal start-string without end-string. include/drm/drm_crtc.h:1266: WARNING: Inline literal start-string without end-string. include/drm/drm_crtc.h:1270: WARNING: Inline literal start-string without end-string. drivers/gpu/drm/drm_irq.c:718: WARNING: Option list ends without a blank line; unexpected unindent. drivers/gpu/drm/drm_fb_helper.c:2196: WARNING: Inline emphasis start-string without end-string. drivers/gpu/drm/drm_simple_kms_helper.c:156: WARNING: Inline literal start-string without end-string. include/drm/drm_gem.h:212: WARNING: Inline emphasis start-string without end-string. drivers/gpu/drm/i915/intel_uncore.c:1622: ERROR: Unexpected indentation. drivers/gpu/drm/i915/intel_uncore.c:1623: WARNING: Block quote ends without a blank line; unexpected unindent. drivers/gpu/drm/i915/intel_uncore.c:1656: ERROR: Unexpected indentation. drivers/gpu/drm/i915/intel_uncore.c:1657: WARNING: Block quote ends without a blank line; unexpected unindent. drivers/gpu/drm/i915/i915_vgpu.c:175: WARNING: Literal block ends without a blank line; unexpected unindent. drivers/gpu/drm/i915/intel_audio.c:54: WARNING: Inline emphasis start-string without end-string. drivers/gpu/drm/i915/intel_audio.c:54: WARNING: Inline emphasis start-string without end-string. drivers/gpu/drm/i915/intel_lrc.c:1166: ERROR: Unexpected indentation. drivers/gpu/drm/i915/intel_lrc.c:1167: WARNING: Block quote ends without a blank line; unexpected unindent. drivers/gpu/drm/i915/intel_guc_fwif.h:159: WARNING: Block quote ends without a blank line; unexpected unindent. drivers/gpu/drm/i915/intel_guc_fwif.h:178: WARNING: Enumerated list ends without a blank line; unexpected unindent. vim +1 include/uapi/linux/vtpm_proxy.h 6f99612e Stefan Berger 2016-04-18 @1 /* 6f99612e Stefan Berger 2016-04-18 2 * Definitions for the VTPM proxy
[hverkuil-media:cec 9/11] htmldocs: Documentation Makefile scripts source No rule to make target 'include/linux/cec.h', needed by 'Documentation/output/cec.h.rst'.
tree: git://linuxtv.org/hverkuil/media_tree.git cec head: b0a453e5585d000bdeee4242f9c43b99ab1835d6 commit: 3f626673dfff318f1aea1e443f5151b9616484c8 [9/11] cec: move the CEC framework out of staging and to media reproduce: make htmldocs All errors (new ones prefixed by >>): warning: jobserver unavailable: using -j1. Add '+' to parent make rule. >> Documentation Makefile scripts source No rule to make target >> 'include/linux/cec.h', needed by 'Documentation/output/cec.h.rst'. Target 'all' not remade because of errors. include/linux/init.h:1: warning: no structured comments found include/linux/workqueue.h:392: warning: No description found for parameter '...' include/linux/workqueue.h:392: warning: Excess function parameter 'args' description in 'alloc_workqueue' include/linux/workqueue.h:413: warning: No description found for parameter '...' include/linux/workqueue.h:413: warning: Excess function parameter 'args' description in 'alloc_ordered_workqueue' include/linux/kthread.h:26: warning: No description found for parameter '...' kernel/sys.c:1: warning: no structured comments found drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found include/linux/fence-array.h:61: warning: No description found for parameter 'fence' include/sound/core.h:324: warning: No description found for parameter '...' include/sound/core.h:335: warning: No description found for parameter '...' include/sound/core.h:388: warning: No description found for parameter '...' include/media/media-entity.h:1054: warning: No description found for parameter '...' --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
[kselftest:next 19/20] htmldocs: scripts/Makefile.build:44: Documentation/Makefile: No such file or directory
tree: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next head: 94c630ee73a4a1db18561511dfefc2e41d2e6d1e commit: c6d2995da5409e3d0ef30c53287d3c17e450e96e [19/20] samples: move blackfin gptimers-example from Documentation reproduce: make htmldocs All errors (new ones prefixed by >>): >> scripts/Makefile.build:44: Documentation/Makefile: No such file or directory >> make[2]: *** No rule to make target 'Documentation/Makefile'. make[2]: Failed to remake makefile 'Documentation/Makefile'. vim +44 scripts/Makefile.build f77bf0142 Sam Ravnborg 2007-10-15 28 ldflags-y := d72e5edbf Sam Ravnborg 2007-05-28 29 720097d89 Sam Ravnborg 2009-04-19 30 subdir-asflags-y := 720097d89 Sam Ravnborg 2009-04-19 31 subdir-ccflags-y := 720097d89 Sam Ravnborg 2009-04-19 32 3156fd052 Robert P. J. Day 2008-02-18 33 # Read auto.conf if it exists, otherwise ignore c955ccafc Roman Zippel 2006-06-08 34 -include include/config/auto.conf ^1da177e4 Linus Torvalds 2005-04-16 35 20a468b51 Sam Ravnborg 2006-01-22 36 include scripts/Kbuild.include 20a468b51 Sam Ravnborg 2006-01-22 37 3156fd052 Robert P. J. Day 2008-02-18 38 # For backward compatibility check that these variables do not change 0c53c8e6e Sam Ravnborg 2007-10-14 39 save-cflags := $(CFLAGS) 0c53c8e6e Sam Ravnborg 2007-10-14 40 2a6914703 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile db8c1a7b2 Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 0c53c8e6e Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile) 0c53c8e6e Sam Ravnborg 2007-10-14 @44 include $(kbuild-file) ^1da177e4 Linus Torvalds 2005-04-16 45 0c53c8e6e Sam Ravnborg 2007-10-14 46 # If the save-* variables changed error out 0c53c8e6e Sam Ravnborg 2007-10-14 47 ifeq ($(KBUILD_NOPEDANTIC),) 0c53c8e6e Sam Ravnborg 2007-10-14 48 ifneq ("$(save-cflags)","$(CFLAGS)") 49c57d254 Arnaud Lacombe 2011-08-15 49 $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use ccflags-y) 0c53c8e6e Sam Ravnborg 2007-10-14 50 endif 0c53c8e6e Sam Ravnborg 2007-10-14 51 endif 4a5838ad9 Borislav Petkov 2011-03-01 52 :: The code at line 44 was first introduced by commit :: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS :: TO: Sam Ravnborg:: CC: Sam Ravnborg --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
Re: [PATCH 6/9] selftests: move ptp tests from Documentation/ptp
Hi Shuah, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/Move-runnable-code-tests-from-Documentation-to-selftests/20160910-063538 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> scripts/Makefile.build:44: Documentation/ptp/Makefile: No such file or >> directory >> make[3]: *** No rule to make target 'Documentation/ptp/Makefile'. make[3]: Failed to remake makefile 'Documentation/ptp/Makefile'. vim +44 scripts/Makefile.build 3156fd052 Robert P. J. Day 2008-02-18 38 # For backward compatibility check that these variables do not change 0c53c8e6e Sam Ravnborg 2007-10-14 39 save-cflags := $(CFLAGS) 0c53c8e6e Sam Ravnborg 2007-10-14 40 2a6914703 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile db8c1a7b2 Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 0c53c8e6e Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile) 0c53c8e6e Sam Ravnborg 2007-10-14 @44 include $(kbuild-file) ^1da177e4 Linus Torvalds 2005-04-16 45 0c53c8e6e Sam Ravnborg 2007-10-14 46 # If the save-* variables changed error out 0c53c8e6e Sam Ravnborg 2007-10-14 47 ifeq ($(KBUILD_NOPEDANTIC),) :: The code at line 44 was first introduced by commit :: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS :: TO: Sam Ravnborg:: CC: Sam Ravnborg --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH 4/9] selftests: move prctl tests from Documentation/prctl
Hi Shuah, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/Move-runnable-code-tests-from-Documentation-to-selftests/20160910-063538 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> scripts/Makefile.build:44: Documentation/prctl/Makefile: No such file or >> directory make[3]: *** No rule to make target 'Documentation/prctl/Makefile'. make[3]: Failed to remake makefile 'Documentation/prctl/Makefile'. vim +44 scripts/Makefile.build 3156fd052 Robert P. J. Day 2008-02-18 38 # For backward compatibility check that these variables do not change 0c53c8e6e Sam Ravnborg 2007-10-14 39 save-cflags := $(CFLAGS) 0c53c8e6e Sam Ravnborg 2007-10-14 40 2a6914703 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile db8c1a7b2 Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 0c53c8e6e Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile) 0c53c8e6e Sam Ravnborg 2007-10-14 @44 include $(kbuild-file) ^1da177e4 Linus Torvalds 2005-04-16 45 0c53c8e6e Sam Ravnborg 2007-10-14 46 # If the save-* variables changed error out 0c53c8e6e Sam Ravnborg 2007-10-14 47 ifeq ($(KBUILD_NOPEDANTIC),) :: The code at line 44 was first introduced by commit :: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS :: TO: Sam Ravnborg:: CC: Sam Ravnborg --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH 1/9] selftests: move dnotify_test from Documentation/filesystems
Hi Shuah, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/Move-runnable-code-tests-from-Documentation-to-selftests/20160910-063538 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> scripts/Makefile.build:44: Documentation/filesystems/Makefile: No such file >> or directory >> make[3]: *** No rule to make target 'Documentation/filesystems/Makefile'. make[3]: Failed to remake makefile 'Documentation/filesystems/Makefile'. vim +44 scripts/Makefile.build f77bf0142 Sam Ravnborg 2007-10-15 28 ldflags-y := d72e5edbf Sam Ravnborg 2007-05-28 29 720097d89 Sam Ravnborg 2009-04-19 30 subdir-asflags-y := 720097d89 Sam Ravnborg 2009-04-19 31 subdir-ccflags-y := 720097d89 Sam Ravnborg 2009-04-19 32 3156fd052 Robert P. J. Day 2008-02-18 33 # Read auto.conf if it exists, otherwise ignore c955ccafc Roman Zippel 2006-06-08 34 -include include/config/auto.conf ^1da177e4 Linus Torvalds 2005-04-16 35 20a468b51 Sam Ravnborg 2006-01-22 36 include scripts/Kbuild.include 20a468b51 Sam Ravnborg 2006-01-22 37 3156fd052 Robert P. J. Day 2008-02-18 38 # For backward compatibility check that these variables do not change 0c53c8e6e Sam Ravnborg 2007-10-14 39 save-cflags := $(CFLAGS) 0c53c8e6e Sam Ravnborg 2007-10-14 40 2a6914703 Sam Ravnborg 2005-07-25 41 # The filename Kbuild has precedence over Makefile db8c1a7b2 Sam Ravnborg 2005-07-27 42 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 0c53c8e6e Sam Ravnborg 2007-10-14 43 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile) 0c53c8e6e Sam Ravnborg 2007-10-14 @44 include $(kbuild-file) ^1da177e4 Linus Torvalds 2005-04-16 45 0c53c8e6e Sam Ravnborg 2007-10-14 46 # If the save-* variables changed error out 0c53c8e6e Sam Ravnborg 2007-10-14 47 ifeq ($(KBUILD_NOPEDANTIC),) 0c53c8e6e Sam Ravnborg 2007-10-14 48 ifneq ("$(save-cflags)","$(CFLAGS)") 49c57d254 Arnaud Lacombe 2011-08-15 49 $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use ccflags-y) 0c53c8e6e Sam Ravnborg 2007-10-14 50 endif 0c53c8e6e Sam Ravnborg 2007-10-14 51 endif 4a5838ad9 Borislav Petkov 2011-03-01 52 :: The code at line 44 was first introduced by commit :: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS :: TO: Sam Ravnborg:: CC: Sam Ravnborg --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: [PATCH 4/9] selftests: move prctl tests from Documentation/prctl
Hi Shuah, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc5 next-20160909] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Shuah-Khan/Move-runnable-code-tests-from-Documentation-to-selftests/20160910-063538 config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): scripts/Makefile.clean:14: Documentation/prctl/Makefile: No such file or directory >> make[3]: *** No rule to make target 'Documentation/prctl/Makefile'. make[3]: Failed to remake makefile 'Documentation/prctl/Makefile'. make[2]: *** [Documentation/prctl] Error 2 scripts/Makefile.clean:14: Documentation/filesystems/Makefile: No such file or directory make[3]: *** No rule to make target 'Documentation/filesystems/Makefile'. make[3]: Failed to remake makefile 'Documentation/filesystems/Makefile'. make[2]: *** [Documentation/filesystems] Error 2 make[2]: Target '__clean' not remade because of errors. make[1]: *** [_clean_Documentation] Error 2 make[1]: Target 'distclean' not remade because of errors. make: *** [sub-make] Error 2 --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data