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
c63481f8
Commit
c63481f8
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] more arch typo/illegal->invalid fixes
(Steven Cole)
parent
f3c1ba85
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
21 deletions
+21
-21
arch/ia64/hp/common/sba_iommu.c
arch/ia64/hp/common/sba_iommu.c
+1
-1
arch/mips64/mm/fault.c
arch/mips64/mm/fault.c
+1
-1
arch/ppc/8xx_io/cs4218_tdm.c
arch/ppc/8xx_io/cs4218_tdm.c
+4
-4
arch/ppc/boot/openfirmware/Makefile
arch/ppc/boot/openfirmware/Makefile
+1
-1
arch/ppc/syslib/open_pic.c
arch/ppc/syslib/open_pic.c
+6
-6
arch/ppc64/kernel/open_pic.c
arch/ppc64/kernel/open_pic.c
+6
-6
arch/sh/mm/cache-sh2.c
arch/sh/mm/cache-sh2.c
+1
-1
arch/sh/mm/cache-sh3.c
arch/sh/mm/cache-sh3.c
+1
-1
No files found.
arch/ia64/hp/common/sba_iommu.c
View file @
c63481f8
...
@@ -1125,7 +1125,7 @@ sba_fill_pdir(
...
@@ -1125,7 +1125,7 @@ sba_fill_pdir(
* in the DMA stream. Allocates PDIR entries but does not fill them.
* in the DMA stream. Allocates PDIR entries but does not fill them.
* Returns the number of DMA chunks.
* Returns the number of DMA chunks.
*
*
* Doing the fill sep
e
rate from the coalescing/allocation keeps the
* Doing the fill sep
a
rate from the coalescing/allocation keeps the
* code simpler. Future enhancement could make one pass through
* code simpler. Future enhancement could make one pass through
* the sglist do both.
* the sglist do both.
*/
*/
...
...
arch/mips64/mm/fault.c
View file @
c63481f8
...
@@ -163,7 +163,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write,
...
@@ -163,7 +163,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",
...
...
arch/ppc/8xx_io/cs4218_tdm.c
View file @
c63481f8
...
@@ -2696,24 +2696,24 @@ void __init dmasound_setup(char *str, int *ints)
...
@@ -2696,24 +2696,24 @@ void __init dmasound_setup(char *str, int *ints)
switch
(
ints
[
0
])
{
switch
(
ints
[
0
])
{
case
3
:
case
3
:
if
((
ints
[
3
]
<
0
)
||
(
ints
[
3
]
>
MAX_CATCH_RADIUS
))
if
((
ints
[
3
]
<
0
)
||
(
ints
[
3
]
>
MAX_CATCH_RADIUS
))
printk
(
"dmasound_setup: i
llegal
catch radius, using default = %d
\n
"
,
catchRadius
);
printk
(
"dmasound_setup: i
nvalid
catch radius, using default = %d
\n
"
,
catchRadius
);
else
else
catchRadius
=
ints
[
3
];
catchRadius
=
ints
[
3
];
/* fall through */
/* fall through */
case
2
:
case
2
:
if
(
ints
[
1
]
<
MIN_BUFFERS
)
if
(
ints
[
1
]
<
MIN_BUFFERS
)
printk
(
"dmasound_setup: i
llegal
number of buffers, using default = %d
\n
"
,
numBufs
);
printk
(
"dmasound_setup: i
nvalid
number of buffers, using default = %d
\n
"
,
numBufs
);
else
else
numBufs
=
ints
[
1
];
numBufs
=
ints
[
1
];
if
(
ints
[
2
]
<
MIN_BUFSIZE
||
ints
[
2
]
>
MAX_BUFSIZE
)
if
(
ints
[
2
]
<
MIN_BUFSIZE
||
ints
[
2
]
>
MAX_BUFSIZE
)
printk
(
"dmasound_setup: i
llegal
buffer size, using default = %d
\n
"
,
bufSize
);
printk
(
"dmasound_setup: i
nvalid
buffer size, using default = %d
\n
"
,
bufSize
);
else
else
bufSize
=
ints
[
2
];
bufSize
=
ints
[
2
];
break
;
break
;
case
0
:
case
0
:
break
;
break
;
default:
default:
printk
(
"dmasound_setup: i
llegal
number of arguments
\n
"
);
printk
(
"dmasound_setup: i
nvalid
number of arguments
\n
"
);
}
}
}
}
...
...
arch/ppc/boot/openfirmware/Makefile
View file @
c63481f8
...
@@ -50,7 +50,7 @@ endif
...
@@ -50,7 +50,7 @@ endif
$(images)/ramdisk.image.gz
:
$(images)/ramdisk.image.gz
:
@
echo
' MISSING $@'
@
echo
' MISSING $@'
@
echo
' RAM disk image must be provided sep
erat
ly'
@
echo
' RAM disk image must be provided sep
arate
ly'
@
/bin/false
@
/bin/false
objcpxmon-$(CONFIG_XMON)
:=
--add-section
=
.sysmap
=
System.map
\
objcpxmon-$(CONFIG_XMON)
:=
--add-section
=
.sysmap
=
System.map
\
...
...
arch/ppc/syslib/open_pic.c
View file @
c63481f8
...
@@ -133,16 +133,16 @@ struct hw_interrupt_type open_pic_ipi = {
...
@@ -133,16 +133,16 @@ struct hw_interrupt_type open_pic_ipi = {
#if 1
#if 1
#define check_arg_ipi(ipi) \
#define check_arg_ipi(ipi) \
if (ipi < 0 || ipi >= OPENPIC_NUM_IPI) \
if (ipi < 0 || ipi >= OPENPIC_NUM_IPI) \
printk("open_pic.c:%d: i
llegal
ipi %d\n", __LINE__, ipi);
printk("open_pic.c:%d: i
nvalid
ipi %d\n", __LINE__, ipi);
#define check_arg_timer(timer) \
#define check_arg_timer(timer) \
if (timer < 0 || timer >= OPENPIC_NUM_TIMERS) \
if (timer < 0 || timer >= OPENPIC_NUM_TIMERS) \
printk("open_pic.c:%d: i
llegal
timer %d\n", __LINE__, timer);
printk("open_pic.c:%d: i
nvalid
timer %d\n", __LINE__, timer);
#define check_arg_vec(vec) \
#define check_arg_vec(vec) \
if (vec < 0 || vec >= OPENPIC_NUM_VECTORS) \
if (vec < 0 || vec >= OPENPIC_NUM_VECTORS) \
printk("open_pic.c:%d: i
llegal
vector %d\n", __LINE__, vec);
printk("open_pic.c:%d: i
nvalid
vector %d\n", __LINE__, vec);
#define check_arg_pri(pri) \
#define check_arg_pri(pri) \
if (pri < 0 || pri >= OPENPIC_NUM_PRI) \
if (pri < 0 || pri >= OPENPIC_NUM_PRI) \
printk("open_pic.c:%d: i
llegal
priority %d\n", __LINE__, pri);
printk("open_pic.c:%d: i
nvalid
priority %d\n", __LINE__, pri);
/*
/*
* Print out a backtrace if it's out of range, since if it's larger than NR_IRQ's
* Print out a backtrace if it's out of range, since if it's larger than NR_IRQ's
* data has probably been corrupted and we're going to panic or deadlock later
* data has probably been corrupted and we're going to panic or deadlock later
...
@@ -151,11 +151,11 @@ struct hw_interrupt_type open_pic_ipi = {
...
@@ -151,11 +151,11 @@ struct hw_interrupt_type open_pic_ipi = {
#define check_arg_irq(irq) \
#define check_arg_irq(irq) \
if (irq < open_pic_irq_offset || irq >= NumSources+open_pic_irq_offset \
if (irq < open_pic_irq_offset || irq >= NumSources+open_pic_irq_offset \
|| ISR[irq - open_pic_irq_offset] == 0) { \
|| ISR[irq - open_pic_irq_offset] == 0) { \
printk("open_pic.c:%d: i
llegal
irq %d\n", __LINE__, irq); \
printk("open_pic.c:%d: i
nvalid
irq %d\n", __LINE__, irq); \
dump_stack(); }
dump_stack(); }
#define check_arg_cpu(cpu) \
#define check_arg_cpu(cpu) \
if (cpu < 0 || cpu >= NumProcessors){ \
if (cpu < 0 || cpu >= NumProcessors){ \
printk("open_pic.c:%d: i
llegal
cpu %d\n", __LINE__, cpu); \
printk("open_pic.c:%d: i
nvalid
cpu %d\n", __LINE__, cpu); \
dump_stack(); }
dump_stack(); }
#else
#else
#define check_arg_ipi(ipi) do {} while (0)
#define check_arg_ipi(ipi) do {} while (0)
...
...
arch/ppc64/kernel/open_pic.c
View file @
c63481f8
...
@@ -96,16 +96,16 @@ unsigned int openpic_vec_spurious;
...
@@ -96,16 +96,16 @@ unsigned int openpic_vec_spurious;
#if 0
#if 0
#define check_arg_ipi(ipi) \
#define check_arg_ipi(ipi) \
if (ipi < 0 || ipi >= OPENPIC_NUM_IPI) \
if (ipi < 0 || ipi >= OPENPIC_NUM_IPI) \
printk(KERN_ERR "open_pic.c:%d: i
llegal
ipi %d\n", __LINE__, ipi);
printk(KERN_ERR "open_pic.c:%d: i
nvalid
ipi %d\n", __LINE__, ipi);
#define check_arg_timer(timer) \
#define check_arg_timer(timer) \
if (timer < 0 || timer >= OPENPIC_NUM_TIMERS) \
if (timer < 0 || timer >= OPENPIC_NUM_TIMERS) \
printk(KERN_ERR "open_pic.c:%d: i
llegal
timer %d\n", __LINE__, timer);
printk(KERN_ERR "open_pic.c:%d: i
nvalid
timer %d\n", __LINE__, timer);
#define check_arg_vec(vec) \
#define check_arg_vec(vec) \
if (vec < 0 || vec >= OPENPIC_NUM_VECTORS) \
if (vec < 0 || vec >= OPENPIC_NUM_VECTORS) \
printk(KERN_ERR "open_pic.c:%d: i
llegal
vector %d\n", __LINE__, vec);
printk(KERN_ERR "open_pic.c:%d: i
nvalid
vector %d\n", __LINE__, vec);
#define check_arg_pri(pri) \
#define check_arg_pri(pri) \
if (pri < 0 || pri >= OPENPIC_NUM_PRI) \
if (pri < 0 || pri >= OPENPIC_NUM_PRI) \
printk(KERN_ERR "open_pic.c:%d: i
llegal
priority %d\n", __LINE__, pri);
printk(KERN_ERR "open_pic.c:%d: i
nvalid
priority %d\n", __LINE__, pri);
/*
/*
* Print out a backtrace if it's out of range, since if it's larger than NR_IRQ's
* Print out a backtrace if it's out of range, since if it's larger than NR_IRQ's
* data has probably been corrupted and we're going to panic or deadlock later
* data has probably been corrupted and we're going to panic or deadlock later
...
@@ -113,11 +113,11 @@ unsigned int openpic_vec_spurious;
...
@@ -113,11 +113,11 @@ unsigned int openpic_vec_spurious;
*/
*/
#define check_arg_irq(irq) \
#define check_arg_irq(irq) \
if (irq < open_pic_irq_offset || irq >= (NumSources+open_pic_irq_offset)){ \
if (irq < open_pic_irq_offset || irq >= (NumSources+open_pic_irq_offset)){ \
printk(KERN_ERR "open_pic.c:%d: i
llegal
irq %d\n", __LINE__, irq); \
printk(KERN_ERR "open_pic.c:%d: i
nvalid
irq %d\n", __LINE__, irq); \
dump_stack(); }
dump_stack(); }
#define check_arg_cpu(cpu) \
#define check_arg_cpu(cpu) \
if (cpu < 0 || cpu >= OPENPIC_MAX_PROCESSORS){ \
if (cpu < 0 || cpu >= OPENPIC_MAX_PROCESSORS){ \
printk(KERN_ERR "open_pic.c:%d: i
llegal
cpu %d\n", __LINE__, cpu); \
printk(KERN_ERR "open_pic.c:%d: i
nvalid
cpu %d\n", __LINE__, cpu); \
dump_stack(); }
dump_stack(); }
#else
#else
#define check_arg_ipi(ipi) do {} while (0)
#define check_arg_ipi(ipi) do {} while (0)
...
...
arch/sh/mm/cache-sh2.c
View file @
c63481f8
...
@@ -62,7 +62,7 @@ int __init detect_cpu_and_cache_system(void)
...
@@ -62,7 +62,7 @@ int __init detect_cpu_and_cache_system(void)
cpu_data
->
dcache
.
flags
=
0
;
cpu_data
->
dcache
.
flags
=
0
;
/*
/*
* SH-2 doesn't have sep
e
rate caches
* SH-2 doesn't have sep
a
rate caches
*/
*/
cpu_data
->
dcache
.
flags
|=
SH_CACHE_COMBINED
;
cpu_data
->
dcache
.
flags
|=
SH_CACHE_COMBINED
;
cpu_data
->
icache
=
cpu_data
->
dcache
;
cpu_data
->
icache
=
cpu_data
->
dcache
;
...
...
arch/sh/mm/cache-sh3.c
View file @
c63481f8
...
@@ -78,7 +78,7 @@ detect_cpu_and_cache_system(void)
...
@@ -78,7 +78,7 @@ detect_cpu_and_cache_system(void)
}
}
/*
/*
* SH-3 doesn't have sep
e
rate caches
* SH-3 doesn't have sep
a
rate caches
*/
*/
cpu_data
->
dcache
.
flags
|=
SH_CACHE_COMBINED
;
cpu_data
->
dcache
.
flags
|=
SH_CACHE_COMBINED
;
cpu_data
->
icache
=
cpu_data
->
dcache
;
cpu_data
->
icache
=
cpu_data
->
dcache
;
...
...
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