[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202505150014.6SbTtVaA-lkp@intel.com>
Date: Thu, 15 May 2025 00:20:27 +0800
From: kernel test robot <lkp@...el.com>
To: Byungchul Park <byungchul@...com>, linux-kernel@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
kernel_team@...ynix.com, torvalds@...ux-foundation.org,
damien.lemoal@...nsource.wdc.com, linux-ide@...r.kernel.org,
adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org,
mingo@...hat.com, peterz@...radead.org, will@...nel.org,
tglx@...utronix.de, rostedt@...dmis.org, joel@...lfernandes.org,
sashal@...nel.org, daniel.vetter@...ll.ch, duyuyang@...il.com,
johannes.berg@...el.com, tj@...nel.org, tytso@....edu,
willy@...radead.org, david@...morbit.com, amir73il@...il.com,
gregkh@...uxfoundation.org, kernel-team@....com, linux-mm@...ck.org,
akpm@...ux-foundation.org, mhocko@...nel.org, minchan@...nel.org,
hannes@...xchg.org, vdavydov.dev@...il.com
Subject: Re: [PATCH v15 34/43] dept: make dept aware of
lockdep_set_lock_cmp_fn() annotation
Hi Byungchul,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3]
url: https://github.com/intel-lab-lkp/linux/commits/Byungchul-Park/llist-move-llist_-head-node-definition-to-types-h/20250513-181346
base: 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3
patch link: https://lore.kernel.org/r/20250513100730.12664-35-byungchul%40sk.com
patch subject: [PATCH v15 34/43] dept: make dept aware of lockdep_set_lock_cmp_fn() annotation
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250515/202505150014.6SbTtVaA-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250515/202505150014.6SbTtVaA-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505150014.6SbTtVaA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/microchip/vcap/vcap_api.c:3610:
>> drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c:1921:13: warning: stack frame size (2104) exceeds limit (2048) in 'vcap_api_next_lookup_advanced_test' [-Wframe-larger-than]
1921 | static void vcap_api_next_lookup_advanced_test(struct kunit *test)
| ^
1 warning generated.
vim +/vcap_api_next_lookup_advanced_test +1921 drivers/net/ethernet/microchip/vcap/vcap_api_kunit.c
c956b9b318d903 Steen Hegelund 2022-11-09 1920
c956b9b318d903 Steen Hegelund 2022-11-09 @1921 static void vcap_api_next_lookup_advanced_test(struct kunit *test)
c956b9b318d903 Steen Hegelund 2022-11-09 1922 {
129ff4de58ff0c Arnd Bergmann 2023-02-17 1923 struct vcap_admin admin[] = {
129ff4de58ff0c Arnd Bergmann 2023-02-17 1924 {
c956b9b318d903 Steen Hegelund 2022-11-09 1925 .vtype = VCAP_TYPE_IS0,
c956b9b318d903 Steen Hegelund 2022-11-09 1926 .vinst = 0,
c956b9b318d903 Steen Hegelund 2022-11-09 1927 .first_cid = 1000000,
c956b9b318d903 Steen Hegelund 2022-11-09 1928 .last_cid = 1199999,
c956b9b318d903 Steen Hegelund 2022-11-09 1929 .lookups = 6,
c956b9b318d903 Steen Hegelund 2022-11-09 1930 .lookups_per_instance = 2,
129ff4de58ff0c Arnd Bergmann 2023-02-17 1931 }, {
c956b9b318d903 Steen Hegelund 2022-11-09 1932 .vtype = VCAP_TYPE_IS0,
c956b9b318d903 Steen Hegelund 2022-11-09 1933 .vinst = 1,
c956b9b318d903 Steen Hegelund 2022-11-09 1934 .first_cid = 1200000,
c956b9b318d903 Steen Hegelund 2022-11-09 1935 .last_cid = 1399999,
c956b9b318d903 Steen Hegelund 2022-11-09 1936 .lookups = 6,
c956b9b318d903 Steen Hegelund 2022-11-09 1937 .lookups_per_instance = 2,
129ff4de58ff0c Arnd Bergmann 2023-02-17 1938 }, {
c956b9b318d903 Steen Hegelund 2022-11-09 1939 .vtype = VCAP_TYPE_IS0,
c956b9b318d903 Steen Hegelund 2022-11-09 1940 .vinst = 2,
c956b9b318d903 Steen Hegelund 2022-11-09 1941 .first_cid = 1400000,
c956b9b318d903 Steen Hegelund 2022-11-09 1942 .last_cid = 1599999,
c956b9b318d903 Steen Hegelund 2022-11-09 1943 .lookups = 6,
c956b9b318d903 Steen Hegelund 2022-11-09 1944 .lookups_per_instance = 2,
129ff4de58ff0c Arnd Bergmann 2023-02-17 1945 }, {
c956b9b318d903 Steen Hegelund 2022-11-09 1946 .vtype = VCAP_TYPE_IS2,
c956b9b318d903 Steen Hegelund 2022-11-09 1947 .vinst = 0,
c956b9b318d903 Steen Hegelund 2022-11-09 1948 .first_cid = 8000000,
c956b9b318d903 Steen Hegelund 2022-11-09 1949 .last_cid = 8199999,
c956b9b318d903 Steen Hegelund 2022-11-09 1950 .lookups = 4,
c956b9b318d903 Steen Hegelund 2022-11-09 1951 .lookups_per_instance = 2,
129ff4de58ff0c Arnd Bergmann 2023-02-17 1952 }, {
c956b9b318d903 Steen Hegelund 2022-11-09 1953 .vtype = VCAP_TYPE_IS2,
c956b9b318d903 Steen Hegelund 2022-11-09 1954 .vinst = 1,
c956b9b318d903 Steen Hegelund 2022-11-09 1955 .first_cid = 8200000,
c956b9b318d903 Steen Hegelund 2022-11-09 1956 .last_cid = 8399999,
c956b9b318d903 Steen Hegelund 2022-11-09 1957 .lookups = 4,
c956b9b318d903 Steen Hegelund 2022-11-09 1958 .lookups_per_instance = 2,
129ff4de58ff0c Arnd Bergmann 2023-02-17 1959 }
c956b9b318d903 Steen Hegelund 2022-11-09 1960 };
c956b9b318d903 Steen Hegelund 2022-11-09 1961 bool ret;
c956b9b318d903 Steen Hegelund 2022-11-09 1962
129ff4de58ff0c Arnd Bergmann 2023-02-17 1963 vcap_test_api_init(&admin[0]);
129ff4de58ff0c Arnd Bergmann 2023-02-17 1964 list_add_tail(&admin[1].list, &test_vctrl.list);
129ff4de58ff0c Arnd Bergmann 2023-02-17 1965 list_add_tail(&admin[2].list, &test_vctrl.list);
129ff4de58ff0c Arnd Bergmann 2023-02-17 1966 list_add_tail(&admin[3].list, &test_vctrl.list);
129ff4de58ff0c Arnd Bergmann 2023-02-17 1967 list_add_tail(&admin[4].list, &test_vctrl.list);
c956b9b318d903 Steen Hegelund 2022-11-09 1968
c956b9b318d903 Steen Hegelund 2022-11-09 1969 ret = vcap_is_next_lookup(&test_vctrl, 1000000, 1001000);
c956b9b318d903 Steen Hegelund 2022-11-09 1970 KUNIT_EXPECT_EQ(test, false, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1971 ret = vcap_is_next_lookup(&test_vctrl, 1000000, 1101000);
c956b9b318d903 Steen Hegelund 2022-11-09 1972 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1973
c956b9b318d903 Steen Hegelund 2022-11-09 1974 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 1201000);
c956b9b318d903 Steen Hegelund 2022-11-09 1975 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1976 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 1301000);
784c3067d094dd Steen Hegelund 2023-01-14 1977 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1978 ret = vcap_is_next_lookup(&test_vctrl, 1100000, 8101000);
784c3067d094dd Steen Hegelund 2023-01-14 1979 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1980 ret = vcap_is_next_lookup(&test_vctrl, 1300000, 1401000);
c956b9b318d903 Steen Hegelund 2022-11-09 1981 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1982 ret = vcap_is_next_lookup(&test_vctrl, 1400000, 1501000);
c956b9b318d903 Steen Hegelund 2022-11-09 1983 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1984 ret = vcap_is_next_lookup(&test_vctrl, 1500000, 8001000);
c956b9b318d903 Steen Hegelund 2022-11-09 1985 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1986
c956b9b318d903 Steen Hegelund 2022-11-09 1987 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8001000);
c956b9b318d903 Steen Hegelund 2022-11-09 1988 KUNIT_EXPECT_EQ(test, false, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1989 ret = vcap_is_next_lookup(&test_vctrl, 8000000, 8101000);
c956b9b318d903 Steen Hegelund 2022-11-09 1990 KUNIT_EXPECT_EQ(test, true, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1991
c956b9b318d903 Steen Hegelund 2022-11-09 1992 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8301000);
c956b9b318d903 Steen Hegelund 2022-11-09 1993 KUNIT_EXPECT_EQ(test, false, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1994 ret = vcap_is_next_lookup(&test_vctrl, 8300000, 8401000);
784c3067d094dd Steen Hegelund 2023-01-14 1995 KUNIT_EXPECT_EQ(test, false, ret);
c956b9b318d903 Steen Hegelund 2022-11-09 1996 }
c956b9b318d903 Steen Hegelund 2022-11-09 1997
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists