automatic DPDK test reports
 help / color / mirror / Atom feed
From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: stephen@networkplumber.org, robot@bytheb.org
Subject: |FAILURE| pw136004 [PATCH v2] common/sfc: replace out of bounds condition with static_assert
Date: Fri, 19 Jan 2024 18:28:12 -0500	[thread overview]
Message-ID: <20240119232812.1361939-1-robot@bytheb.org> (raw)
In-Reply-To: <20240119221401.68182-1-stephen@networkplumber.org>

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/136004/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/7589859179
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-clang-stdatomic" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
        EFX_STATIC_ASSERT((EFX_FIELD_OFFSET(efx_filter_spec_t, efs_outer_vid) %
                           ^
../drivers/common/sfc_efx/base/efx.h:29:3: note: expanded from macro 'EFX_FIELD_OFFSET'
        ((size_t)&(((_type *)0)->_field))
         ^
../drivers/common/sfc_efx/base/ef10_filter.c:1246:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
        matches_count = MCDI_OUT_DWORD(req,
                        ^~~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_mcdi.h:493:2: note: expanded from macro 'MCDI_OUT_DWORD'
        EFX_DWORD_FIELD(*MCDI_OUT2(_emr, efx_dword_t, _ofst),           \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_types.h:533:30: note: expanded from macro 'EFX_DWORD_FIELD'
            EFX_HIGH_BIT(_field)) & EFX_MASK32(_field))
                                    ^~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_types.h:145:23: note: expanded from macro 'EFX_MASK32'
            (((((uint32_t)1) << EFX_WIDTH(_field))) - 1))
                             ^  ~~~~~~~~~~~~~~~~~
2 errors generated.
[887/2846] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_image.c.o'.
[888/2846] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_intr.c.o'.
[889/2846] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_mac.c.o'.
[890/2846] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_mcdi.c.o'.
[891/2846] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
        EFX_STATIC_ASSERT((EFX_FIELD_OFFSET(efx_filter_spec_t, efs_outer_vid) %
                           ^
../drivers/common/sfc_efx/base/efx.h:29:3: note: expanded from macro 'EFX_FIELD_OFFSET'
        ((size_t)&(((_type *)0)->_field))
         ^
../drivers/common/sfc_efx/base/ef10_filter.c:1246:18: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
        matches_count = MCDI_OUT_DWORD(req,
                        ^~~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_mcdi.h:493:2: note: expanded from macro 'MCDI_OUT_DWORD'
        EFX_DWORD_FIELD(*MCDI_OUT2(_emr, efx_dword_t, _ofst),           \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_types.h:533:30: note: expanded from macro 'EFX_DWORD_FIELD'
            EFX_HIGH_BIT(_field)) & EFX_MASK32(_field))
                                    ^~~~~~~~~~~~~~~~~~
../drivers/common/sfc_efx/base/efx_types.h:145:23: note: expanded from macro 'EFX_MASK32'
            (((((uint32_t)1) << EFX_WIDTH(_field))) - 1))
                             ^  ~~~~~~~~~~~~~~~~~
2 errors generated.
[898/3918] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_evb.c.o'.
[899/3918] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_intr.c.o'.
[900/3918] Compiling C object 'drivers/common/sfc_efx/base/932d09a@@sfc_base@sta/ef10_mac.c.o'.
[901/3918] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
[902/3918] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/crypto_qat_qat_asym.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------

      parent reply	other threads:[~2024-01-19 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240119221401.68182-1-stephen@networkplumber.org>
2024-01-19 22:14 ` |WARNING| " checkpatch
2024-01-19 22:19 ` |SUCCESS| " qemudev
2024-01-19 22:23 ` qemudev
2024-01-19 23:28 ` 0-day Robot [this message]

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=20240119232812.1361939-1-robot@bytheb.org \
    --to=robot@bytheb.org \
    --cc=stephen@networkplumber.org \
    --cc=test-report@dpdk.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).