git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: fix multicast address list copy memory leak
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
efx_lic.c
diff --git
a/drivers/net/sfc/base/efx_lic.c
b/drivers/net/sfc/base/efx_lic.c
index
cfff51a
..
15405f9
100644
(file)
--- a/
drivers/net/sfc/base/efx_lic.c
+++ b/
drivers/net/sfc/base/efx_lic.c
@@
-561,7
+561,7
@@
efx_lic_v1v2_read_key(
{
efx_rc_t rc;
{
efx_rc_t rc;
- _NOTE(ARGUNUSED(enp))
+ _NOTE(ARGUNUSED(enp
, buffer_size
))
EFSYS_ASSERT(length <= (EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX +
EFX_LICENSE_V1V2_HEADER_LENGTH));
EFSYS_ASSERT(length <= (EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX +
EFX_LICENSE_V1V2_HEADER_LENGTH));
@@
-631,7
+631,7
@@
efx_lic_v1v2_delete_key(
uint32_t move_start = offset + length;
uint32_t move_length = end - move_start;
uint32_t move_start = offset + length;
uint32_t move_length = end - move_start;
- _NOTE(ARGUNUSED(enp))
+ _NOTE(ARGUNUSED(enp
, buffer_size
))
EFSYS_ASSERT(end <= buffer_size);
/* Shift everything after the key down */
EFSYS_ASSERT(end <= buffer_size);
/* Shift everything after the key down */
@@
-649,7
+649,7
@@
efx_lic_v1v2_create_partition(
caddr_t bufferp,
__in size_t buffer_size)
{
caddr_t bufferp,
__in size_t buffer_size)
{
- _NOTE(ARGUNUSED(enp))
+ _NOTE(ARGUNUSED(enp
, buffer_size
))
EFSYS_ASSERT(EFX_LICENSE_V1V2_HEADER_LENGTH <= buffer_size);
/* Write terminator */
EFSYS_ASSERT(EFX_LICENSE_V1V2_HEADER_LENGTH <= buffer_size);
/* Write terminator */