In main.c the return value of class_device_create() is checked for NULL pointer. I believe it should be IS_ERR(this_dev) since failed function will return ERR_PTR(-ENODEV), not NULL.
Thanks for notice of this mistake. CVS updated.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.