tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5e63226c72287bc6c6724d4fc7e157af0e3d7908 commit: 2a99524459ce06d4bc2b82012e53bb3d45a7c15d [10616/10945] dmaengine: ptdma: Initial driver for the AMD PTDMA config: um-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2a99524459ce06d4bc2b82012e53bb3d45a7c15d git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 2a99524459ce06d4bc2b82012e53bb3d45a7c15d # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=um SHELL=/bin/bash drivers/dma/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from drivers/dma/ptdma/ptdma-dev.c:20: >> drivers/dma/ptdma/ptdma.h:31: warning: "PT_OFFSET" redefined 31 | #define PT_OFFSET 0x0 | In file included from arch/um/include/asm/thread_info.h:17, from include/linux/thread_info.h:60, from include/asm-generic/current.h:5, from ./arch/um/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/dma-mapping.h:7, from drivers/dma/ptdma/ptdma-dev.c:13: arch/x86/um/shared/sysdep/ptrace_user.h:4: note: this is the location of the previous definition 4 | #define PT_OFFSET(r) ((r) * sizeof(long)) | drivers/dma/ptdma/ptdma-dev.c:52:13: warning: 'pt_log_error' defined but not used [-Wunused-function] 52 | static void pt_log_error(struct pt_device *d, int e) | ^~~~~~~~~~~~ -- In file included from drivers/dma/ptdma/ptdma-pci.c:24: >> drivers/dma/ptdma/ptdma.h:31: warning: "PT_OFFSET" redefined 31 | #define PT_OFFSET 0x0 | In file included from arch/um/include/asm/thread_info.h:17, from include/linux/thread_info.h:60, from include/asm-generic/current.h:5, from ./arch/um/include/generated/asm/current.h:1, from include/linux/sched.h:12, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from drivers/dma/ptdma/ptdma-pci.c:13: arch/x86/um/shared/sysdep/ptrace_user.h:4: note: this is the location of the previous definition 4 | #define PT_OFFSET(r) ((r) * sizeof(long)) | vim +/PT_OFFSET +31 drivers/dma/ptdma/ptdma.h 29 30 #define PT_ENGINE_PASSTHRU 5 > 31 #define PT_OFFSET 0x0 32 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip