Try to also unbreak powerpc complaining about

"cast from pointer to integer of different size".

MFC after:	3 days
X-MFC with:	r270755
This commit is contained in:
Bjoern A. Zeeb 2014-08-29 14:38:57 +00:00
parent 3ad95447c8
commit 452fd26522
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270820

View File

@ -4375,8 +4375,8 @@ enum i40e_status_code i40e_aq_alternate_write_indirect(struct i40e_hw *hw,
cmd_resp->address = CPU_TO_LE32(addr);
cmd_resp->length = CPU_TO_LE32(dw_count);
cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_WORD((u64)buffer));
cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)buffer));
cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_WORD((u64)(uintptr_t)buffer));
cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)(uintptr_t)buffer));
status = i40e_asq_send_command(hw, &desc, buffer,
I40E_LO_DWORD(4*dw_count), NULL);
@ -4458,8 +4458,8 @@ enum i40e_status_code i40e_aq_alternate_read_indirect(struct i40e_hw *hw,
cmd_resp->address = CPU_TO_LE32(addr);
cmd_resp->length = CPU_TO_LE32(dw_count);
cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_DWORD((u64)buffer));
cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)buffer));
cmd_resp->addr_high = CPU_TO_LE32(I40E_HI_DWORD((u64)(uintptr_t)buffer));
cmd_resp->addr_low = CPU_TO_LE32(I40E_LO_DWORD((u64)(uintptr_t)buffer));
status = i40e_asq_send_command(hw, &desc, buffer,
I40E_LO_DWORD(4*dw_count), NULL);