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
nexedi
linux
Commits
8cb0cee4
Commit
8cb0cee4
authored
22 years ago
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rate limit the kmod debug message, update kernel version
parent
c39e9205
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
Makefile
Makefile
+1
-1
kernel/kmod.c
kernel/kmod.c
+8
-3
No files found.
Makefile
View file @
8cb0cee4
VERSION
=
2
PATCHLEVEL
=
5
SUBLEVEL
=
6
EXTRAVERSION
=
-pre
2
EXTRAVERSION
=
-pre
3
KERNELRELEASE
=
$(VERSION)
.
$(PATCHLEVEL)
.
$(SUBLEVEL)$(EXTRAVERSION)
...
...
This diff is collapsed.
Click to expand it.
kernel/kmod.c
View file @
8cb0cee4
...
...
@@ -159,9 +159,14 @@ static int exec_modprobe(void * module_name)
ret
=
exec_usermodehelper
(
modprobe_path
,
argv
,
envp
);
if
(
ret
)
{
printk
(
KERN_DEBUG
"kmod: failed to exec %s -s -k %s, errno = %d
\n
"
,
modprobe_path
,
(
char
*
)
module_name
,
errno
);
static
unsigned
long
last
;
unsigned
long
now
=
jiffies
;
if
(
now
-
last
>
HZ
)
{
last
=
now
;
printk
(
KERN_DEBUG
"kmod: failed to exec %s -s -k %s, errno = %d
\n
"
,
modprobe_path
,
(
char
*
)
module_name
,
errno
);
}
}
return
ret
;
}
...
...
This diff is collapsed.
Click to expand it.
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