From 785d43077f855ef710aa765273d3355efa7c82fe Mon Sep 17 00:00:00 2001 From: David Kershner Date: Wed, 24 Feb 2016 13:30:38 -0500 Subject: [PATCH] staging: unisys: iochannel.h add_phys_info needs u64 pfn The pfn field in the channel is 64 bits, the parameter being passed should be 64 bits as well. Signed-off-by: David Kershner Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/include/iochannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/include/iochannel.h b/drivers/staging/unisys/include/iochannel.h index 42356a29383d..880d9f04cbcf 100644 --- a/drivers/staging/unisys/include/iochannel.h +++ b/drivers/staging/unisys/include/iochannel.h @@ -575,7 +575,7 @@ struct spar_io_channel_protocol { * room) */ static inline u16 -add_physinfo_entries(u32 inp_pfn, u16 inp_off, u32 inp_len, u16 index, +add_physinfo_entries(u64 inp_pfn, u16 inp_off, u32 inp_len, u16 index, u16 max_pi_arr_entries, struct phys_info pi_arr[]) { u32 len; -- 2.20.1