Hi Bruce,

This patch is to fix the compile error such as below:

----------------------------------------------------------------------------------------------------

  CC      drivers/net/ethernet/freescale/sdk_fman/etc/sprint.o
In file included from include/linux/string.h:293,
                 from 
drivers/net/ethernet/freescale/sdk_fman/inc/string_ext.h:40,
                 from drivers/net/ethernet/freescale/sdk_fman/etc/sprint.c:40:
include/linux/fortify-string.h:186:9: error: expected identifier or '(' before 
'__builtin_choose_expr'
  186 |    __builtin_choose_expr(__is_constexpr(__builtin_strlen(p)),   \
      |    ^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/freescale/sdk_fman/inc/stdlib_ext.h:93:8: note: in 
expansion of macro 'strlen'
   93 |    size_t strlen(const char * s);
      |           ^~~~~~

----------------------------------------------------------------------------------------------------

Could you please help to merge this patch into linux-yocto?
Branch are both v6.1/standard/nxp-sdk-6.1/nxp-soc and 
v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc.

diffstat info as below:

 drivers/net/ethernet/freescale/sdk_fman/etc/sprint.c | 1 -
  1 file changed, 1 deletion(-)
 
Thanks,
MinWang
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14446): 
https://lists.yoctoproject.org/g/linux-yocto/message/14446
Mute This Topic: https://lists.yoctoproject.org/mt/108925285/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to