Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
Relicensing and rebasing LibreOffice
LWN.net Weekly Edition for May 24, 2012
A uTouch architecture introduction
LWN.net Weekly Edition for May 17, 2012
Tasting the Ice Cream Sandwich
> If you forget to initialize weight and leave it at zero, poll() will never be called
Any good reason there isn't "if (dev->poll) WARN_ON(!dev->weight);" ?
Copyright © 2012, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds