Subject: Re: problems in scsipi detach code.
To: enami tsugutomo <enami@but-b.or.jp>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 08/06/2004 11:28:13
On Fri, Aug 06, 2004 at 07:02:53AM +0900, enami tsugutomo wrote:
> >  
> >  	/*
> > -	 * Now detach all of the periphs.
> > +	 * Detach all of the periphs.
> >  	 */
> >  	return scsipi_target_detach(chan, -1, -1, flags);
> > +
> > +	/*
> > +	 * Now shut down the channel.
> > +	 */
> > +	scsipi_channel_shutdown(chan);
> >  }
> 
> Hm, the compiler doesn't warn this...

Ops. Good catch !

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--