This fixes sparse messages like this:

drivers/net/ethernet/cavium/thunder/thunder_bgx.c:897:24: sparse:
constant 0x300000000000 is so big it is long

Reported-by: kbuild test robot <fengguang...@intel.com>
Signed-off-by: Aleksey Makarov <aleksey.maka...@caviumnetworks.com>
---
 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c 
b/drivers/net/ethernet/cavium/thunder/nicvf_main.c
index abd446e6..f81182c 100644
--- a/drivers/net/ethernet/cavium/thunder/nicvf_main.c
+++ b/drivers/net/ethernet/cavium/thunder/nicvf_main.c
@@ -326,11 +326,11 @@ static int nicvf_rss_init(struct nicvf *nic)
        rss->enable = true;
 
        /* Using the HW reset value for now */
-       rss->key[0] = 0xFEED0BADFEED0BAD;
-       rss->key[1] = 0xFEED0BADFEED0BAD;
-       rss->key[2] = 0xFEED0BADFEED0BAD;
-       rss->key[3] = 0xFEED0BADFEED0BAD;
-       rss->key[4] = 0xFEED0BADFEED0BAD;
+       rss->key[0] = 0xFEED0BADFEED0BADULL;
+       rss->key[1] = 0xFEED0BADFEED0BADULL;
+       rss->key[2] = 0xFEED0BADFEED0BADULL;
+       rss->key[3] = 0xFEED0BADFEED0BADULL;
+       rss->key[4] = 0xFEED0BADFEED0BADULL;
 
        nicvf_set_rss_key(nic);
 
-- 
2.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to