Skip to content

Commit 1f4f067

Browse files
Vasanthy Kolluridavem330
authored andcommitted
enic: Fix build warnings
Fix data type of argument passed to pci_alloc_consistent and pci_free_consistent routines. Signed-off-by: Vasanthy Kolluri <[email protected]> Signed-off-by: Roopa Prabhu <[email protected]> Signed-off-by: David Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ce5a121 commit 1f4f067

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/enic/enic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define DRV_NAME "enic"
3434
#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Driver"
35-
#define DRV_VERSION "1.4.1.6"
35+
#define DRV_VERSION "1.4.1.7"
3636
#define DRV_COPYRIGHT "Copyright 2008-2010 Cisco Systems, Inc"
3737

3838
#define ENIC_BARS_MAX 6

drivers/net/enic/enic_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ static int enic_dev_hang_reset(struct enic *enic)
20422042

20432043
static int enic_set_rsskey(struct enic *enic)
20442044
{
2045-
u64 rss_key_buf_pa;
2045+
dma_addr_t rss_key_buf_pa;
20462046
union vnic_rss_key *rss_key_buf_va = NULL;
20472047
union vnic_rss_key rss_key = {
20482048
.key[0].b = {85, 67, 83, 97, 119, 101, 115, 111, 109, 101},
@@ -2073,7 +2073,7 @@ static int enic_set_rsskey(struct enic *enic)
20732073

20742074
static int enic_set_rsscpu(struct enic *enic, u8 rss_hash_bits)
20752075
{
2076-
u64 rss_cpu_buf_pa;
2076+
dma_addr_t rss_cpu_buf_pa;
20772077
union vnic_rss_cpu *rss_cpu_buf_va = NULL;
20782078
unsigned int i;
20792079
int err;

0 commit comments

Comments
 (0)