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
279203ab
Commit
279203ab
authored
Jan 18, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Jan 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sn: Fix a couple of compiler warnings
From: Pat Gefre <pfg@sgi.com> Fix a couple of compiler warnings
parent
29277173
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
arch/ia64/sn/io/xswitch.c
arch/ia64/sn/io/xswitch.c
+4
-4
arch/ia64/sn/kernel/setup.c
arch/ia64/sn/kernel/setup.c
+0
-1
No files found.
arch/ia64/sn/io/xswitch.c
View file @
279203ab
...
...
@@ -63,7 +63,7 @@ xswitch_info_vhdl_set(xswitch_info_t xswitch_info,
if
(
port
>
XSWITCH_CENSUS_PORT_MAX
)
return
;
xswitch_info
->
vhdl
[
port
]
=
xwidget
;
xswitch_info
->
vhdl
[
(
int
)
port
]
=
xwidget
;
}
vertex_hdl_t
...
...
@@ -73,7 +73,7 @@ xswitch_info_vhdl_get(xswitch_info_t xswitch_info,
if
(
port
>
XSWITCH_CENSUS_PORT_MAX
)
return
GRAPH_VERTEX_NONE
;
return
xswitch_info
->
vhdl
[
port
];
return
xswitch_info
->
vhdl
[
(
int
)
port
];
}
/*
...
...
@@ -89,7 +89,7 @@ xswitch_info_master_assignment_set(xswitch_info_t xswitch_info,
if
(
port
>
XSWITCH_CENSUS_PORT_MAX
)
return
;
xswitch_info
->
master_vhdl
[
port
]
=
master_vhdl
;
xswitch_info
->
master_vhdl
[
(
int
)
port
]
=
master_vhdl
;
}
vertex_hdl_t
...
...
@@ -99,7 +99,7 @@ xswitch_info_master_assignment_get(xswitch_info_t xswitch_info,
if
(
port
>
XSWITCH_CENSUS_PORT_MAX
)
return
GRAPH_VERTEX_NONE
;
return
xswitch_info
->
master_vhdl
[
port
];
return
xswitch_info
->
master_vhdl
[
(
int
)
port
];
}
void
...
...
arch/ia64/sn/kernel/setup.c
View file @
279203ab
...
...
@@ -430,7 +430,6 @@ sn_cpu_init(void)
void
scan_for_ionodes
(
void
)
{
int
nasid
=
0
;
lboard_t
*
brd
;
/* Setup ionodes with memory */
for
(
nasid
=
0
;
nasid
<
MAX_PHYSNODE_ID
;
nasid
+=
2
)
{
...
...
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