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
a110a350
Commit
a110a350
authored
Mar 23, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix decnet compile error on newer gcc's
parent
8109a537
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
net/decnet/dn_table.c
net/decnet/dn_table.c
+1
-2
No files found.
net/decnet/dn_table.c
View file @
a110a350
...
@@ -836,8 +836,7 @@ struct dn_fib_table *dn_fib_get_table(int n, int create)
...
@@ -836,8 +836,7 @@ struct dn_fib_table *dn_fib_get_table(int n, int create)
return
NULL
;
return
NULL
;
if
(
in_interrupt
()
&&
net_ratelimit
())
{
if
(
in_interrupt
()
&&
net_ratelimit
())
{
printk
(
KERN_DEBUG
"DECnet: BUG! Attempt to create routing table
printk
(
KERN_DEBUG
"DECnet: BUG! Attempt to create routing table from interrupt
\n
"
);
from interrupt
\n
"
);
return
NULL
;
return
NULL
;
}
}
if
((
t
=
kmalloc
(
sizeof
(
struct
dn_fib_table
),
GFP_KERNEL
))
==
NULL
)
if
((
t
=
kmalloc
(
sizeof
(
struct
dn_fib_table
),
GFP_KERNEL
))
==
NULL
)
...
...
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