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
6b71ca94
Commit
6b71ca94
authored
Mar 04, 2004
by
Igmar Palsenberg
Committed by
Jaroslav Kysela
Mar 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[QLOGIC]: Mark mbox_param[] as static to avoid namespace pollution.
parent
b02a51da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/qlogicfc.c
drivers/scsi/qlogicfc.c
+1
-1
drivers/scsi/qlogicpti.c
drivers/scsi/qlogicpti.c
+1
-1
No files found.
drivers/scsi/qlogicfc.c
View file @
6b71ca94
...
@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ;
...
@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ;
if that mbox should be copied as input. For example 0x2 would mean
if that mbox should be copied as input. For example 0x2 would mean
only copy mbox1. */
only copy mbox1. */
const
u_char
mbox_param
[]
=
static
const
u_char
mbox_param
[]
=
{
{
0x01
,
/* MBOX_NO_OP */
0x01
,
/* MBOX_NO_OP */
0x1f
,
/* MBOX_LOAD_RAM */
0x1f
,
/* MBOX_LOAD_RAM */
...
...
drivers/scsi/qlogicpti.c
View file @
6b71ca94
...
@@ -54,7 +54,7 @@ static int qptis_running = 0;
...
@@ -54,7 +54,7 @@ static int qptis_running = 0;
#define PACKB(a, b) (((a)<<4)|(b))
#define PACKB(a, b) (((a)<<4)|(b))
const
u_char
mbox_param
[]
=
{
static
const
u_char
mbox_param
[]
=
{
PACKB
(
1
,
1
),
/* MBOX_NO_OP */
PACKB
(
1
,
1
),
/* MBOX_NO_OP */
PACKB
(
5
,
5
),
/* MBOX_LOAD_RAM */
PACKB
(
5
,
5
),
/* MBOX_LOAD_RAM */
PACKB
(
2
,
0
),
/* MBOX_EXEC_FIRMWARE */
PACKB
(
2
,
0
),
/* MBOX_EXEC_FIRMWARE */
...
...
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