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 77154C4167D for ; Mon, 30 Oct 2023 23:20:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 093436B0274; Mon, 30 Oct 2023 19:20:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 01C148D0002; Mon, 30 Oct 2023 19:20:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DFE936B0295; Mon, 30 Oct 2023 19:20:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id CA30C6B0274 for ; Mon, 30 Oct 2023 19:20:56 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A10291CAE2B for ; Mon, 30 Oct 2023 23:20:56 +0000 (UTC) X-FDA: 81403700112.03.3EEBEAB Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by imf19.hostedemail.com (Postfix) with ESMTP id 383751A0007 for ; Mon, 30 Oct 2023 23:20:54 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="W5+pE/pi"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698708054; a=rsa-sha256; cv=none; b=YSCjSWoN0BL/H9rhn2GKb4DmD2cWgoUYfaep6zPN1zyuAzbpkz+4qRI+u+bHi105XZCLrm dLpiMGOLtO9D8SjPMGcQZCWzujEyqsLq4TteoH/qHcjR0dS9px/yMW51p4LrbwLPE4g5xD xAW1i+tfrqjx/usLbZFrscEb7VsleIo= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="W5+pE/pi"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 192.55.52.115 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=1698708054; 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=3yFuleWNfcIaOHa7nXu/1Te2vEqio3TewUgi+GUnfv8=; b=NmmPYvJH0Aaw7rVu5Xlv4z1VkIDizvtascCoT/n9jcLmHPEsYULEdZj2nUk1bwF9xFSDfK gM4B4BFLoZIjRGqOknb6PwfaPGhkZxfTK44fh3CNUwhYLpUo+7ujVqSF78yMr+OIGXlUki B2lym6OjX57uXymZyHv9+6HBXixN9Lc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698708054; x=1730244054; h=date:from:to:cc:subject:message-id:mime-version; bh=yNrnpxPFsgIXiClmbT1btaCqS0UxM2o2UdqIv0rCIto=; b=W5+pE/piganNIobzyS0049JHJ4mwvEoRemU32XqZhngUunR8BlleuIlK KT7OraGPTSSLzC8e1kP42gBhT5z3Lx9alc8bjek0qfQsUCbK0CNfzTxFn GMJkMvuvPfyFNxdEW4l1ybJpVpzj+d83zPqfw+iArErImylhQcHqPlDfc KPVQ+usiTLCSb/9f5MNdfs+ZOp4WpxAT3yWTmgqCdLF4jWWoBGuOUnLXg oPO6dM2wLzmXcmFKSZcqwVf7qDg9gxDA6aVz1uMaPYumFM5ZKuyQZSE4E RD0+l23vdcJ+Pn1nSok7XSJC03LmtElAYPOcA5WOftziUxlFPtn18/JFY Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="387999078" X-IronPort-AV: E=Sophos;i="6.03,264,1694761200"; d="scan'208";a="387999078" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2023 16:20:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,264,1694761200"; d="scan'208";a="8113504" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 30 Oct 2023 16:20:50 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qxbYu-000DeN-0d; Mon, 30 Oct 2023 23:20:48 +0000 Date: Tue, 31 Oct 2023 07:20:09 +0800 From: kernel test robot To: Kent Overstreet Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: [linux-next:master 12614/16121] fs/bcachefs/fs-common.c:349:5: warning: stack frame size (1048) exceeds limit (1024) in 'bch2_rename_trans' Message-ID: <202310310710.DqPlsmsZ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 383751A0007 X-Stat-Signature: uqbetou7ep4ghr8ecq466po9n1d6j5hk X-HE-Tag: 1698708054-888804 X-HE-Meta: U2FsdGVkX1+BtIi6DdOpqYxw2Q5nTnXYVvXl3ny7B5mxh0u8gDBDvffMjV2v33fs6srZ653uJO+g48Rks34m3k9/5iBPuoLnLLikWDZjb5lyvPR7iJDo3VQIkYZFRkIGc5BntapK9NUp9sNmHmLa3gEJZWpOsxpkCm09RYTeHZdFucC13LnARfbTlCZcd0TqpAUb8qMYhHhZKds/WXoHbWZ+jE4p1WuINmkanbu5MnFh2PyPdcjfm50pW/pS4CUCx9iEJjR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rUYep8oeDkieb/yWi4owLpagQ== 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c503e3eec382ac708ee7adf874add37b77c5d312 commit: 1f2d9192502917a190ef9bbf7541960d129d30fe [12614/16121] bcachefs: iter->update_path config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20231031/202310310710.DqPlsmsZ-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310310710.DqPlsmsZ-lkp@intel.com/reproduce) 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/202310310710.DqPlsmsZ-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from fs/bcachefs/fs-common.c:3: In file included from fs/bcachefs/bcachefs.h:188: In file included from include/linux/bio.h:10: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from fs/bcachefs/fs-common.c:3: In file included from fs/bcachefs/bcachefs.h:188: In file included from include/linux/bio.h:10: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from fs/bcachefs/fs-common.c:3: In file included from fs/bcachefs/bcachefs.h:188: In file included from include/linux/bio.h:10: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:12: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:337: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ In file included from fs/bcachefs/fs-common.c:5: In file included from fs/bcachefs/btree_update.h:5: fs/bcachefs/btree_iter.h:192:8: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier] 192 | static inline int btree_trans_restart(struct btree_trans *trans) | ^ include/linux/compiler_types.h:215:16: note: expanded from macro 'inline' 215 | #define inline inline __gnu_inline __inline_maybe_unused notrace | ^ >> fs/bcachefs/fs-common.c:349:5: warning: stack frame size (1048) exceeds limit (1024) in 'bch2_rename_trans' [-Wframe-larger-than] 349 | int bch2_rename_trans(struct btree_trans *trans, | ^ 8 warnings generated. vim +/bch2_rename_trans +349 fs/bcachefs/fs-common.c 9638574229e3ae Kent Overstreet 2019-10-02 348 9638574229e3ae Kent Overstreet 2019-10-02 @349 int bch2_rename_trans(struct btree_trans *trans, :::::: The code at line 349 was first introduced by commit :::::: 9638574229e3ae0175a46a63431149746c777b3a bcachefs: Factor out fs-common.c :::::: TO: Kent Overstreet :::::: CC: Kent Overstreet -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki