* Re: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
[not found] <VI1PR04MB5696923A89D612E7EB299DA7E0B00@VI1PR04MB5696.eurprd04.prod.outlook.com>
@ 2020-05-26 21:49 ` Nick Desaulniers
2020-05-26 21:54 ` Vladimir Oltean
0 siblings, 1 reply; 5+ messages in thread
From: Nick Desaulniers @ 2020-05-26 21:49 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
On Tue, May 26, 2020 at 2:48 PM Vladimir Oltean <vladimir.oltean@nxp.com> wrote:
>
> Hi Nick,
>
> On 5/27/20 12:07 AM, Nick Desaulniers wrote:
> > Caution: EXT Email
> >
> > On Tue, May 26, 2020 at 12:40 PM Vladimir Oltean
> > <vladimir.oltean@nxp.com> wrote:
> >>
> >> What's wrong with a function that has no previous prototype?
> >
> > It's possible that functions definitions don't match their
> > declarations, which would be an ABI mismatch.
> >
> >> What 'fix' would be recommended?
> >
> > Including the correct header that declares the function.
> >
>
> Thanks for the reply. I have no intention whatsoever in making any
> changes to the code structure. There's a big difference between the
> possibility of being an ABI mismatch and actually being one.
May all your warnings be free of bugs. Note: this warning was from a
`make W=1` build.
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
2020-05-26 21:49 ` [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing' Nick Desaulniers
@ 2020-05-26 21:54 ` Vladimir Oltean
0 siblings, 0 replies; 5+ messages in thread
From: Vladimir Oltean @ 2020-05-26 21:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
On 5/27/20 12:50 AM, Nick Desaulniers wrote:
> Caution: EXT Email
>
> On Tue, May 26, 2020 at 2:48 PM Vladimir Oltean <vladimir.oltean@nxp.com> wrote:
>>
>> Hi Nick,
>>
>> On 5/27/20 12:07 AM, Nick Desaulniers wrote:
>>> Caution: EXT Email
>>>
>>> On Tue, May 26, 2020 at 12:40 PM Vladimir Oltean
>>> <vladimir.oltean@nxp.com> wrote:
>>>>
>>>> What's wrong with a function that has no previous prototype?
>>>
>>> It's possible that functions definitions don't match their
>>> declarations, which would be an ABI mismatch.
>>>
>>>> What 'fix' would be recommended?
>>>
>>> Including the correct header that declares the function.
>>>
>>
>> Thanks for the reply. I have no intention whatsoever in making any
>> changes to the code structure. There's a big difference between the
>> possibility of being an ABI mismatch and actually being one.
>
> May all your warnings be free of bugs. Note: this warning was from a
> `make W=1` build.
> --
> Thanks,
> ~Nick Desaulniers
>
That's not the wish I was hoping for, but rather 'may all your warnings
be relevant'.
Cheers,
-Vladimir
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
2020-05-26 21:07 ` Nick Desaulniers
@ 2020-05-26 21:48 ` Vladimir Oltean
0 siblings, 0 replies; 5+ messages in thread
From: Vladimir Oltean @ 2020-05-26 21:48 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
Hi Nick,
On 5/27/20 12:07 AM, Nick Desaulniers wrote:
> Caution: EXT Email
>
> On Tue, May 26, 2020 at 12:40 PM Vladimir Oltean
> <vladimir.oltean@nxp.com> wrote:
>>
>> What's wrong with a function that has no previous prototype?
>
> It's possible that functions definitions don't match their
> declarations, which would be an ABI mismatch.
>
>> What 'fix' would be recommended?
>
> Including the correct header that declares the function.
>
Thanks for the reply. I have no intention whatsoever in making any
changes to the code structure. There's a big difference between the
possibility of being an ABI mismatch and actually being one.
>
> --
> Thanks,
> ~Nick Desaulniers
>
Regards,
-Vladimir
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
[not found] <VI1PR04MB5696BCF57BEEB9E874F98443E0B00@VI1PR04MB5696.eurprd04.prod.outlook.com>
@ 2020-05-26 21:07 ` Nick Desaulniers
2020-05-26 21:48 ` Vladimir Oltean
0 siblings, 1 reply; 5+ messages in thread
From: Nick Desaulniers @ 2020-05-26 21:07 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 9210 bytes --]
On Tue, May 26, 2020 at 12:40 PM Vladimir Oltean
<vladimir.oltean@nxp.com> wrote:
>
> What's wrong with a function that has no previous prototype?
It's possible that functions definitions don't match their
declarations, which would be an ABI mismatch.
> What 'fix' would be recommended?
Including the correct header that declares the function.
>
> ________________________________
> From: kbuild test robot <lkp@intel.com>
> Sent: Tuesday, May 26, 2020 10:38 PM
> To: Vladimir Oltean <vladimir.oltean@nxp.com>
> Cc: kbuild-all(a)lists.01.org <kbuild-all@lists.01.org>; clang-built-linux(a)googlegroups.com <clang-built-linux@googlegroups.com>
> Subject: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
>
> Caution: EXT Email
>
> Hi Vladimir,
>
> FYI, the error/warning still remains.
>
> tree: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457956492&sdata=TIM2F4HXtmN2AXNm5xM5TjwaYNmdstN8orTe3V%2BwNOA%3D&reserved=0 master
> head: b0523c7b1c9d0edcd6c0fe6d2cb558a9ad5c60a8
> commit: 94f94d4acfb2a5e978f98d924be33c981e2f86c6 [6663/12912] net: dsa: sja1105: add static tables for virtual links
> config: x86_64-randconfig-r006-20200526 (attached as .config)
> compiler: clang version 11.0.0 (https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=y8IInLZxjz%2FF6cqTJIdeL0izRRnP2dnJP8yehJXzNmg%3D&reserved=0 3393cc4cebf9969db94dc424b7a2b6195589c33b)
> reproduce (this is a W=1 build):
> wget https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=Tw6wTZsqKIRtdGuIjiiHiKKlzWFIlWJhsGyb9XSvECU%3D&reserved=0 -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # install x86_64 cross compiling tool for clang build
> # apt-get install binutils-x86-64-linux-gnu
> git checkout 94f94d4acfb2a5e978f98d924be33c981e2f86c6
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> drivers/net/dsa/sja1105/sja1105_static_config.c:105:8: warning: no previous prototype for function 'sja1105pqrs_avb_params_entry_packing' [-Wmissing-prototypes]
> size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:105:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> drivers/net/dsa/sja1105/sja1105_static_config.c:199:8: warning: no previous prototype for function 'sja1105_l2_forwarding_entry_packing' [-Wmissing-prototypes]
> size_t sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:199:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> drivers/net/dsa/sja1105/sja1105_static_config.c:254:8: warning: no previous prototype for function 'sja1105et_l2_lookup_entry_packing' [-Wmissing-prototypes]
> size_t sja1105et_l2_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:254:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105et_l2_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> drivers/net/dsa/sja1105/sja1105_static_config.c:268:8: warning: no previous prototype for function 'sja1105pqrs_l2_lookup_entry_packing' [-Wmissing-prototypes]
> size_t sja1105pqrs_l2_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:268:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105pqrs_l2_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> drivers/net/dsa/sja1105/sja1105_static_config.c:344:8: warning: no previous prototype for function 'sja1105pqrs_mac_config_entry_packing' [-Wmissing-prototypes]
> size_t sja1105pqrs_mac_config_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:344:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105pqrs_mac_config_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> >> drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing' [-Wmissing-prototypes]
> size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:463:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> drivers/net/dsa/sja1105/sja1105_static_config.c:513:8: warning: no previous prototype for function 'sja1105_vlan_lookup_entry_packing' [-Wmissing-prototypes]
> size_t sja1105_vlan_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> drivers/net/dsa/sja1105/sja1105_static_config.c:513:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
> size_t sja1105_vlan_lookup_entry_packing(void *buf, void *entry_ptr,
> ^
> static
> 7 warnings generated.
>
> vim +/sja1105_vl_lookup_entry_packing +463 drivers/net/dsa/sja1105/sja1105_static_config.c
>
> 462
> > 463 size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
> 464 enum packing_op op)
> 465 {
> 466 struct sja1105_vl_lookup_entry *entry = entry_ptr;
> 467 const size_t size = SJA1105_SIZE_VL_LOOKUP_ENTRY;
> 468
> 469 if (entry->format == SJA1105_VL_FORMAT_PSFP) {
> 470 /* Interpreting vllupformat as 0 */
> 471 sja1105_packing(buf, &entry->destports,
> 472 95, 91, size, op);
> 473 sja1105_packing(buf, &entry->iscritical,
> 474 90, 90, size, op);
> 475 sja1105_packing(buf, &entry->macaddr,
> 476 89, 42, size, op);
> 477 sja1105_packing(buf, &entry->vlanid,
> 478 41, 30, size, op);
> 479 sja1105_packing(buf, &entry->port,
> 480 29, 27, size, op);
> 481 sja1105_packing(buf, &entry->vlanprior,
> 482 26, 24, size, op);
> 483 } else {
> 484 /* Interpreting vllupformat as 1 */
> 485 sja1105_packing(buf, &entry->egrmirr,
> 486 95, 91, size, op);
> 487 sja1105_packing(buf, &entry->ingrmirr,
> 488 90, 90, size, op);
> 489 sja1105_packing(buf, &entry->vlid,
> 490 57, 42, size, op);
> 491 sja1105_packing(buf, &entry->port,
> 492 29, 27, size, op);
> 493 }
> 494 return size;
> 495 }
> 496
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fhyperkitty%2Flist%2Fkbuild-all%40lists.01.org&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=JUxpDGnGAvznoiXrgdumiSSY8FHKcZV6q1LaZHN6HMY%3D&reserved=0
>
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe(a)googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/VI1PR04MB5696BCF57BEEB9E874F98443E0B00%40VI1PR04MB5696.eurprd04.prod.outlook.com.
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
2020-05-26 19:38 kbuild test robot
@ 2020-05-26 19:40 ` Vladimir Oltean
0 siblings, 0 replies; 5+ messages in thread
From: Vladimir Oltean @ 2020-05-26 19:40 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 8242 bytes --]
What's wrong with a function that has no previous prototype? What 'fix' would be recommended?
________________________________
From: kbuild test robot <lkp@intel.com>
Sent: Tuesday, May 26, 2020 10:38 PM
To: Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: kbuild-all(a)lists.01.org <kbuild-all@lists.01.org>; clang-built-linux(a)googlegroups.com <clang-built-linux@googlegroups.com>
Subject: [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing'
Caution: EXT Email
Hi Vladimir,
FYI, the error/warning still remains.
tree: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457956492&sdata=TIM2F4HXtmN2AXNm5xM5TjwaYNmdstN8orTe3V%2BwNOA%3D&reserved=0 master
head: b0523c7b1c9d0edcd6c0fe6d2cb558a9ad5c60a8
commit: 94f94d4acfb2a5e978f98d924be33c981e2f86c6 [6663/12912] net: dsa: sja1105: add static tables for virtual links
config: x86_64-randconfig-r006-20200526 (attached as .config)
compiler: clang version 11.0.0 (https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=y8IInLZxjz%2FF6cqTJIdeL0izRRnP2dnJP8yehJXzNmg%3D&reserved=0 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
wget https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=Tw6wTZsqKIRtdGuIjiiHiKKlzWFIlWJhsGyb9XSvECU%3D&reserved=0 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 94f94d4acfb2a5e978f98d924be33c981e2f86c6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/net/dsa/sja1105/sja1105_static_config.c:105:8: warning: no previous prototype for function 'sja1105pqrs_avb_params_entry_packing' [-Wmissing-prototypes]
size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:105:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr,
^
static
drivers/net/dsa/sja1105/sja1105_static_config.c:199:8: warning: no previous prototype for function 'sja1105_l2_forwarding_entry_packing' [-Wmissing-prototypes]
size_t sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:199:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr,
^
static
drivers/net/dsa/sja1105/sja1105_static_config.c:254:8: warning: no previous prototype for function 'sja1105et_l2_lookup_entry_packing' [-Wmissing-prototypes]
size_t sja1105et_l2_lookup_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:254:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105et_l2_lookup_entry_packing(void *buf, void *entry_ptr,
^
static
drivers/net/dsa/sja1105/sja1105_static_config.c:268:8: warning: no previous prototype for function 'sja1105pqrs_l2_lookup_entry_packing' [-Wmissing-prototypes]
size_t sja1105pqrs_l2_lookup_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:268:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105pqrs_l2_lookup_entry_packing(void *buf, void *entry_ptr,
^
static
drivers/net/dsa/sja1105/sja1105_static_config.c:344:8: warning: no previous prototype for function 'sja1105pqrs_mac_config_entry_packing' [-Wmissing-prototypes]
size_t sja1105pqrs_mac_config_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:344:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105pqrs_mac_config_entry_packing(void *buf, void *entry_ptr,
^
static
>> drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing' [-Wmissing-prototypes]
size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:463:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
^
static
drivers/net/dsa/sja1105/sja1105_static_config.c:513:8: warning: no previous prototype for function 'sja1105_vlan_lookup_entry_packing' [-Wmissing-prototypes]
size_t sja1105_vlan_lookup_entry_packing(void *buf, void *entry_ptr,
^
drivers/net/dsa/sja1105/sja1105_static_config.c:513:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
size_t sja1105_vlan_lookup_entry_packing(void *buf, void *entry_ptr,
^
static
7 warnings generated.
vim +/sja1105_vl_lookup_entry_packing +463 drivers/net/dsa/sja1105/sja1105_static_config.c
462
> 463 size_t sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr,
464 enum packing_op op)
465 {
466 struct sja1105_vl_lookup_entry *entry = entry_ptr;
467 const size_t size = SJA1105_SIZE_VL_LOOKUP_ENTRY;
468
469 if (entry->format == SJA1105_VL_FORMAT_PSFP) {
470 /* Interpreting vllupformat as 0 */
471 sja1105_packing(buf, &entry->destports,
472 95, 91, size, op);
473 sja1105_packing(buf, &entry->iscritical,
474 90, 90, size, op);
475 sja1105_packing(buf, &entry->macaddr,
476 89, 42, size, op);
477 sja1105_packing(buf, &entry->vlanid,
478 41, 30, size, op);
479 sja1105_packing(buf, &entry->port,
480 29, 27, size, op);
481 sja1105_packing(buf, &entry->vlanprior,
482 26, 24, size, op);
483 } else {
484 /* Interpreting vllupformat as 1 */
485 sja1105_packing(buf, &entry->egrmirr,
486 95, 91, size, op);
487 sja1105_packing(buf, &entry->ingrmirr,
488 90, 90, size, op);
489 sja1105_packing(buf, &entry->vlid,
490 57, 42, size, op);
491 sja1105_packing(buf, &entry->port,
492 29, 27, size, op);
493 }
494 return size;
495 }
496
---
0-DAY CI Kernel Test Service, Intel Corporation
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fhyperkitty%2Flist%2Fkbuild-all%40lists.01.org&data=02%7C01%7Cvladimir.oltean%40nxp.com%7C08e6290ccbe844ccb10208d801ac6954%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637261187457966445&sdata=JUxpDGnGAvznoiXrgdumiSSY8FHKcZV6q1LaZHN6HMY%3D&reserved=0
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 14485 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-26 21:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <VI1PR04MB5696923A89D612E7EB299DA7E0B00@VI1PR04MB5696.eurprd04.prod.outlook.com>
2020-05-26 21:49 ` [EXT] [linux-next:master 6663/12912] drivers/net/dsa/sja1105/sja1105_static_config.c:463:8: warning: no previous prototype for function 'sja1105_vl_lookup_entry_packing' Nick Desaulniers
2020-05-26 21:54 ` Vladimir Oltean
[not found] <VI1PR04MB5696BCF57BEEB9E874F98443E0B00@VI1PR04MB5696.eurprd04.prod.outlook.com>
2020-05-26 21:07 ` Nick Desaulniers
2020-05-26 21:48 ` Vladimir Oltean
2020-05-26 19:38 kbuild test robot
2020-05-26 19:40 ` [EXT] " Vladimir Oltean
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.