Bluetooth: fix vendor ext rssi link alert event
[platform/kernel/linux-starfive.git] / net / iucv / iucv.c
index 8f4d49a..fc3fdde 100644 (file)
@@ -83,7 +83,7 @@ struct iucv_irq_data {
        u16 ippathid;
        u8  ipflags1;
        u8  iptype;
-       u32 res2[8];
+       u32 res2[9];
 };
 
 struct iucv_irq_list {
@@ -319,7 +319,7 @@ static inline int iucv_call_b2f0(int command, union iucv_param *parm)
  */
 static int __iucv_query_maxconn(void *param, unsigned long *max_pathid)
 {
-       unsigned long reg1 = (unsigned long)param;
+       unsigned long reg1 = virt_to_phys(param);
        int cc;
 
        asm volatile (