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
3a6ee5cc
Commit
3a6ee5cc
authored
Mar 07, 2003
by
Ivan Kokshaysky
Committed by
Richard Henderson
Mar 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] alpha: err_titan.c compile fix
Fix unused variables when CONFIG_VERBOSE_MCHECK is not set. Ivan.
parent
ba646b39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
arch/alpha/kernel/err_titan.c
arch/alpha/kernel/err_titan.c
+6
-4
No files found.
arch/alpha/kernel/err_titan.c
View file @
3a6ee5cc
...
@@ -22,8 +22,10 @@
...
@@ -22,8 +22,10 @@
static
int
static
int
titan_parse_c_misc
(
u64
c_misc
,
int
print
)
titan_parse_c_misc
(
u64
c_misc
,
int
print
)
{
{
#ifdef CONFIG_VERBOSE_MCHECK
char
*
src
;
char
*
src
;
int
nxs
=
0
;
int
nxs
=
0
;
#endif
int
status
=
MCHK_DISPOSITION_REPORT
;
int
status
=
MCHK_DISPOSITION_REPORT
;
#define TITAN__CCHIP_MISC__NXM (1UL << 28)
#define TITAN__CCHIP_MISC__NXM (1UL << 28)
...
@@ -263,11 +265,11 @@ titan_parse_p_perror(int which, int port, u64 perror, int print)
...
@@ -263,11 +265,11 @@ titan_parse_p_perror(int which, int port, u64 perror, int print)
static
int
static
int
titan_parse_p_agperror
(
int
which
,
u64
agperror
,
int
print
)
titan_parse_p_agperror
(
int
which
,
u64
agperror
,
int
print
)
{
{
int
status
=
MCHK_DISPOSITION_REPORT
;
#ifdef CONFIG_VERBOSE_MCHECK
int
cmd
,
len
;
int
cmd
,
len
;
unsigned
long
addr
;
unsigned
long
addr
;
int
status
=
MCHK_DISPOSITION_REPORT
;
#ifdef CONFIG_VERBOSE_MCHECK
char
*
agperror_cmd
[]
=
{
"Read (low-priority)"
,
"Read (high-priority)"
,
char
*
agperror_cmd
[]
=
{
"Read (low-priority)"
,
"Read (high-priority)"
,
"Write (low-priority)"
,
"Write (low-priority)"
,
"Write (high-priority)"
,
"Write (high-priority)"
,
...
@@ -575,14 +577,14 @@ titan_register_error_handlers(void)
...
@@ -575,14 +577,14 @@ titan_register_error_handlers(void)
static
int
static
int
privateer_process_680_frame
(
struct
el_common
*
mchk_header
,
int
print
)
privateer_process_680_frame
(
struct
el_common
*
mchk_header
,
int
print
)
{
{
int
status
=
MCHK_DISPOSITION_UNKNOWN_ERROR
;
#ifdef CONFIG_VERBOSE_MCHECK
struct
el_PRIVATEER_envdata_mcheck
*
emchk
=
struct
el_PRIVATEER_envdata_mcheck
*
emchk
=
(
struct
el_PRIVATEER_envdata_mcheck
*
)
(
struct
el_PRIVATEER_envdata_mcheck
*
)
((
unsigned
long
)
mchk_header
+
mchk_header
->
sys_offset
);
((
unsigned
long
)
mchk_header
+
mchk_header
->
sys_offset
);
int
status
=
MCHK_DISPOSITION_UNKNOWN_ERROR
;
/* TODO - catagorize errors, for now, no error */
/* TODO - catagorize errors, for now, no error */
#ifdef CONFIG_VERBOSE_MCHECK
if
(
!
print
)
if
(
!
print
)
return
status
;
return
status
;
...
...
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