Skip to content

Handle device_create failure #7

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

Merged
merged 1 commit into from
Mar 30, 2025
Merged

Handle device_create failure #7

merged 1 commit into from
Mar 30, 2025

Conversation

EricccTaiwan
Copy link
Contributor

Add proper error handling for device_create() in simrupt_init. This patch checks the return value and adds cleanup logic to ensure consistent error handling.

Add proper error handling for device_create() in simrupt_init.
This patch checks the return value and adds cleanup logic
to ensure consistent error handling.

Co-authored-by: Po-Ying Chiu <charlie910417@gmail.com>
@jserv jserv merged commit 8c03968 into sysprog21:main Mar 30, 2025
@jserv
Copy link
Contributor

jserv commented Mar 30, 2025

Thank @EricccTaiwan for contributing!

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.

2 participants