Re: [RFC] Implementation of SCSI dynamic power management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 8 Jan 2008, Stefan Richter wrote:

> > How about something more like this:
> > 
> > *	Resume (return to an operational power level) the specified host,
> > *	and prevent autosuspends from other software layers until the
> > *	template autosuspend method has been called again.
> > *	Return 0 if the resume was successful, otherwise a negative
> > *	error code.
> 
> Who prevents them?  The autoresume() implementation, or its caller?

The autoresume implementation.  This comment explains what the function 
is supposed to do, not what its caller does.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux