[Bug 278085] qlnxe: setting mac address with ifconfig does not update NIC MAC filter [PATCH]

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 May 2024 06:05:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278085

Kevin Bowling <kbowling@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kbowling@freebsd.org

--- Comment #2 from Kevin Bowling <kbowling@freebsd.org> ---
(In reply to Keith Reynolds from comment #1)
on CURRENT, where this must land first, it generates a build error:

/usr/src/sys/dev/qlnx/qlnxe/qlnx_os.c:7081:56: error: cast from 'const char *'
to 'char *' drops const qualifier [-Werror,-Wcast-qual]
 7081 |                 rc = qlnx_set_ucast_rx_mac(ha, ECORE_FILTER_REPLACE,
LLADDR(sdl));
      |                                                                      ^
/usr/src/sys/net/if_dl.h:68:29: note: expanded from macro 'LLADDR'
   68 | #define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen))
      |

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