On Tuesday, 1 of April 2008, Alan Stern wrote:No, it has more pointers. Specifically, it is like struct pm_ext_ops { struct pm_ops base; --additional pointers go here-- } Yes, it does. In that cases, the error code would tell the PM core not to attempt to resume the device's children etc. Otherwise, it's quite meaningless to the PM core, because it really can mean anything and how's the PM core supposed to handle _that_? Either we decide that the error codes returned by ->resume() mean critical errors or there's no point in returning error codes from ->resume() at all (other than logging the errors by the core). Well, that's getting confused. I think I'll have to rework the patch not to really handle the errors returned by ->resume() and friends, after all, but I'll keep the reporting of them. However, I'd like to add a recommendation that the _new_ "resume" callbacks should only return errors in critical situations as the indication to the PM core that something went _really_ wrong and the device in question is quite surely unusable. Thanks, Rafael --
| Lennart Sorensen | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Dmitry Torokhov | Re: 2.6.21-rc5-mm3 |
git: | |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
