From: kernel test robot <lkp@intel.com>
To: Felix Maurer <fmaurer@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC net 5/6] hsr: Implement more robust duplicate discard for PRP
Date: Thu, 25 Dec 2025 11:17:40 +0800 [thread overview]
Message-ID: <202512251125.VWalZkfn-lkp@intel.com> (raw)
In-Reply-To: <af4bd23b0a4b417b9ce26d77c1d153cfaf78ec64.1766433800.git.fmaurer@redhat.com>
Hi Felix,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on net/main]
url: https://github.com/intel-lab-lkp/linux/commits/Felix-Maurer/selftests-hsr-Add-ping-test-for-PRP/20251223-050252
base: net/main
patch link: https://lore.kernel.org/r/af4bd23b0a4b417b9ce26d77c1d153cfaf78ec64.1766433800.git.fmaurer%40redhat.com
patch subject: [RFC net 5/6] hsr: Implement more robust duplicate discard for PRP
config: arm64-randconfig-001-20251225 (https://download.01.org/0day-ci/archive/20251225/202512251125.VWalZkfn-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251225/202512251125.VWalZkfn-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/202512251125.VWalZkfn-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/hsr/prp_dup_discard_test.c:23:13: error: no member named 'seq_start' in 'struct hsr_node'
23 | data->node.seq_start[HSR_PT_SLAVE_A] = 1;
| ~~~~~~~~~~ ^
>> net/hsr/prp_dup_discard_test.c:24:13: error: no member named 'seq_expected' in 'struct hsr_node'
24 | data->node.seq_expected[HSR_PT_SLAVE_A] = 1;
| ~~~~~~~~~~ ^
net/hsr/prp_dup_discard_test.c:25:13: error: no member named 'seq_start' in 'struct hsr_node'
25 | data->node.seq_start[HSR_PT_SLAVE_B] = 1;
| ~~~~~~~~~~ ^
net/hsr/prp_dup_discard_test.c:26:13: error: no member named 'seq_expected' in 'struct hsr_node'
26 | data->node.seq_expected[HSR_PT_SLAVE_B] = 1;
| ~~~~~~~~~~ ^
net/hsr/prp_dup_discard_test.c:39:35: error: no member named 'seq_start' in 'struct hsr_node'
39 | KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:15: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:39:35: error: no member named 'seq_start' in 'struct hsr_node'
39 | KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:31: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:41:35: error: no member named 'seq_start' in 'struct hsr_node'
41 | KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:15: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:41:35: error: no member named 'seq_start' in 'struct hsr_node'
41 | KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:31: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:43:35: error: no member named 'seq_expected' in 'struct hsr_node'
43 | KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:15: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:43:35: error: no member named 'seq_expected' in 'struct hsr_node'
43 | KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
| ~~~~~~~~~~ ^
include/kunit/test.h:1032:28: note: expanded from macro 'KUNIT_EXPECT_EQ'
1032 | KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
| ^~~~
include/kunit/test.h:1037:8: note: expanded from macro 'KUNIT_EXPECT_EQ_MSG'
1037 | left, ==, right, \
| ^~~~
include/kunit/test.h:873:9: note: expanded from macro 'KUNIT_BINARY_INT_ASSERTION'
873 | left, op, right, \
| ^~~~
include/kunit/test.h:839:31: note: expanded from macro 'KUNIT_BASE_BINARY_ASSERTION'
839 | const typeof(left) __left = (left); \
| ^~~~
net/hsr/prp_dup_discard_test.c:45:35: error: no member named 'seq_expected' in 'struct hsr_node'
45 | KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_B],
vim +23 net/hsr/prp_dup_discard_test.c
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 13
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 14 static struct prp_test_data *build_prp_test_data(struct kunit *test)
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 15 {
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 16 struct prp_test_data *data = kunit_kzalloc(test,
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 17 sizeof(struct prp_test_data), GFP_USER);
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 18 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, data);
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 19
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 20 data->frame.node_src = &data->node;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 21 data->frame.port_rcv = &data->port_rcv;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 22 data->port_rcv.type = HSR_PT_SLAVE_A;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 @23 data->node.seq_start[HSR_PT_SLAVE_A] = 1;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 @24 data->node.seq_expected[HSR_PT_SLAVE_A] = 1;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 25 data->node.seq_start[HSR_PT_SLAVE_B] = 1;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 26 data->node.seq_expected[HSR_PT_SLAVE_B] = 1;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 27 data->node.seq_out[HSR_PT_MASTER] = 0;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 28 data->node.time_out[HSR_PT_MASTER] = jiffies;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 29 data->port.type = HSR_PT_MASTER;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 30
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 31 return data;
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 32 }
814dbf4b6c955c Jaakko Karrenpalo 2025-03-07 33
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-12-25 3:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-22 20:57 [RFC net 0/6] hsr: Implement more robust duplicate discard algorithm Felix Maurer
2025-12-22 20:57 ` [RFC net 1/6] selftests: hsr: Add ping test for PRP Felix Maurer
2025-12-22 20:57 ` [RFC net 2/6] selftests: hsr: Check duplicates on HSR with VLAN Felix Maurer
2025-12-22 20:57 ` [RFC net 3/6] selftests: hsr: Add tests for faulty links Felix Maurer
2025-12-22 20:57 ` [RFC net 4/6] selftests: hsr: Add tests for more link faults with PRP Felix Maurer
2025-12-22 20:57 ` [RFC net 5/6] hsr: Implement more robust duplicate discard for PRP Felix Maurer
2025-12-25 0:30 ` kernel test robot
2025-12-25 3:17 ` kernel test robot [this message]
2025-12-22 20:57 ` [RFC net 6/6] selftests: hsr: Add more link fault tests for HSR Felix Maurer
2026-01-06 14:30 ` [RFC net 0/6] hsr: Implement more robust duplicate discard algorithm Simon Horman
2026-01-08 13:44 ` Felix Maurer
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=202512251125.VWalZkfn-lkp@intel.com \
--to=lkp@intel.com \
--cc=fmaurer@redhat.com \
--cc=llvm@lists.linux.dev \
--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.