Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] iio: test: fixed-point: new kunit test
       [not found] <20251013-iio-tests-fixed-point-new-kunit-v1-1-7b52021925e6@baylibre.com>
@ 2025-10-15  5:46 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-15  5:46 UTC (permalink / raw)
  To: David Lechner, Jonathan Cameron, Nuno Sá, Andy Shevchenko
  Cc: llvm, oe-kbuild-all, linux-kernel, linux-iio, David Lechner

Hi David,

kernel test robot noticed the following build errors:

[auto build test ERROR on a9682f53c2d1678b93a123cdaa260e955430bc5c]

url:    https://github.com/intel-lab-lkp/linux/commits/David-Lechner/iio-test-fixed-point-new-kunit-test/20251014-053648
base:   a9682f53c2d1678b93a123cdaa260e955430bc5c
patch link:    https://lore.kernel.org/r/20251013-iio-tests-fixed-point-new-kunit-v1-1-7b52021925e6%40baylibre.com
patch subject: [PATCH] iio: test: fixed-point: new kunit test
config: i386-buildonly-randconfig-004-20251015 (https://download.01.org/0day-ci/archive/20251015/202510151318.gmNqcrgt-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251015/202510151318.gmNqcrgt-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/202510151318.gmNqcrgt-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/iio/test/iio-test-fixed-point.c:52:16: error: initializing 'struct kunit_case *' with an expression of type 'const struct kunit_case[2]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
      52 |         .test_cases = iio_fixed_point_test_cases,
         |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +52 drivers/iio/test/iio-test-fixed-point.c

    49	
    50	static struct kunit_suite iio_fixed_point_test_suite = {
    51		.name = "iio-fixed-point",
  > 52		.test_cases = iio_fixed_point_test_cases,
    53	};
    54	kunit_test_suite(iio_fixed_point_test_suite);
    55	

-- 
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:[~2025-10-15  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251013-iio-tests-fixed-point-new-kunit-v1-1-7b52021925e6@baylibre.com>
2025-10-15  5:46 ` [PATCH] iio: test: fixed-point: new kunit test kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox