From: David Kershner Date: Wed, 24 Feb 2016 18:30:38 +0000 (-0500) Subject: staging: unisys: iochannel.h add_phys_info needs u64 pfn X-Git-Tag: v5.15~14007^2~417 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=785d43077f855ef710aa765273d3355efa7c82fe;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/drivers/staging/unisys/include/iochannel.h b/drivers/staging/unisys/include/iochannel.h index 42356a2..880d9f0 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;