mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
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]>
This commit is contained in:
1 parent
318d3cc04e
commit
1b05cf6285
1 file changed
+6
@@ -1800,6 +1800,12 @@ static int qeth_bridgeport_makerc(struct qeth_card *card,
|
||||
dev_err(&card->gdev->dev,
|
||||
"The device is not configured as a Bridge Port\n");
|
||||
break;
|
||||
case 0x2B10:
|
||||
case 0x0010: /* OS mismatch */
|
||||
rc = -EPERM;
|
||||
dev_err(&card->gdev->dev,
|
||||
"A Bridge Port is already configured by a different operating system\n");
|
||||
break;
|
||||
case 0x2B14:
|
||||
case 0x0014: /* Another device is Primary */
|
||||
switch (setcmd) {
|
||||
|
||||
Reference in new issue
Block a user