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

Incremented sleep variable in the work_handler #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Incremented sleep variable in the work_handler #1

wants to merge 1 commit into from

Conversation

dimtass
Copy link

@dimtass dimtass commented Dec 9, 2017

The static int sleep is set as 0 and then it's used in wait_event_interruptible function as a condition sleep != 0. This check will never be true as the sleep is always 0. Therefore, it needs to be !=0, so needs to be incremented in work_handler.

@baleboy
Copy link

baleboy commented Jul 5, 2019

Fixes #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants