Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect failure handling in vinput_init #276

Merged
merged 1 commit into from
Oct 20, 2024
Merged

Conversation

NOVBobLee
Copy link
Collaborator

After class_register failure, the wrong function class_unregister was used. The correct cleanup function should be unregister_chrdev, as register_chrdev was used before class_register.

After class_register failure, the wrong function class_unregister was
used. The correct cleanup function should be unregister_chrdev, as
register_chrdev was used before class_register.
@jserv
Copy link
Contributor

jserv commented Oct 20, 2024

Thanks for spotting this issue. Can you point out more in current example code?

@NOVBobLee
Copy link
Collaborator Author

NOVBobLee commented Oct 20, 2024

Yes, I’ll go through the current example code and point out any additional issues I find. I'll update you in a few days.

@jserv jserv requested a review from linD026 October 20, 2024 18:03
@jserv jserv merged commit ac18946 into sysprog21:master Oct 20, 2024
1 check passed
@jserv
Copy link
Contributor

jserv commented Oct 20, 2024

Thank @NOVBobLee for contributing!

@NOVBobLee NOVBobLee deleted the pr branch October 21, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants