On Monday 15 March 2010, Matthias-Christian Ott wrote: > On Mon, Mar 15, 2010 at 01:35:17AM +0100, Rafael J. Wysocki wrote: > > +static bool e1000e_pm_ready(struct e1000_adapter *adapter) > > +{ > > + return !!adapter->tx_ring->buffer_info; > > +} > > Are your sure the double negation is right? Yes, the function should return true if the pointer is not NULL. It would work without the !!, but I used it because of the types mismatch. Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm