Re: [scsi hcil 3/9] misc cleanups

James Bottomley
2005-10-29T01:34:39Z

On Mon, 2005-10-24 at 18:02 -0400, Jeff Garzik wrote:
> - eliminate use of 'channel' and 'id' in starget_for_each_device()

Actually, we can't do this. The reason for the way it looks today is
that shost_for_each_device() actually performs a lot of magic assuming
that the list can be changing under it (it was a long precursor to the
klists, if you like). list_for_each_entry() does no such magic.

We could convert to klists to get this, or simply replicate the host
magic per target.

James