1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: iucv: use correct output register in iucv_query_maxconn()
3 References: bnc#533267,LTC#56116
5 Symptom: The system log contains kernel messages reporting that the
6 iucv "pathid" is greater than "max_connections".
7 Problem: When querying the maximum number of iucv connections, the
8 wrong output register is used.
9 Solution: Use the correct output register when querying the maximum
10 number of IUCV connections.
12 Acked-by: John Jolly <jjolly@suse.de>
14 net/iucv/iucv.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
19 @@ -334,7 +334,7 @@ static int iucv_query_maxconn(void)
21 : "=d" (ccode), "+d" (reg0), "+d" (reg1) : : "cc");
23 - iucv_max_pathid = reg0;
24 + iucv_max_pathid = reg1;
26 return ccode ? -EPERM : 0;