Skip to content

Commit ab847d0

Browse files
Alexander Gordeevkuba-moo
authored andcommitted
s390/iucv: sort out physical vs virtual pointers usage
Fix virtual vs physical address confusion (which currently are the same). Reviewed-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent ee8f97e commit ab847d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/iucv/iucv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ static inline int iucv_call_b2f0(int command, union iucv_param *parm)
319319
*/
320320
static int __iucv_query_maxconn(void *param, unsigned long *max_pathid)
321321
{
322-
unsigned long reg1 = (unsigned long)param;
322+
unsigned long reg1 = virt_to_phys(param);
323323
int cc;
324324

325325
asm volatile (

0 commit comments

Comments
 (0)