Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drivers.dma.loop_transfer.dma_m2m_loop : S32 platform build failure #81808

Closed
hakehuang opened this issue Nov 23, 2024 · 1 comment
Closed
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP

Comments

@hakehuang
Copy link
Collaborator

Describe the bug

drivers.dma.loop_transfer.dma_m2m_loop build failure

Please also mention any information which could help others to understand
the problem you're facing:

  • What target platform are you using?
  • s32z2xxdc2@D/s32z270/rtu1
  • s32z2xxdc2@D/s32z270/rtu0
  • s32z2xxdc2@B/s32z270/rtu0
  • What have you tried to diagnose or workaround this issue?
  • git bisect
  • Is this a regression? If yes, have you been able to "git bisect" it to a
    specific commit?
  • ...
b070da7c33f31fcc52446e127a1717db4cf2eb10 is the first bad commit
commit b070da7c33f31fcc52446e127a1717db4cf2eb10
Author: Declan Snyder <[email protected]>
Date:   Mon Oct 14 20:28:51 2024 -0500

    dts: nxp,mcux-edma: Convert compats to prop
    
    Convert the numerous revision compatibles to a DT property for the
    revision called nxp,version (inspired from a linux DT property from
    st called st,version on their DMA).
    
    Signed-off-by: Declan Snyder <[email protected]>

 drivers/dma/Kconfig.mcux_edma          |  9 ++++++---
 drivers/dma/dma_mcux_edma.c            | 10 ++--------
 dts/arm/nxp/nxp_k6x.dtsi               |  1 +
 dts/arm/nxp/nxp_k8x.dtsi               |  1 +
 dts/arm/nxp/nxp_ke1xf.dtsi             |  1 +
 dts/arm/nxp/nxp_ke1xz.dtsi             |  1 +
 dts/arm/nxp/nxp_mcxn23x_common.dtsi    |  6 ++++--
 dts/arm/nxp/nxp_mcxn94x_common.dtsi    |  6 ++++--
 dts/arm/nxp/nxp_rt10xx.dtsi            |  1 +
 dts/arm/nxp/nxp_rt11xx.dtsi            |  2 ++
 dts/arm/nxp/nxp_s32k344_m7.dtsi        |  3 ++-
 dts/bindings/dma/nxp,mcux-edma-v3.yaml | 14 --------------
 dts/bindings/dma/nxp,mcux-edma-v4.yaml | 14 --------------
 dts/bindings/dma/nxp,mcux-edma.yaml    | 14 ++++++++++++++
 14 files changed, 39 insertions(+), 44 deletions(-)
 delete mode 100644 dts/bindings/dma/nxp,mcux-edma-v3.yaml
 delete mode 100644 dts/bindings/dma/nxp,mcux-edma-v4.yaml

To Reproduce

west twister -p s32z2xxdc2@D/s32z270/rtu1 -s tests/drivers/dma/chan_blen_transfer/drivers.dma.chan_blen_transfer

Expected behavior

build pass

Impact

DMA function for S32

Logs and console output

/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/subsys/net/lib/mqtt_sn/mqtt_sn.c:187:33: error: format '%hu' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
  187 |                         LOG_ERR("Can't create PUB: Too much data (%" PRIu16 ")", data->size);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ~~~~~~~~~~
      |                                                                                      |
      |                                                                                      size_t {aka long unsigned int}
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/include/zephyr/logging/log_core.h:315:50: note: in definition of macro 'Z_LOG2'
  315 |                         z_log_printf_arg_checker(__VA_ARGS__);                                     \
      |                                                  ^~~~~~~~~~~
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/include/zephyr/logging/log.h:44:25: note: in expansion of macro 'Z_LOG'
   44 | #define LOG_ERR(...)    Z_LOG(LOG_LEVEL_ERR, __VA_ARGS__)
      |                         ^~~~~
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/subsys/net/lib/mqtt_sn/mqtt_sn.c:187:25: note: in expansion of macro 'LOG_ERR'
  187 |                         LOG_ERR("Can't create PUB: Too much data (%" PRIu16 ")", data->size);
      |                         ^~~~~~~
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/subsys/net/lib/mqtt_sn/mqtt_sn.c: In function 'mqtt_sn_topic_create':
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/subsys/net/lib/mqtt_sn/mqtt_sn.c:245:25: error: format '%hu' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
  245 |                 LOG_ERR("Can't create topic: name too long (%" PRIu16 ")", name->size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ~~~~~~~~~~
      |                                                                                |
      |                                                                                size_t {aka long unsigned int}
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/include/zephyr/logging/log_core.h:315:50: note: in definition of macro 'Z_LOG2'
  315 |                         z_log_printf_arg_checker(__VA_ARGS__);                                     \
      |                                                  ^~~~~~~~~~~
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/include/zephyr/logging/log.h:44:25: note: in expansion of macro 'Z_LOG'
   44 | #define LOG_ERR(...)    Z_LOG(LOG_LEVEL_ERR, __VA_ARGS__)
      |                         ^~~~~
/home/jenkins/agent/workspace/bitbucket_build_platform/zephyr/subsys/net/lib/mqtt_sn/mqtt_sn.c:245:17: note: in expansion of macro 'LOG_ERR'
  245 |                 LOG_ERR("Can't create topic: name too long (%" PRIu16 ")", name->size);
      |                 ^~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: v4.0.0-706-g054d60fb1c39
@hakehuang hakehuang added bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP labels Nov 23, 2024
@fabiobaltieri
Copy link
Member

Same as #81809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP
Projects
None yet
Development

No branches or pull requests

3 participants