提交 24d57f8b 编写于 作者: B Borislav Petkov 提交者: Bartlomiej Zolnierkiewicz

ide-tape: fix syntax error in idetape_identify_device()

Spotted by Sergei Shtylyov.

CC: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: NBorislav Petkov <petkovbb@gmail.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 bf6296b6
...@@ -3274,8 +3274,8 @@ static int idetape_identify_device(ide_drive_t *drive) ...@@ -3274,8 +3274,8 @@ static int idetape_identify_device(ide_drive_t *drive)
else if (!removable) else if (!removable)
printk(KERN_ERR "ide-tape: The removable flag is not set\n"); printk(KERN_ERR "ide-tape: The removable flag is not set\n");
else if (packet_size != 0) { else if (packet_size != 0) {
printk(KERN_ERR "ide-tape: Packet size (0x%02x) is not 12 " printk(KERN_ERR "ide-tape: Packet size (0x%02x) is not 12"
"bytes long\n", packet_size); " bytes\n", packet_size);
} else } else
return 1; return 1;
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册