Explorar el Código

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 <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
David Kershner hace 9 años
padre
commit
785d43077f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/staging/unisys/include/iochannel.h

+ 1 - 1
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;