* [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
@ 2026-11-05 5:15 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-05 5:15 UTC (permalink / raw)
To: Leon Romanovsky; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-05 5:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 5:15 [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 kernel test robot
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.