Thread (20 messages) flat view 20 messages, 3 authors, 2012-10-03

Re: [PATCH 3/5] ucc_geth: Fix two gcc warnings

From: Joakim Tjernlund <hidden>
Date: 2012-10-03 13:17:39

Ping? Got no comments and I can see it in net or net-next trees either.

Joakim Tjernlund [off-list ref] wrote on 2012/09/18 18:56:23:
quoted hunk ↗ jump to hunk
From: Joakim Tjernlund <redacted>
To: netdev@vger.kernel.org,
Cc: Joakim Tjernlund <redacted>
Date: 2012/09/18 18:56
Subject: [PATCH 3/5] ucc_geth: Fix two gcc warnings

ucc_geth.c: In function 'ucc_geth_startup':
ucc_geth.c:3092:45: warning: comparison between 'enum qe_fltr_largest_external_tbl_lookup_key_size' and 'enum qe_fltr_tbl_lookup_key_size'

ucc_geth.c:3096:45: warning: comparison between 'enum qe_fltr_largest_external_tbl_lookup_key_size' and 'enum qe_fltr_tbl_lookup_key_size'

Signed-off-by: Joakim Tjernlund <redacted>
---
 drivers/net/ethernet/freescale/ucc_geth.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c
index 5f1460a..7d60b95 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.c
+++ b/drivers/net/ethernet/freescale/ucc_geth.c
@@ -3074,11 +3074,11 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth)
    if (ug_info->rxExtendedFiltering) {
       size += THREAD_RX_PRAM_ADDITIONAL_FOR_EXTENDED_FILTERING;
       if (ug_info->largestexternallookupkeysize ==
-          QE_FLTR_TABLE_LOOKUP_KEY_SIZE_8_BYTES)
+          QE_FLTR_LARGEST_EXTERNAL_TABLE_LOOKUP_KEY_SIZE_8_BYTES)
          size +=
              THREAD_RX_PRAM_ADDITIONAL_FOR_EXTENDED_FILTERING_8;
       if (ug_info->largestexternallookupkeysize ==
-          QE_FLTR_TABLE_LOOKUP_KEY_SIZE_16_BYTES)
+          QE_FLTR_LARGEST_EXTERNAL_TABLE_LOOKUP_KEY_SIZE_16_BYTES)
          size +=
              THREAD_RX_PRAM_ADDITIONAL_FOR_EXTENDED_FILTERING_16;
    }
--
1.7.8.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help