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
89479619
Commit
89479619
authored
Jul 17, 2003
by
Alan Cox
Committed by
Linus Torvalds
Jul 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] another batch of "invalid" not "illegal" fixes
(Steven Cole)
parent
f5f0b83f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
arch/ia64/kernel/module.c
arch/ia64/kernel/module.c
+2
-2
arch/m68k/apollo/dn_ints.c
arch/m68k/apollo/dn_ints.c
+2
-2
arch/m68k/q40/q40ints.c
arch/m68k/q40/q40ints.c
+1
-1
arch/mips/mm/fault.c
arch/mips/mm/fault.c
+1
-1
No files found.
arch/ia64/kernel/module.c
View file @
89479619
...
@@ -164,7 +164,7 @@ static int
...
@@ -164,7 +164,7 @@ static int
apply_imm64
(
struct
module
*
mod
,
struct
insn
*
insn
,
uint64_t
val
)
apply_imm64
(
struct
module
*
mod
,
struct
insn
*
insn
,
uint64_t
val
)
{
{
if
(
slot
(
insn
)
!=
2
)
{
if
(
slot
(
insn
)
!=
2
)
{
printk
(
KERN_ERR
"%s: i
llegal
slot number %d for IMM64
\n
"
,
printk
(
KERN_ERR
"%s: i
nvalid
slot number %d for IMM64
\n
"
,
mod
->
name
,
slot
(
insn
));
mod
->
name
,
slot
(
insn
));
return
0
;
return
0
;
}
}
...
@@ -176,7 +176,7 @@ static int
...
@@ -176,7 +176,7 @@ static int
apply_imm60
(
struct
module
*
mod
,
struct
insn
*
insn
,
uint64_t
val
)
apply_imm60
(
struct
module
*
mod
,
struct
insn
*
insn
,
uint64_t
val
)
{
{
if
(
slot
(
insn
)
!=
2
)
{
if
(
slot
(
insn
)
!=
2
)
{
printk
(
KERN_ERR
"%s: i
llegal
slot number %d for IMM60
\n
"
,
printk
(
KERN_ERR
"%s: i
nvalid
slot number %d for IMM60
\n
"
,
mod
->
name
,
slot
(
insn
));
mod
->
name
,
slot
(
insn
));
return
0
;
return
0
;
}
}
...
...
arch/m68k/apollo/dn_ints.c
View file @
89479619
...
@@ -46,7 +46,7 @@ void dn_init_IRQ(void) {
...
@@ -46,7 +46,7 @@ void dn_init_IRQ(void) {
int
dn_request_irq
(
unsigned
int
irq
,
irqreturn_t
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
flags
,
const
char
*
devname
,
void
*
dev_id
)
{
int
dn_request_irq
(
unsigned
int
irq
,
irqreturn_t
(
*
handler
)(
int
,
void
*
,
struct
pt_regs
*
),
unsigned
long
flags
,
const
char
*
devname
,
void
*
dev_id
)
{
if
((
irq
<
0
)
||
(
irq
>
15
))
{
if
((
irq
<
0
)
||
(
irq
>
15
))
{
printk
(
"Trying to request i
llegal
IRQ
\n
"
);
printk
(
"Trying to request i
nvalid
IRQ
\n
"
);
return
-
ENXIO
;
return
-
ENXIO
;
}
}
...
@@ -72,7 +72,7 @@ int dn_request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct
...
@@ -72,7 +72,7 @@ int dn_request_irq(unsigned int irq, irqreturn_t (*handler)(int, void *, struct
void
dn_free_irq
(
unsigned
int
irq
,
void
*
dev_id
)
{
void
dn_free_irq
(
unsigned
int
irq
,
void
*
dev_id
)
{
if
((
irq
<
0
)
||
(
irq
>
15
))
{
if
((
irq
<
0
)
||
(
irq
>
15
))
{
printk
(
"Trying to free i
llegal
IRQ
\n
"
);
printk
(
"Trying to free i
nvalid
IRQ
\n
"
);
return
;
return
;
}
}
...
...
arch/m68k/q40/q40ints.c
View file @
89479619
...
@@ -171,7 +171,7 @@ void q40_free_irq(unsigned int irq, void *dev_id)
...
@@ -171,7 +171,7 @@ void q40_free_irq(unsigned int irq, void *dev_id)
{
{
case
1
:
case
2
:
case
8
:
case
9
:
case
1
:
case
2
:
case
8
:
case
9
:
case
12
:
case
13
:
case
12
:
case
13
:
printk
(
"%s: ISA IRQ %d from %x i
llegal
\n
"
,
__FUNCTION__
,
irq
,
(
unsigned
)
dev_id
);
printk
(
"%s: ISA IRQ %d from %x i
nvalid
\n
"
,
__FUNCTION__
,
irq
,
(
unsigned
)
dev_id
);
return
;
return
;
case
11
:
irq
=
10
;
case
11
:
irq
=
10
;
default:
default:
...
...
arch/mips/mm/fault.c
View file @
89479619
...
@@ -162,7 +162,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
...
@@ -162,7 +162,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
tsk
->
thread
.
cp0_badvaddr
=
address
;
tsk
->
thread
.
cp0_badvaddr
=
address
;
tsk
->
thread
.
error_code
=
write
;
tsk
->
thread
.
error_code
=
write
;
#if 0
#if 0
printk("do_page_fault() #2: sending SIGSEGV to %s for i
llegal
%s\n"
printk("do_page_fault() #2: sending SIGSEGV to %s for i
nvalid
%s\n"
"%08lx (epc == %08lx, ra == %08lx)\n",
"%08lx (epc == %08lx, ra == %08lx)\n",
tsk->comm,
tsk->comm,
write ? "write access to" : "read access from",
write ? "write access to" : "read access from",
...
...
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