lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112040504.mo85qmGT-lkp@intel.com>
Date:   Sat, 4 Dec 2021 05:35:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jason Gunthorpe <jgg@...dia.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jgunthorpe:iommufd 7/9] drivers/iommu/iommufd/selftest.c:204:1:
 warning: the frame size of 1052 bytes is larger than 1024 bytes

tree:   https://github.com/jgunthorpe/linux iommufd
head:   adaf58fcdccd96a03a9d6783e08303612fa3da85
commit: 947b2f74edc5dcad1f9532abd9bdd42a25a00490 [7/9] iommufd: Add a selftest
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20211204/202112040504.mo85qmGT-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/jgunthorpe/linux/commit/947b2f74edc5dcad1f9532abd9bdd42a25a00490
        git remote add jgunthorpe https://github.com/jgunthorpe/linux
        git fetch --no-tags jgunthorpe iommufd
        git checkout 947b2f74edc5dcad1f9532abd9bdd42a25a00490
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/iommu/iommufd/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/iommu/iommufd/selftest.c: In function 'iommufd_test_mock_domain.isra.0':
>> drivers/iommu/iommufd/selftest.c:204:1: warning: the frame size of 1052 bytes is larger than 1024 bytes [-Wframe-larger-than=]
     204 | }
         | ^


vim +204 drivers/iommu/iommufd/selftest.c

   181	
   182	/* Create an hw_pagetable with the mock domain so we can test the domain ops */
   183	static int iommufd_test_mock_domain(struct iommufd_ucmd *ucmd,
   184					    struct iommu_test_cmd *cmd)
   185	{
   186		struct bus_type mock_bus = {.iommu_ops = &domain_mock_ops};
   187		struct device mock_dev = {.bus = &mock_bus};
   188		struct iommufd_hw_pagetable *hwpt;
   189	
   190		hwpt = iommufd_hw_pagetable_from_id(ucmd->ictx, cmd->id, &mock_dev);
   191		if (IS_ERR(hwpt))
   192			return PTR_ERR(hwpt);
   193		if (WARN_ON(refcount_read(&hwpt->obj.users) != 1)) {
   194			iommufd_hw_pagetable_put(ucmd->ictx, hwpt);
   195			return -EINVAL;
   196		}
   197	
   198		/* Convert auto domain to user created */
   199		list_del_init(&hwpt->auto_domains_item);
   200	
   201		/* Leak on error */
   202		cmd->id = hwpt->obj.id;
   203		return iommufd_ucmd_respond(ucmd, sizeof(*cmd));
 > 204	}
   205	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ