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
60850601
Commit
60850601
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] remaining illegal/invalid/separate stuff for scsi
parent
3ffaaf34
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
18 deletions
+18
-18
drivers/scsi/BusLogic.c
drivers/scsi/BusLogic.c
+6
-6
drivers/scsi/NCR53C9x.c
drivers/scsi/NCR53C9x.c
+1
-1
drivers/scsi/esp.c
drivers/scsi/esp.c
+1
-1
drivers/scsi/gdth.c
drivers/scsi/gdth.c
+2
-2
drivers/scsi/mac53c94.c
drivers/scsi/mac53c94.c
+1
-1
drivers/scsi/ncr53c8xx.c
drivers/scsi/ncr53c8xx.c
+1
-1
drivers/scsi/script_asm.pl
drivers/scsi/script_asm.pl
+4
-4
drivers/scsi/st.c
drivers/scsi/st.c
+1
-1
drivers/scsi/tmscsim.c
drivers/scsi/tmscsim.c
+1
-1
No files found.
drivers/scsi/BusLogic.c
View file @
60850601
...
@@ -840,7 +840,7 @@ static int BusLogic_InitializeMultiMasterProbeInfo(BusLogic_HostAdapter_T
...
@@ -840,7 +840,7 @@ static int BusLogic_InitializeMultiMasterProbeInfo(BusLogic_HostAdapter_T
}
}
if
(
IRQ_Channel
==
0
)
if
(
IRQ_Channel
==
0
)
{
{
BusLogic_Error
(
"BusLogic: IRQ Channel %d i
llegal
for "
BusLogic_Error
(
"BusLogic: IRQ Channel %d i
nvalid
for "
"MultiMaster Host Adapter
\n
"
,
NULL
,
IRQ_Channel
);
"MultiMaster Host Adapter
\n
"
,
NULL
,
IRQ_Channel
);
BusLogic_Error
(
"at PCI Bus %d Device %d I/O Address 0x%X
\n
"
,
BusLogic_Error
(
"at PCI Bus %d Device %d I/O Address 0x%X
\n
"
,
NULL
,
Bus
,
Device
,
IO_Address
);
NULL
,
Bus
,
Device
,
IO_Address
);
...
@@ -1112,7 +1112,7 @@ static int BusLogic_InitializeFlashPointProbeInfo(BusLogic_HostAdapter_T
...
@@ -1112,7 +1112,7 @@ static int BusLogic_InitializeFlashPointProbeInfo(BusLogic_HostAdapter_T
}
}
if
(
IRQ_Channel
==
0
)
if
(
IRQ_Channel
==
0
)
{
{
BusLogic_Error
(
"BusLogic: IRQ Channel %d i
llegal
for "
BusLogic_Error
(
"BusLogic: IRQ Channel %d i
nvalid
for "
"FlashPoint Host Adapter
\n
"
,
NULL
,
IRQ_Channel
);
"FlashPoint Host Adapter
\n
"
,
NULL
,
IRQ_Channel
);
BusLogic_Error
(
"at PCI Bus %d Device %d I/O Address 0x%X
\n
"
,
BusLogic_Error
(
"at PCI Bus %d Device %d I/O Address 0x%X
\n
"
,
NULL
,
Bus
,
Device
,
IO_Address
);
NULL
,
Bus
,
Device
,
IO_Address
);
...
@@ -4847,7 +4847,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
...
@@ -4847,7 +4847,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
break
;
break
;
default:
default:
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
"(i
llegal
I/O Address 0x%X)
\n
"
,
"(i
nvalid
I/O Address 0x%X)
\n
"
,
NULL
,
IO_Address
);
NULL
,
IO_Address
);
return
0
;
return
0
;
}
}
...
@@ -4877,7 +4877,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
...
@@ -4877,7 +4877,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
if
(
QueueDepth
>
BusLogic_MaxTaggedQueueDepth
)
if
(
QueueDepth
>
BusLogic_MaxTaggedQueueDepth
)
{
{
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
"(i
llegal
Queue Depth %d)
\n
"
,
"(i
nvalid
Queue Depth %d)
\n
"
,
NULL
,
QueueDepth
);
NULL
,
QueueDepth
);
return
0
;
return
0
;
}
}
...
@@ -4911,7 +4911,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
...
@@ -4911,7 +4911,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
if
(
QueueDepth
==
0
||
QueueDepth
>
BusLogic_MaxTaggedQueueDepth
)
if
(
QueueDepth
==
0
||
QueueDepth
>
BusLogic_MaxTaggedQueueDepth
)
{
{
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
"(i
llegal
Queue Depth %d)
\n
"
,
"(i
nvalid
Queue Depth %d)
\n
"
,
NULL
,
QueueDepth
);
NULL
,
QueueDepth
);
return
0
;
return
0
;
}
}
...
@@ -5029,7 +5029,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
...
@@ -5029,7 +5029,7 @@ static int __init BusLogic_ParseDriverOptions(char *OptionsString)
if
(
BusSettleTime
>
5
*
60
)
if
(
BusSettleTime
>
5
*
60
)
{
{
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
BusLogic_Error
(
"BusLogic: Invalid Driver Options "
"(i
llegal
Bus Settle Time %d)
\n
"
,
"(i
nvalid
Bus Settle Time %d)
\n
"
,
NULL
,
BusSettleTime
);
NULL
,
BusSettleTime
);
return
0
;
return
0
;
}
}
...
...
drivers/scsi/NCR53C9x.c
View file @
60850601
...
@@ -3470,7 +3470,7 @@ void esp_handle(struct NCR_ESP *esp)
...
@@ -3470,7 +3470,7 @@ void esp_handle(struct NCR_ESP *esp)
* for reselection. See esp100_reconnect_hwbug()
* for reselection. See esp100_reconnect_hwbug()
* to see how we try very hard to avoid this.
* to see how we try very hard to avoid this.
*/
*/
ESPLOG
((
"esp%d: i
llegal
command
\n
"
,
esp
->
esp_id
));
ESPLOG
((
"esp%d: i
nvalid
command
\n
"
,
esp
->
esp_id
));
esp_dump_state
(
esp
,
eregs
);
esp_dump_state
(
esp
,
eregs
);
...
...
drivers/scsi/esp.c
View file @
60850601
...
@@ -4256,7 +4256,7 @@ static void esp_handle(struct esp *esp)
...
@@ -4256,7 +4256,7 @@ static void esp_handle(struct esp *esp)
* for reselection. See esp100_reconnect_hwbug()
* for reselection. See esp100_reconnect_hwbug()
* to see how we try very hard to avoid this.
* to see how we try very hard to avoid this.
*/
*/
ESPLOG
((
"esp%d: i
llegal
command
\n
"
,
esp
->
esp_id
));
ESPLOG
((
"esp%d: i
nvalid
command
\n
"
,
esp
->
esp_id
));
esp_dump_state
(
esp
);
esp_dump_state
(
esp
);
...
...
drivers/scsi/gdth.c
View file @
60850601
...
@@ -3838,9 +3838,9 @@ static char *async_cache_tab[] = {
...
@@ -3838,9 +3838,9 @@ static char *async_cache_tab[] = {
/*31*/
"
\007\000\002\012\001\013\001
"
/*31*/
"
\007\000\002\012\001\013\001
"
"GDT HA %u, Fault bus %u, ID %u: old disk detected"
,
"GDT HA %u, Fault bus %u, ID %u: old disk detected"
,
/*32*/
"
\007\000\002\012\001\013\001
"
/*32*/
"
\007\000\002\012\001\013\001
"
"GDT HA %u, Fault bus %u, ID %u: plugging an active disk is i
llegal
"
,
"GDT HA %u, Fault bus %u, ID %u: plugging an active disk is i
nvalid
"
,
/*33*/
"
\007\000\002\012\001\013\001
"
/*33*/
"
\007\000\002\012\001\013\001
"
"GDT HA %u, Fault bus %u, ID %u: i
llegal
device detected"
,
"GDT HA %u, Fault bus %u, ID %u: i
nvalid
device detected"
,
/*34*/
"
\011\000\002\012\001\013\001\006\004
"
/*34*/
"
\011\000\002\012\001\013\001\006\004
"
"GDT HA %u, Fault bus %u, ID %u: insufficient disk capacity (%lu MB required)"
,
"GDT HA %u, Fault bus %u, ID %u: insufficient disk capacity (%lu MB required)"
,
/*35*/
"
\007\000\002\012\001\013\001
"
/*35*/
"
\007\000\002\012\001\013\001
"
...
...
drivers/scsi/mac53c94.c
View file @
60850601
...
@@ -361,7 +361,7 @@ mac53c94_interrupt(int irq, void *dev_id, struct pt_regs *ptregs)
...
@@ -361,7 +361,7 @@ mac53c94_interrupt(int irq, void *dev_id, struct pt_regs *ptregs)
return
;
return
;
}
}
if
(
intr
&
INTR_ILL_CMD
)
{
if
(
intr
&
INTR_ILL_CMD
)
{
printk
(
KERN_ERR
"53c94: i
llegal
cmd, intr=%x stat=%x seq=%x phase=%d
\n
"
,
printk
(
KERN_ERR
"53c94: i
nvalid
cmd, intr=%x stat=%x seq=%x phase=%d
\n
"
,
intr
,
stat
,
seq
,
state
->
phase
);
intr
,
stat
,
seq
,
state
->
phase
);
cmd_done
(
state
,
DID_ERROR
<<
16
);
cmd_done
(
state
,
DID_ERROR
<<
16
);
return
;
return
;
...
...
drivers/scsi/ncr53c8xx.c
View file @
60850601
...
@@ -5166,7 +5166,7 @@ void ncr_complete (ncb_p np, ccb_p cp)
...
@@ -5166,7 +5166,7 @@ void ncr_complete (ncb_p np, ccb_p cp)
printk
(
"extraneous data discarded.
\n
"
);
printk
(
"extraneous data discarded.
\n
"
);
break
;
break
;
case
XE_BAD_PHASE
:
case
XE_BAD_PHASE
:
printk
(
"i
llegal
scsi phase (4/5).
\n
"
);
printk
(
"i
nvalid
scsi phase (4/5).
\n
"
);
break
;
break
;
default:
default:
printk
(
"extended error %d.
\n
"
,
cp
->
xerr_status
);
printk
(
"extended error %d.
\n
"
,
cp
->
xerr_status
);
...
...
drivers/scsi/script_asm.pl
View file @
60850601
...
@@ -813,7 +813,7 @@ foreach $i (@absolute) {
...
@@ -813,7 +813,7 @@ foreach $i (@absolute) {
$address
=
$2
;
$address
=
$2
;
$length
=
$3
;
$length
=
$3
;
die
die
"
$0 :
$symbol
$i
has i
llegal
relative reference at address
$address
,
"
$0 :
$symbol
$i
has i
nvalid
relative reference at address
$address
,
size
$length
\n
"
size
$length
\n
"
if
(
$type
eq
'
REL
');
if
(
$type
eq
'
REL
');
...
@@ -831,12 +831,12 @@ print STDERR "checking external $external \n" if ($debug_external);
...
@@ -831,12 +831,12 @@ print STDERR "checking external $external \n" if ($debug_external);
$length
=
$3
;
$length
=
$3
;
die
die
"
$0 : symbol
$label
is external, has i
llegal relative reference at
$address
,
"
$0 : symbol
$label
is external, has i
nvalid relative reference at
$address
,
size
$length
\n
"
size
$length
\n
"
if
(
$type
eq
'
REL
');
if
(
$type
eq
'
REL
');
die
die
"
$0 : symbol
$label
has i
llegal
reference at
$address
, size
$length
\n
"
"
$0 : symbol
$label
has i
nvalid
reference at
$address
, size
$length
\n
"
if
(((
$address
%
4
)
!=
0
)
||
(
$length
!=
4
));
if
(((
$address
%
4
)
!=
0
)
||
(
$length
!=
4
));
$symbol
=
$symbol_values
{
$external
};
$symbol
=
$symbol_values
{
$external
};
...
@@ -862,7 +862,7 @@ foreach $label (@label) {
...
@@ -862,7 +862,7 @@ foreach $label (@label) {
$length
=
$3
;
$length
=
$3
;
if
(((
$address
%
4
)
!=
0
)
||
(
$length
!=
4
))
{
if
(((
$address
%
4
)
!=
0
)
||
(
$length
!=
4
))
{
die
"
$0 : symbol
$label
has i
llegal
reference at $1, size $2
\n
";
die
"
$0 : symbol
$label
has i
nvalid
reference at $1, size $2
\n
";
}
}
if
(
$type
eq
'
ABS
')
{
if
(
$type
eq
'
ABS
')
{
...
...
drivers/scsi/st.c
View file @
60850601
...
@@ -3659,7 +3659,7 @@ static int __init st_setup(char *str)
...
@@ -3659,7 +3659,7 @@ static int __init st_setup(char *str)
}
}
}
}
if
(
i
>=
sizeof
(
parms
)
/
sizeof
(
struct
st_dev_parm
))
if
(
i
>=
sizeof
(
parms
)
/
sizeof
(
struct
st_dev_parm
))
printk
(
KERN_WARNING
"st: i
llegal
parameter in '%s'
\n
"
,
printk
(
KERN_WARNING
"st: i
nvalid
parameter in '%s'
\n
"
,
stp
);
stp
);
stp
=
strchr
(
stp
,
','
);
stp
=
strchr
(
stp
,
','
);
if
(
stp
)
if
(
stp
)
...
...
drivers/scsi/tmscsim.c
View file @
60850601
...
@@ -2815,7 +2815,7 @@ int dc390_set_info (char *buffer, int length, PACB pACB)
...
@@ -2815,7 +2815,7 @@ int dc390_set_info (char *buffer, int length, PACB pACB)
return
(
length
);
return
(
length
);
einv_dev:
einv_dev:
printk
(
KERN_WARNING
"DC390: Ignore cmnd to i
llegal
Dev(Idx) %i. Valid range: 0 - %i.
\n
"
,
printk
(
KERN_WARNING
"DC390: Ignore cmnd to i
nvalid
Dev(Idx) %i. Valid range: 0 - %i.
\n
"
,
dev
,
pACB
->
DCBCnt
-
1
);
dev
,
pACB
->
DCBCnt
-
1
);
DC390_UNLOCK_ACB
;
DC390_UNLOCK_ACB
;
DC390_UNLOCK_IO
(
pACB
.
pScsiHost
);
DC390_UNLOCK_IO
(
pACB
.
pScsiHost
);
...
...
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