All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Felix Maurer <fmaurer@redhat.com>
Cc: 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 08:30:47 +0800	[thread overview]
Message-ID: <202512250802.ZQJct8ti-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: csky-randconfig-r072-20251225 (https://download.01.org/0day-ci/archive/20251225/202512250802.ZQJct8ti-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251225/202512250802.ZQJct8ti-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/202512250802.ZQJct8ti-lkp@intel.com/

All errors (new ones prefixed by >>):

   net/hsr/prp_dup_discard_test.c: In function 'build_prp_test_data':
>> net/hsr/prp_dup_discard_test.c:23:19: error: 'struct hsr_node' has no member named 'seq_start'
      23 |         data->node.seq_start[HSR_PT_SLAVE_A] = 1;
         |                   ^
>> net/hsr/prp_dup_discard_test.c:24:19: error: 'struct hsr_node' has no member named 'seq_expected'
      24 |         data->node.seq_expected[HSR_PT_SLAVE_A] = 1;
         |                   ^
   net/hsr/prp_dup_discard_test.c:25:19: error: 'struct hsr_node' has no member named 'seq_start'
      25 |         data->node.seq_start[HSR_PT_SLAVE_B] = 1;
         |                   ^
   net/hsr/prp_dup_discard_test.c:26:19: error: 'struct hsr_node' has no member named 'seq_expected'
      26 |         data->node.seq_expected[HSR_PT_SLAVE_B] = 1;
         |                   ^
   In file included from net/hsr/prp_dup_discard_test.c:2:
   net/hsr/prp_dup_discard_test.c: In function 'check_prp_counters':
   net/hsr/prp_dup_discard_test.c:39:41: error: 'struct hsr_node' has no member named 'seq_start'
      39 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
         |                                         ^
   include/kunit/test.h:839:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:39:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      39 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
         |         ^~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:39:41: error: 'struct hsr_node' has no member named 'seq_start'
      39 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
         |                                         ^
   include/kunit/test.h:839:38: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:39:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      39 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_A],
         |         ^~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:41:41: error: 'struct hsr_node' has no member named 'seq_start'
      41 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
         |                                         ^
   include/kunit/test.h:839:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:41:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      41 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
         |         ^~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:41:41: error: 'struct hsr_node' has no member named 'seq_start'
      41 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
         |                                         ^
   include/kunit/test.h:839:38: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:41:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      41 |         KUNIT_EXPECT_EQ(test, data->node.seq_start[HSR_PT_SLAVE_B],
         |         ^~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:43:41: error: 'struct hsr_node' has no member named 'seq_expected'
      43 |         KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
         |                                         ^
   include/kunit/test.h:839:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:43:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      43 |         KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
         |         ^~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:43:41: error: 'struct hsr_node' has no member named 'seq_expected'
      43 |         KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
         |                                         ^
   include/kunit/test.h:839:38: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     839 |         const typeof(left) __left = (left);                                    \
         |                                      ^~~~
   include/kunit/test.h:1035:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
    1035 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:1032:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
    1032 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   net/hsr/prp_dup_discard_test.c:43:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      43 |         KUNIT_EXPECT_EQ(test, data->node.seq_expected[HSR_PT_SLAVE_A],
         |         ^~~~~~~~~~~~~~~


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

  reply	other threads:[~2025-12-25  0:31 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 [this message]
2025-12-25  3:17   ` kernel test robot
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=202512250802.ZQJct8ti-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=fmaurer@redhat.com \
    --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.