From 9685624a50613344ad6cc1405fa561ea86888f06 Mon Sep 17 00:00:00 2001 From: Benoît Ganne Date: Wed, 8 Sep 2021 15:36:56 +0200 Subject: vppinfra: asan: improve overflow semantic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Type: improvement Change-Id: Ia63899b82e34f179f9efa921e4630b598f2a86cb Signed-off-by: Benoît Ganne --- src/vnet/l2/l2_fib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet/l2') diff --git a/src/vnet/l2/l2_fib.h b/src/vnet/l2/l2_fib.h index 7f7cd761e20..202e2d9a33b 100644 --- a/src/vnet/l2/l2_fib.h +++ b/src/vnet/l2/l2_fib.h @@ -251,14 +251,14 @@ l2fib_make_key (const u8 * mac_address, u16 bd_index) * Create the in-register key as F:E:D:C:B:A:H:L * In memory the key is L:H:A:B:C:D:E:F */ - temp = CLIB_MEM_OVERFLOW_LOAD (*, (u64 *) mac_address) << 16; + temp = CLIB_MEM_OVERFLOW_LOAD ((u64 *) mac_address) << 16; temp = (temp & ~0xffff) | (u64) (bd_index); #else /* * Create the in-register key as H:L:A:B:C:D:E:F * In memory the key is H:L:A:B:C:D:E:F */ - temp = CLIB_MEM_OVERFLOW_LOAD (*, (u64 *) mac_address) >> 16; + temp = CLIB_MEM_OVERFLOW_LOAD ((u64 *) mac_address) >> 16; temp = temp | (((u64) bd_index) << 48); #endif -- cgit 1.2.3-korg