[linux-pm] PowerOP, Whatchanged/Issues/TODO 2/2

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

 



On Sun, Sep 03, 2006 at 03:13:03AM +0400, Eugeny S. Mints wrote:
> Greg,
> 
> Greg KH wrote:
> >On Sat, Sep 02, 2006 at 07:16:01PM +0400, Eugeny S. Mints wrote:
> >>whatchanged:
> >>- optional sysfs interface is added
> >>- code is moved under kernel/power
> >>- Greg's comments on kobject and coding style are addressed
> >>
> >>todo/issues:
> >>- better implementation for getting registered operating point names
> >>- move string parsing into powerop generic code
> >>- configfs for operating points creation from user space
> >
> >You forgot:
> >  - Handle module referencing counting issues.
> i'm discussing this and other issues you pointed out in a separate email.
> >
> >Also, no #ifdefs in the .c code please, that debugging stuff doesn't
> >have to look like that,
> do you mean CONFIG_POWEROP_SYSFS_OP_DEBUG_IF? Probably it's not a good name 
> but it's not a debugging code. it could be CONFIG_POWEROP_SYSFS_OP_HW_IF - 
> this special HW point might be useful in a production code.

No matter what the name, the #ifdef does not belong in the .c code in
the manner like this was done.  Please move it.

thanks,

greg k-h


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux