Am Donnerstag, den 22.12.2011, 08:15 +0100 schrieb Michael Karcher:
Signed-off-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de
self-review :)
while( chipcount < ARRAY_SIZE(flashes) ) {
wrong spacing convention, as Stefan Tauner already pointed out in v1 of the patch. Fixed locally to while (chipcount < ARRAY_SIZE(flashes)) {
startchip = probe_flash(®istered_programmers[j],
startchip, &flashes[i], 0);
startchip,
&flashes[chipcount], 0); if (startchip == -1)
break;
break;
spaces before tabs. The whitespace change of this line is unintentional. Fixed locally. The end result is a small and clean patch, replacing only the bad for loop and using chipcount instead of the local counter i as index for flashes.
Regards, Michael Karcher
Am 22.12.2011 08:28 schrieb Michael Karcher:
Am Donnerstag, den 22.12.2011, 08:15 +0100 schrieb Michael Karcher:
Signed-off-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de
while (chipcount < ARRAY_SIZE(flashes)) { startchip = probe_flash(®istered_programmers[j],
startchip, &flashes[i], 0);
startchip,
&flashes[chipcount], 0); if (startchip == -1)
Looks good. Thanks for fixing up after my megapatch.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Regards, Carl-Daniel
Am Freitag, den 23.12.2011, 00:24 +0100 schrieb Carl-Daniel Hailfinger:
Am 22.12.2011 08:28 schrieb Michael Karcher:
Am Donnerstag, den 22.12.2011, 08:15 +0100 schrieb Michael Karcher:
Signed-off-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de
while (chipcount < ARRAY_SIZE(flashes)) { startchip = probe_flash(®istered_programmers[j],
startchip, &flashes[i], 0);
startchip,
&flashes[chipcount], 0); if (startchip == -1)
Looks good. Thanks for fixing up after my megapatch.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
committed in r1479. Thanks for the ack.
Regards, Michael Karcher