DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 858] gcc12 build error, net/failsafe
@ 2021-10-28 12:44 bugzilla
  2022-06-15  8:24 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-10-28 12:44 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=858

            Bug ID: 858
           Summary: gcc12 build error, net/failsafe
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev@dpdk.org
          Reporter: ferruh.yigit@intel.com
  Target Milestone: ---

With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"

In file included from ../drivers/net/failsafe/failsafe_ops.c:19:
../drivers/net/failsafe/failsafe_ops.c: In function ‘fs_link_update’:
../drivers/net/failsafe/failsafe_private.h:307:9: warning: the comparison will
always evaluate as ‘true’ for the pointer operand in ‘((struct fs_priv
*)dev->data->dev_private)->subs + (sizetype)((long unsigned int)((struct
fs_priv *)dev->data->dev_private)->subs_tx * 904)’ must not be NULL [-Waddress]
  307 |         (PRIV(dev)->subs_tx >= PRIV(dev)->subs_tail                ?
NULL \
      |         ^
../drivers/net/failsafe/failsafe_ops.c:847:13: note: in expansion of macro
‘TX_SUBDEV’
  847 |         if (TX_SUBDEV(dev)) {
      |             ^~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 858] gcc12 build error, net/failsafe
  2021-10-28 12:44 [dpdk-dev] [Bug 858] gcc12 build error, net/failsafe bugzilla
@ 2022-06-15  8:24 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-06-15  8:24 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=858

David Marchand (david.marchand@redhat.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME
                 CC|                            |david.marchand@redhat.com

--- Comment #1 from David Marchand (david.marchand@redhat.com) ---
Same as 822, I can't reproduce with released gcc 12.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-15  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 12:44 [dpdk-dev] [Bug 858] gcc12 build error, net/failsafe bugzilla
2022-06-15  8:24 ` bugzilla

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).