Skip to contentSkip to conversation

Questions on scsi-scan.c::scsi_get_device_id()

DISCUSSION Luben Tuikov 1 participant 1 message Aug 8, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

Is it possible that the

	idtype = 3;
	while (idtype > 0) {
		<< BODY >>
		idtype--;
	}

loop in scsi_scan.c :: scsi_get_device() be turned into a for loop using the proverbial, classical example. ( <<BODY>> is longer than to justify the current use and as such using a for loop would make the intentions of the code clear at the top. )

Is it imperative that 80 column limit is imposed?

TIA,

Signature · 1 line
Luben