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
fddaaf44
Commit
fddaaf44
authored
Jul 31, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix invalid/illegal and printk formatting for scsi drivers
parent
efcc77ca
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/scsi/53c7xx.c
drivers/scsi/53c7xx.c
+1
-1
drivers/scsi/AM53C974.c
drivers/scsi/AM53C974.c
+1
-1
drivers/scsi/aha152x.c
drivers/scsi/aha152x.c
+2
-2
drivers/scsi/aha1542.c
drivers/scsi/aha1542.c
+1
-1
drivers/scsi/aic7xxx/aic7770.c
drivers/scsi/aic7xxx/aic7770.c
+1
-1
No files found.
drivers/scsi/53c7xx.c
View file @
fddaaf44
...
...
@@ -4977,7 +4977,7 @@ intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
hostdata
->
options
|=
OPTION_NO_PRINT_RACE
;
}
}
else
{
printk
(
KERN_ALERT
"scsi%d : i
llegal
instruction
\n
"
,
host
->
host_no
);
printk
(
KERN_ALERT
"scsi%d : i
nvalid
instruction
\n
"
,
host
->
host_no
);
print_lots
(
host
);
printk
(
KERN_ALERT
" mail Richard@sleepie.demon.co.uk with ALL
\n
"
" boot messages and diagnostic output
\n
"
);
...
...
drivers/scsi/AM53C974.c
View file @
fddaaf44
...
...
@@ -598,7 +598,7 @@ static int AM53C974_setup(char *str)
(
ints
[
1
]
==
ints
[
2
])
||
(
ints
[
3
]
<
(
DEF_CLK
/
MAX_PERIOD
))
||
(
ints
[
3
]
>
(
DEF_CLK
/
MIN_PERIOD
))
||
(
ints
[
4
]
<
0
)
||
(
ints
[
4
]
>
MAX_OFFSET
))
printk
(
"AM53C974_setup: i
llegal
parameter
\n
"
);
printk
(
"AM53C974_setup: i
nvalid
parameter
\n
"
);
else
{
overrides
[
commandline_current
].
host_scsi_id
=
ints
[
1
];
overrides
[
commandline_current
].
target_scsi_id
=
ints
[
2
];
...
...
drivers/scsi/aha152x.c
View file @
fddaaf44
...
...
@@ -3098,7 +3098,7 @@ static void disp_ports(struct Scsi_Host *shpnt)
printk
(
"MESSAGE IN"
);
break
;
default:
printk
(
"*i
llegal
*"
);
printk
(
"*i
nvalid
*"
);
break
;
}
...
...
@@ -3467,7 +3467,7 @@ static int get_ports(struct Scsi_Host *shpnt, char *pos)
SPRINTF
(
"MESSAGE IN"
);
break
;
default:
SPRINTF
(
"*i
llegal
*"
);
SPRINTF
(
"*i
nvalid
*"
);
break
;
}
...
...
drivers/scsi/aha1542.c
View file @
fddaaf44
...
...
@@ -67,7 +67,7 @@ static void BAD_SG_DMA(Scsi_Cmnd * SCpnt,
int
nseg
,
int
badseg
)
{
printk
(
KERN_CRIT
"sgpnt[%d:%d] page %p/0x%x length %
ld
\n
"
,
printk
(
KERN_CRIT
"sgpnt[%d:%d] page %p/0x%x length %
u
\n
"
,
badseg
,
nseg
,
page_address
(
sgpnt
[
badseg
].
page
)
+
sgpnt
[
badseg
].
offset
,
SCSI_SG_PA
(
&
sgpnt
[
badseg
]),
...
...
drivers/scsi/aic7xxx/aic7770.c
View file @
fddaaf44
...
...
@@ -170,7 +170,7 @@ aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io)
case
15
:
break
;
default:
printf
(
"aic7770_config: i
llegal
irq setting %d
\n
"
,
intdef
);
printf
(
"aic7770_config: i
nvalid
irq setting %d
\n
"
,
intdef
);
return
(
ENXIO
);
}
...
...
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