netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] i40e: mark constant as ULL
@ 2015-02-04 11:41 Stefan Assmann
  2015-02-04 11:59 ` Jeff Kirsher
  2015-02-04 17:49 ` Jeff Kirsher
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Assmann @ 2015-02-04 11:41 UTC (permalink / raw)
  To: netdev; +Cc: davem, e1000-devel, jeffrey.t.kirsher, sassmann

This avoids a compile error on 32bit.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
---
 drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c b/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c
index 4627588..f221ace 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c
@@ -908,7 +908,7 @@ static void i40e_write_qword(u8 *hmc_bits,
 	if (ce_info->width < 64)
 		mask = ((u64)1 << ce_info->width) - 1;
 	else
-		mask = 0xFFFFFFFFFFFFFFFF;
+		mask = 0xFFFFFFFFFFFFFFFFULL;
 
 	/* don't swizzle the bits until after the mask because the mask bits
 	 * will be in a different bit position on big endian machines
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-24 12:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04 11:41 [PATCH net-next] i40e: mark constant as ULL Stefan Assmann
2015-02-04 11:59 ` Jeff Kirsher
2015-02-04 17:49 ` Jeff Kirsher
2015-02-05 10:15   ` Stefan Assmann
2015-02-23 14:56   ` Stefan Assmann
2015-02-24 12:08     ` Stefan Assmann
2015-02-24 12:23       ` Jeff Kirsher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).