Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp357822rdb; Tue, 23 Jan 2024 01:37:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvGwjWOLFxeuydV8tZBj7HDQGs9mJGcGUwBkhijVxtv766fU5wDAS9PHu25zwGpYgBFdff X-Received: by 2002:a05:6808:18a1:b0:3bd:c9aa:adae with SMTP id bi33-20020a05680818a100b003bdc9aaadaemr124508oib.13.1706002659620; Tue, 23 Jan 2024 01:37:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706002659; cv=pass; d=google.com; s=arc-20160816; b=HwViKQmBArwFdfvfYc5i1PjYSAJjtbDuBkENT8zt7Ar04MTh4vP8JT7abJ0uKT2Exj usC5fftJJdc5TX535LlCTzuLSL2xPC0ss6LgBJ07scufBkJCWdZokaaKd1qz8DUdVFyM KVz5kWFBIZ9cHpPi1DhTdZadq16mZQ46Fcf/41h++Aay94SriYyr5KXSmEueqSG9kSIX 9QWsGl4EKCXtZaAIVr4xP69bDJ9hRiJdJF677cJGbgy94F8XNVs+RF3Y73uI05o+5K50 2zO2SmZe3mazsI3OEpz61vZPP/8AxjW/eFdpax49TML2b2tjpo3Jf/yM6KLyzhk1yK2T gxAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=sxY/f5sbrC41F3MFWIIEoJm7MouLZliY7tUPi8IGbPk=; fh=KTpNrIKYqHhFbN6RV5taWDqAaoudnvIt29efU8KIqE8=; b=A7B7E3QDjE/bt0Cvo7VZcXEBBkrouN6nRSPaQYriQ0LUGWWyqjSH2TueERLV0dPTwV 4Nhd3fTt1X90XLQZhUQQCrcF9oQyWHkmd/OEXgXqFDazYlv2/s9p2RWKM8+0xfLQcvFn gZ01c/x6mWss175q6XjvgKfNA7cXUgL54j5vsWwm0TL3lwqFWMMZFQ2+5aur29gqr8dN 023d5hCp3w3e0TTktYluZGgLUn0ct128LfOFjARSIu3kGrCNGxNCWPhVZAeV7qghqoqV D9vdoHb6h2U4u2moe1CCGAiOqdQEMcCSsRv7L3rU+lvvQ37R/ulr6AY59WjVY+oPREUC m+kg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WJ2Mco8+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-35009-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l3-20020a05620a210300b0078392cd7e4esi7053527qkl.586.2024.01.23.01.37.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 01:37:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35009-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WJ2Mco8+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-35009-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FDEE1C21588 for ; Tue, 23 Jan 2024 09:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDD0059B66; Tue, 23 Jan 2024 09:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WJ2Mco8+" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2193159B60 for ; Tue, 23 Jan 2024 09:37:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706002650; cv=none; b=AP19vxZmnwsUnPfGxrNhv1h62wDWcjnZ4z/SXwNv28FVOxCuDM8isqHDZVSE3M2PQXLsNJLqCbuJ23RrvImRLX5BjJhfBkdZtsfflYt1v8gO28TbuKujG+rMTbZsRsPrtXCb818iD1BtGkl7CCqQi67B9rRkgNfIDkKgKTsniAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706002650; c=relaxed/simple; bh=iRTPa9ekwgK9ZKeDBEa/aiPsJbuxqT8J9aScWpKdvpw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=K1oRU1lQqIXOOKh11Rhbi7HO/RDkfsw/GZjYS1adqrWnf2j5zd7qwZrb7RGIMzsEzLrZIbG7BKI8C5DTjDolPa6S8tym2bkw8hViMhSHbwvgqUuNhSfl0g+U1T/FXmSdI1qb5VamuI7zZQ9JpMLKqVByXYRJvivtApktbi3WBC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WJ2Mco8+; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706002649; x=1737538649; h=date:from:to:cc:subject:message-id:mime-version; bh=iRTPa9ekwgK9ZKeDBEa/aiPsJbuxqT8J9aScWpKdvpw=; b=WJ2Mco8+HnPJeie8YJXxos43o1RrcbmUwZi5litdeSJP8+11Fhe0LyHo fS3bwWz3MrAxRPzrL7jdrV3+eSHUFVKBSJHVTa2zJpBVho3lnN5Ig1lpU SGsGtaCaiNQNP74Xavo7DKdQQqJrlvkRg7IiyhdlfGJ+tjo3OUF91hQNb YOQP77itXWvDvc+MyUqUzTpBnw2YYM9asos1qe3SYtzzHAdYgmN5Qu24J iu97pl1vK2sGxhAuu+py2hD43IWIYiumyXSXfRa1uHAtZVOUbglVYGEAG SsxfBtK5nsJbAv2ioY5u4wtsJa0wyeBwEXfENmy8xg0TlBrfZWAjUvwOy A==; X-IronPort-AV: E=McAfee;i="6600,9927,10961"; a="361345" X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="361345" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 01:37:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,214,1701158400"; d="scan'208";a="27959994" Received: from lkp-server01.sh.intel.com (HELO 961aaaa5b03c) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 23 Jan 2024 01:37:09 -0800 Received: from kbuild by 961aaaa5b03c with local (Exim 4.96) (envelope-from ) id 1rSDDP-0007Jn-0S; Tue, 23 Jan 2024 09:37:07 +0000 Date: Tue, 23 Jan 2024 17:36:25 +0800 From: kernel test robot To: Christian Brauner Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: fs/namespace.c:5026:1: warning: the frame size of 1040 bytes is larger than 1024 bytes Message-ID: <202401231743.amoJ86dc-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7ed2632ec7d72e926b9e8bcc9ad1bb0cd37274bf commit: 35e27a5744131996061e6e323f1bcb4c827ae867 fs: keep struct mnt_id_req extensible date: 6 weeks ago config: x86_64-dcg_x86_64_defconfig-func (https://download.01.org/0day-ci/archive/20240123/202401231743.amoJ86dc-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240123/202401231743.amoJ86dc-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/202401231743.amoJ86dc-lkp@intel.com/ All warnings (new ones prefixed by >>): fs/namespace.c: In function '__do_sys_statmount': >> fs/namespace.c:5026:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] 5026 | } | ^ vim +5026 fs/namespace.c 35e27a57441319 Christian Brauner 2023-11-29 4982 46eae99ef73302 Miklos Szeredi 2023-10-25 4983 SYSCALL_DEFINE4(statmount, const struct mnt_id_req __user *, req, 46eae99ef73302 Miklos Szeredi 2023-10-25 4984 struct statmount __user *, buf, size_t, bufsize, 46eae99ef73302 Miklos Szeredi 2023-10-25 4985 unsigned int, flags) 46eae99ef73302 Miklos Szeredi 2023-10-25 4986 { 46eae99ef73302 Miklos Szeredi 2023-10-25 4987 struct vfsmount *mnt; 46eae99ef73302 Miklos Szeredi 2023-10-25 4988 struct mnt_id_req kreq; 68385d77c05b40 Christian Brauner 2023-11-19 4989 struct kstatmount ks; 68385d77c05b40 Christian Brauner 2023-11-19 4990 /* We currently support retrieval of 3 strings. */ 68385d77c05b40 Christian Brauner 2023-11-19 4991 size_t seq_size = 3 * PATH_MAX; 46eae99ef73302 Miklos Szeredi 2023-10-25 4992 int ret; 46eae99ef73302 Miklos Szeredi 2023-10-25 4993 46eae99ef73302 Miklos Szeredi 2023-10-25 4994 if (flags) 46eae99ef73302 Miklos Szeredi 2023-10-25 4995 return -EINVAL; 46eae99ef73302 Miklos Szeredi 2023-10-25 4996 35e27a57441319 Christian Brauner 2023-11-29 4997 ret = copy_mnt_id_req(req, &kreq); 35e27a57441319 Christian Brauner 2023-11-29 4998 if (ret) 35e27a57441319 Christian Brauner 2023-11-29 4999 return ret; 46eae99ef73302 Miklos Szeredi 2023-10-25 5000 68385d77c05b40 Christian Brauner 2023-11-19 5001 retry: 68385d77c05b40 Christian Brauner 2023-11-19 5002 ret = prepare_kstatmount(&ks, &kreq, buf, bufsize, seq_size); 68385d77c05b40 Christian Brauner 2023-11-19 5003 if (ret) 68385d77c05b40 Christian Brauner 2023-11-19 5004 return ret; 68385d77c05b40 Christian Brauner 2023-11-19 5005 46eae99ef73302 Miklos Szeredi 2023-10-25 5006 down_read(&namespace_sem); 46eae99ef73302 Miklos Szeredi 2023-10-25 5007 mnt = lookup_mnt_in_ns(kreq.mnt_id, current->nsproxy->mnt_ns); 68385d77c05b40 Christian Brauner 2023-11-19 5008 if (!mnt) { 68385d77c05b40 Christian Brauner 2023-11-19 5009 up_read(&namespace_sem); 68385d77c05b40 Christian Brauner 2023-11-19 5010 kvfree(ks.seq.buf); 68385d77c05b40 Christian Brauner 2023-11-19 5011 return -ENOENT; 46eae99ef73302 Miklos Szeredi 2023-10-25 5012 } 68385d77c05b40 Christian Brauner 2023-11-19 5013 68385d77c05b40 Christian Brauner 2023-11-19 5014 ks.mnt = mnt; 68385d77c05b40 Christian Brauner 2023-11-19 5015 get_fs_root(current->fs, &ks.root); 68385d77c05b40 Christian Brauner 2023-11-19 5016 ret = do_statmount(&ks); 68385d77c05b40 Christian Brauner 2023-11-19 5017 path_put(&ks.root); 46eae99ef73302 Miklos Szeredi 2023-10-25 5018 up_read(&namespace_sem); 46eae99ef73302 Miklos Szeredi 2023-10-25 5019 68385d77c05b40 Christian Brauner 2023-11-19 5020 if (!ret) 68385d77c05b40 Christian Brauner 2023-11-19 5021 ret = copy_statmount_to_user(&ks); 68385d77c05b40 Christian Brauner 2023-11-19 5022 kvfree(ks.seq.buf); 68385d77c05b40 Christian Brauner 2023-11-19 5023 if (retry_statmount(ret, &seq_size)) 68385d77c05b40 Christian Brauner 2023-11-19 5024 goto retry; 46eae99ef73302 Miklos Szeredi 2023-10-25 5025 return ret; 46eae99ef73302 Miklos Szeredi 2023-10-25 @5026 } 46eae99ef73302 Miklos Szeredi 2023-10-25 5027 :::::: The code at line 5026 was first introduced by commit :::::: 46eae99ef73302f9fb3dddcd67c374b3dffe8fd6 add statmount(2) syscall :::::: TO: Miklos Szeredi :::::: CC: Christian Brauner -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki