All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Leon Romanovsky <leonro@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [leon-rdma:device-trust-core-v1 16/18] drivers/base/test/device-trust-test.c:1222:1: warning: the frame size of 2160 bytes is larger than 2048 bytes
Date: Thu, 05 Nov 2026 06:15:34 +0100	[thread overview]
Message-ID: <202611050656.odYu5bMt-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git device-trust-core-v1
head:   de870c841cdc66fcef8c15662d737b49b2356904
commit: 16c0a5ab002de9ece57552721116428855565e14 [16/18] driver core: Cover trust authorization and binding with KUnit
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20261105/202611050656.odYu5bMt-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/202611050656.odYu5bMt-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611050656.odYu5bMt-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/base/test/device-trust-test.c: In function 'device_trust_driver_rejected_write_test':
>> drivers/base/test/device-trust-test.c:1222:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    1222 | }
         | ^
   drivers/base/test/device-trust-test.c: In function 'device_trust_driver_user_precedence_test':
   drivers/base/test/device-trust-test.c:1200:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    1200 | }
         | ^
   drivers/base/test/device-trust-test.c: In function 'device_trust_driver_matching_test':
   drivers/base/test/device-trust-test.c:1178:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    1178 | }
         | ^
   drivers/base/test/device-trust-test.c: In function 'device_trust_driver_precedence_test':
   drivers/base/test/device-trust-test.c:1150:1: warning: the frame size of 2208 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    1150 | }
         | ^


vim +1222 drivers/base/test/device-trust-test.c

  1201	
  1202	static void device_trust_driver_rejected_write_test(struct kunit *test)
  1203	{
  1204		const struct bus_type bus = { .name = "pci" };
  1205		const struct device_driver drv = { .bus = &bus, .name = "test" };
  1206		struct device_private private = {};
  1207		struct device dev = {
  1208			.p = &private,
  1209			.trust_policy = DEVICE_TRUST_POLICY_DISABLED,
  1210		};
  1211	
  1212		mutex_init(&dev.mutex);
  1213		device_trust_init_state(&dev);
  1214		KUNIT_ASSERT_EQ(test, device_trust_set_policy(&dev, DEVICE_TRUST_POLICY_DEFAULT),
  1215				-EBUSY);
  1216		KUNIT_ASSERT_EQ(test, device_trust_set_policy(&dev, DEVICE_TRUST_POLICY_FULL + 1),
  1217				-EINVAL);
  1218		device_lock(&dev);
  1219		device_trust_apply_driver_policy(&dev, &drv, "pci:test=full");
  1220		device_unlock(&dev);
  1221		KUNIT_EXPECT_EQ(test, dev.trust_policy, DEVICE_TRUST_POLICY_FULL);
> 1222	}
  1223	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-11-05  5:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202611050656.odYu5bMt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=leonro@nvidia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.