[linux-pm] pm_message_t becoming struct

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

 



On Fri, 25 Mar 2005, Pavel Machek wrote:

> > Are you willing to go halfway?  If we do something more like this:
> > 
> > 	typedef struct {
> > 		struct pm_message *m;
> > 	} pm_message_t;
> > 
> > then the code can pass pm_message_t's around with full type-checking and
> > still retain the benefit of sending a pointer rather than a structure.
> > 
> > Yes, it looks stupid.  But it's a reasonable compromise that won't
> 
> I'm afraid it really looks stupid. [It actually has benefit that we
> _could_ go over tree in future and change pm_message_t into struct
> pm_message *.]
> 
> OTOH we would probably be stuck with this stupid-looking-thing
> forever, and I'd really prefer to avoid that.

Understandably.  But looking stupid in public is not as bad as bickering 
among ourselves and not getting anything done.  Especially if it smooths 
the path toward making future improvements.

Alan Stern


[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