[SCSI] osst: fix if (...) \n #if... cases missing semicolons when false
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Acked-by: Willem Riede <osst@riede.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
ef49c32b84
commit
ccd1443b5a
1 changed files with 4 additions and 2 deletions
|
@ -593,10 +593,11 @@ static int osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int q
|
|||
if (aux->frame_type != OS_FRAME_TYPE_DATA &&
|
||||
aux->frame_type != OS_FRAME_TYPE_EOD &&
|
||||
aux->frame_type != OS_FRAME_TYPE_MARKER) {
|
||||
if (!quiet)
|
||||
if (!quiet) {
|
||||
#if DEBUG
|
||||
printk(OSST_DEB_MSG "%s:D: Skipping frame, frame type %x\n", name, aux->frame_type);
|
||||
#endif
|
||||
}
|
||||
goto err_out;
|
||||
}
|
||||
if (aux->frame_type == OS_FRAME_TYPE_EOD &&
|
||||
|
@ -606,11 +607,12 @@ static int osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int q
|
|||
goto err_out;
|
||||
}
|
||||
if (frame_seq_number != -1 && ntohl(aux->frame_seq_num) != frame_seq_number) {
|
||||
if (!quiet)
|
||||
if (!quiet) {
|
||||
#if DEBUG
|
||||
printk(OSST_DEB_MSG "%s:D: Skipping frame, sequence number %u (expected %d)\n",
|
||||
name, ntohl(aux->frame_seq_num), frame_seq_number);
|
||||
#endif
|
||||
}
|
||||
goto err_out;
|
||||
}
|
||||
if (aux->frame_type == OS_FRAME_TYPE_MARKER) {
|
||||
|
|
Loading…
Reference in a new issue