From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C18EEB64D7 for ; Tue, 13 Jun 2023 19:32:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 901908E0003; Tue, 13 Jun 2023 15:32:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8B0FF8E0002; Tue, 13 Jun 2023 15:32:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 778B28E0003; Tue, 13 Jun 2023 15:32:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 684E08E0002 for ; Tue, 13 Jun 2023 15:32:25 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 29FED804DC for ; Tue, 13 Jun 2023 19:32:25 +0000 (UTC) X-FDA: 80898721050.13.E94E19D Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf08.hostedemail.com (Postfix) with ESMTP id D4BBE160020 for ; Tue, 13 Jun 2023 19:32:21 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AQ2qubFh; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1686684742; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=WbOKAvdBFet1NjIu17AVnEJuLq35PSXI5Zv7R6X9vEg=; b=OCeMpGmNXtCSzDu2GaqoN3PTZqFfjgKt3hpyRWiQEmI5Hs8715ovBLbZR7fLuUyY8lOLe5 EpJNnVP/QwXN8H1OtGweyfsy+JP/qdaASkRspgSNd3vS9V8Qw65b1duS2R9TrsQLegaQQW neHUlvTzL2urcfIyID/Ezz0f88MxcYA= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=AQ2qubFh; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf08.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1686684742; a=rsa-sha256; cv=none; b=s7SYXaf9fITr59SbH4fikZa6C/IoZ4cQKXzRxpCUjQj6yOZ0iA6YU0mU1/+2eh+ivwws6r Rgn0240MdagJ5cdj5Qk+bCZnRZavqGUboscqTo/3J3xGX/yio9Po6IsYmA6zgWI8z277qJ 6zRmDp+ZLzhpVg3KAK0uFxqp4XWq+D4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686684741; x=1718220741; h=date:from:to:cc:subject:message-id:mime-version; bh=+jmK1dQ6YD8/nN22ubIrCkP5SHN6JO5IuO0Ktv206FQ=; b=AQ2qubFh05ffla0Oj20IdOyO/PgjcQ7UfdBqqZJVWTRsNM52NRVBsymy W1dOJLzPhGID/btuhvsQsidOnkgiWViRIMPFma+KWOCuNssFUhXSpj+Vt wXfhen85AOFjxQYzRmZWeYqWBdXj5V30pYfuth3q9N2g3clcIrfoEsDXc KFODtGF4nIBxapzOksb7cNM5W31RqyBcRh4H5nvSyFvYlQRBZ7WBvwKxF 655l7q2wCXp/DVWp5FtE2yvDotOWqU0a02pyKibXzGKhs2u2TKDBwo/Y6 GsWQKxbNt2/m0gPk/MJvCQuTPmMdYSTIZ+CVsgxcHH/10+8aXOkbq/H8h A==; X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="348092335" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="348092335" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2023 12:32:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10740"; a="689133841" X-IronPort-AV: E=Sophos;i="6.00,240,1681196400"; d="scan'208";a="689133841" Received: from lkp-server01.sh.intel.com (HELO 211f47bdb1cb) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 13 Jun 2023 12:32:18 -0700 Received: from kbuild by 211f47bdb1cb with local (Exim 4.96) (envelope-from ) id 1q99kX-0001ho-2S; Tue, 13 Jun 2023 19:32:17 +0000 Date: Wed, 14 Jun 2023 03:31:16 +0800 From: kernel test robot To: Catalin Marinas Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 9057/9385] arch/microblaze/include/asm/page.h:34: warning: "ARCH_DMA_MINALIGN" redefined Message-ID: <202306140347.S9nJS3Al-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: D4BBE160020 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: b8k9iimonhshyys6kxu34i8rx7eqohuq X-HE-Tag: 1686684741-900319 X-HE-Meta: U2FsdGVkX1/BCsziJrOXNrQxQAxLtBKadA08YQZ+bRLwETnpLvpaOCKsU+rEgJkXfxrENctu/WGwT/XJPB7M14cmjop1P4Saq5uTJcVCsL1qUbmV1m/7p0S+/tWj06wUv874Fn68MOwjjy2vEHBnBKt/mIm5ZxR7Nexp0jZrOdJcYq5erymwwFAlrfi3NDU6c06b9Uo/uGrx4Mcm6GF4sbbz03jhPQAlqTAyS8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+R2mFIAXFIf6h8+uIboIZNmlw36h/DgS6iN9xSr130FsiEgGYp/v7YNVHBHFTithOuEWx0mPqNy8fRmxAB9vaFW3Y/h4lJq2fu6ol0cyCdIhYuEQ3PzWGodbym3ERQYJGcdqRwDI1+O5iinQgcSjSEQkmgmwms12azmrBaZe65RMMk+IJW X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1f6ce8392d6ff486af5ca96df9ded5882c4b6977 commit: cc7335787e73348bb173dda3c17ecc7adc78d8d5 [9057/9385] mm/slab: decouple ARCH_KMALLOC_MINALIGN from ARCH_DMA_MINALIGN config: microblaze-buildonly-randconfig-r002-20230612 (https://download.01.org/0day-ci/archive/20230614/202306140347.S9nJS3Al-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cc7335787e73348bb173dda3c17ecc7adc78d8d5 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 cc7335787e73348bb173dda3c17ecc7adc78d8d5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=microblaze olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=microblaze prepare If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306140347.S9nJS3Al-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/linux/shm.h:6, from include/linux/sched.h:16, from arch/microblaze/kernel/asm-offsets.c:13: >> arch/microblaze/include/asm/page.h:34: warning: "ARCH_DMA_MINALIGN" redefined 34 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/debug_locks.h:6, from include/linux/mutex.h:21, from include/linux/rhashtable-types.h:14, from include/linux/ipc.h:7, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/sched.h:15: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | -- In file included from include/linux/shm.h:6, from include/linux/sched.h:16, from include/linux/ptrace.h:6, from include/uapi/asm-generic/bpf_perf_event.h:4, from ./arch/microblaze/include/generated/uapi/asm/bpf_perf_event.h:1, from include/uapi/linux/bpf_perf_event.h:11, from kernel/bpf/btf.c:6: >> arch/microblaze/include/asm/page.h:34: warning: "ARCH_DMA_MINALIGN" redefined 34 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/debug_locks.h:6, from include/linux/mutex.h:21, from include/linux/rhashtable-types.h:14, from include/linux/ipc.h:7, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/sched.h:15: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | kernel/bpf/btf.c: In function 'btf_seq_show': kernel/bpf/btf.c:7071:29: warning: function 'btf_seq_show' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 7071 | seq_vprintf((struct seq_file *)show->target, fmt, args); | ^~~~~~~~ kernel/bpf/btf.c: In function 'btf_snprintf_show': kernel/bpf/btf.c:7108:9: warning: function 'btf_snprintf_show' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 7108 | len = vsnprintf(show->target, ssnprintf->len_left, fmt, args); | ^~~ -- In file included from include/linux/mm_types_task.h:16, from include/linux/mm_types.h:5, from include/linux/bpf.h:16, from include/linux/filter.h:9, from kernel/bpf/core.c:21: >> arch/microblaze/include/asm/page.h:34: warning: "ARCH_DMA_MINALIGN" redefined 34 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/time.h:5, from include/linux/ktime.h:24, from include/linux/timer.h:6, from include/linux/workqueue.h:9, from include/linux/bpf.h:10: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | kernel/bpf/core.c:1638:12: warning: no previous prototype for 'bpf_probe_read_kernel' [-Wmissing-prototypes] 1638 | u64 __weak bpf_probe_read_kernel(void *dst, u32 size, const void *unsafe_ptr) | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/shm.h:6, from include/linux/sched.h:16, from arch/microblaze/kernel/asm-offsets.c:13: >> arch/microblaze/include/asm/page.h:34: warning: "ARCH_DMA_MINALIGN" redefined 34 | #define ARCH_DMA_MINALIGN L1_CACHE_BYTES | In file included from include/linux/debug_locks.h:6, from include/linux/mutex.h:21, from include/linux/rhashtable-types.h:14, from include/linux/ipc.h:7, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/sched.h:15: include/linux/cache.h:104: note: this is the location of the previous definition 104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long) | vim +/ARCH_DMA_MINALIGN +34 arch/microblaze/include/asm/page.h 4b87d7a4f91d31 Michal Simek 2009-03-27 32 de925d9d3b6439 Michal Simek 2010-04-26 33 /* MS be sure that SLAB allocates aligned objects */ a6eb9fe105d5de FUJITA Tomonori 2010-08-10 @34 #define ARCH_DMA_MINALIGN L1_CACHE_BYTES de925d9d3b6439 Michal Simek 2010-04-26 35 :::::: The code at line 34 was first introduced by commit :::::: a6eb9fe105d5de0053b261148cee56c94b4720ca dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN :::::: TO: FUJITA Tomonori :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki