Skip to content

Commit 1b05cf6

Browse files
Eugene Crosserdavem330
authored andcommitted
qeth: Include error message for "OS Mismatch"
Having understood the semantics of BRIDGEPORT error code 0x0010, we can introduce a meaningful error message. Signed-off-by: Eugene Crosser <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 318d3cc commit 1b05cf6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/s390/net/qeth_l2_main.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,6 +1800,12 @@ static int qeth_bridgeport_makerc(struct qeth_card *card,
18001800
dev_err(&card->gdev->dev,
18011801
"The device is not configured as a Bridge Port\n");
18021802
break;
1803+
case 0x2B10:
1804+
case 0x0010: /* OS mismatch */
1805+
rc = -EPERM;
1806+
dev_err(&card->gdev->dev,
1807+
"A Bridge Port is already configured by a different operating system\n");
1808+
break;
18031809
case 0x2B14:
18041810
case 0x0014: /* Another device is Primary */
18051811
switch (setcmd) {

0 commit comments

Comments
 (0)