Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
fef3dcc0
Commit
fef3dcc0
authored
Jul 10, 2002
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a hang in serio code and a possible oops in input.
parent
72645c3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
drivers/input/evbug.c
drivers/input/evbug.c
+3
-0
drivers/input/serio/serio.c
drivers/input/serio/serio.c
+2
-1
No files found.
drivers/input/evbug.c
View file @
fef3dcc0
...
...
@@ -37,6 +37,8 @@ MODULE_AUTHOR("Vojtech Pavlik <vojtech@ucw.cz>");
MODULE_DESCRIPTION
(
"Input driver event debug module"
);
MODULE_LICENSE
(
"GPL"
);
static
char
evbug_name
[]
=
"evbug"
;
static
void
evbug_event
(
struct
input_handle
*
handle
,
unsigned
int
type
,
unsigned
int
code
,
int
value
)
{
printk
(
KERN_DEBUG
"evbug.c: Event. Dev: %s, Type: %d, Code: %d, Value: %d
\n
"
,
handle
->
dev
->
phys
,
type
,
code
,
value
);
...
...
@@ -52,6 +54,7 @@ static struct input_handle *evbug_connect(struct input_handler *handler, struct
handle
->
dev
=
dev
;
handle
->
handler
=
handler
;
handle
->
name
=
evbug_name
;
input_open_device
(
handle
);
...
...
drivers/input/serio/serio.c
View file @
fef3dcc0
...
...
@@ -82,6 +82,7 @@ void serio_handle_events(void)
}
serio
->
event
=
0
;
serio
=
serio
->
next
;
}
}
...
...
@@ -95,7 +96,7 @@ static int serio_thread(void *nothing)
serio_handle_events
();
if
(
current
->
flags
&
PF_FREEZE
)
refrigerator
(
PF_IOTHREAD
);
wait_event_interruptible
(
serio_wait
,
1
);
interruptible_sleep_on
(
&
serio_wait
);
}
while
(
!
signal_pending
(
current
));
printk
(
KERN_DEBUG
"serio: kseriod exiting"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment