Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6: firewire: fw-sbp2: fix parsing of logical unit directories
This commit is contained in:
Коммит
0b20715f3f
|
@ -1051,7 +1051,8 @@ static int sbp2_scan_unit_dir(struct sbp2_target *tgt, u32 *directory,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SBP2_CSR_LOGICAL_UNIT_DIRECTORY:
|
case SBP2_CSR_LOGICAL_UNIT_DIRECTORY:
|
||||||
if (sbp2_scan_logical_unit_dir(tgt, ci.p + value) < 0)
|
/* Adjust for the increment in the iterator */
|
||||||
|
if (sbp2_scan_logical_unit_dir(tgt, ci.p - 1 + value) < 0)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче