Skip to contentSkip to conversation

Re:

DISCUSSION kernel test robot 1 participant 1 message Sep 25

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Frank,

kernel test robot noticed the following build warnings:

url: https://github.com/intel-lab-lkp/linux/commits/Frank-van-de-Pol/ALSA-usb-Add-support-for-Reloop-Jockey-3-DJ-controllers/20260924-221914
base:
patch link: https://lore.kernel.org/r/202609260711.YnOvPZGc-lkp%40intel.com
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260926/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260926/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

sound/usb/jockey3/ploytec_codec_kunit.c: In function 'ploytec_test_encode_batch_equals_single':

>> sound/usb/jockey3/ploytec_codec_kunit.c:520:1: warning: the frame size of 1440 bytes is larger than 1280 bytes [-Wframe-larger-than=]
     520 | }
         | ^

vim +520 sound/usb/jockey3/ploytec_codec_kunit.c

493
494 static void ploytec_test_encode_batch_equals_single(struct kunit *test)
495 {
496 u8 src[PLOYTEC_TEST_MAX_ENCODE_FRAMES * PLOYTEC_PLAYBACK_PCM_FRAME_SIZE];
497 u8 batched[PLOYTEC_TEST_MAX_ENCODE_FRAMES * PLOYTEC_PLAYBACK_FRAME_SIZE];
498 u8 single[PLOYTEC_TEST_MAX_ENCODE_FRAMES * PLOYTEC_PLAYBACK_FRAME_SIZE];
499 struct ploytec_test_rng rng;
500
501 ploytec_rng_init(&rng, 0xD1CE0FF1CE0FF1CEULL);
502 ploytec_rng_fill(&rng, src, sizeof(src));
503
504 for (int n = 1; n <= PLOYTEC_TEST_MAX_ENCODE_FRAMES; n++) {
505 memset(batched, 0, sizeof(batched));
506 memset(single, 0, sizeof(single));
507
508 ploytec_encode_batch(batched, src, n);
509
510 for (int f = 0; f < n; f++)
511 ploytec_encode_batch(single + f * PLOYTEC_PLAYBACK_FRAME_SIZE,
512 src + f * PLOYTEC_PLAYBACK_PCM_FRAME_SIZE,
513 1);
514
515 KUNIT_EXPECT_MEMEQ_MSG(test, batched, single,

   516					       n * PLOYTEC_PLAYBACK_FRAME_SIZE,
   517					       "batch of %d differs from %d single-frame calls",
   518					       n, n);
   519		}
 > 520	}

521

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