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
3e13d6b5
Commit
3e13d6b5
authored
Jul 12, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jul 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: alpha NULL noise removal
parent
0bc20408
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
arch/alpha/kernel/irq.c
arch/alpha/kernel/irq.c
+1
-1
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/osf_sys.c
+2
-2
arch/alpha/kernel/process.c
arch/alpha/kernel/process.c
+1
-1
arch/alpha/kernel/smc37c669.c
arch/alpha/kernel/smc37c669.c
+2
-2
arch/alpha/kernel/smp.c
arch/alpha/kernel/smp.c
+1
-1
arch/alpha/kernel/traps.c
arch/alpha/kernel/traps.c
+3
-3
include/asm-alpha/pgalloc.h
include/asm-alpha/pgalloc.h
+1
-1
include/asm-alpha/spinlock.h
include/asm-alpha/spinlock.h
+2
-2
No files found.
arch/alpha/kernel/irq.c
View file @
3e13d6b5
...
...
@@ -361,7 +361,7 @@ init_irq_proc (void)
int
i
;
/* create /proc/irq */
root_irq_dir
=
proc_mkdir
(
"irq"
,
0
);
root_irq_dir
=
proc_mkdir
(
"irq"
,
NULL
);
#ifdef CONFIG_SMP
/* create /proc/irq/prof_cpu_mask */
...
...
arch/alpha/kernel/osf_sys.c
View file @
3e13d6b5
...
...
@@ -762,7 +762,7 @@ osf_setsysinfo(unsigned long op, void __user *buffer, unsigned long nbytes,
info
.
si_signo
=
SIGFPE
;
info
.
si_errno
=
0
;
info
.
si_code
=
si_code
;
info
.
si_addr
=
0
;
/* FIXME */
info
.
si_addr
=
NULL
;
/* FIXME */
send_sig_info
(
SIGFPE
,
&
info
,
current
);
}
...
...
@@ -956,7 +956,7 @@ osf_utimes(char __user *filename, struct timeval32 __user *tvs)
return
-
EFAULT
;
}
return
do_utimes
(
filename
,
tvs
?
ktvs
:
0
);
return
do_utimes
(
filename
,
tvs
?
ktvs
:
NULL
);
}
#define MAX_SELECT_SECONDS \
...
...
arch/alpha/kernel/process.c
View file @
3e13d6b5
...
...
@@ -189,7 +189,7 @@ EXPORT_SYMBOL(machine_power_off);
void
show_regs
(
struct
pt_regs
*
regs
)
{
dik_show_regs
(
regs
,
0
);
dik_show_regs
(
regs
,
NULL
);
}
/*
...
...
arch/alpha/kernel/smc37c669.c
View file @
3e13d6b5
...
...
@@ -996,7 +996,7 @@ static SMC37c669_CONFIG_REGS *SMC37c669 __initdata = NULL;
** and standard ISA IRQs.
**
*/
static
SMC37c669_IRQ_TRANSLATION_ENTRY
*
SMC37c669_irq_table
__initdata
=
0
;
static
SMC37c669_IRQ_TRANSLATION_ENTRY
*
SMC37c669_irq_table
__initdata
;
/*
** The following definition is for the default IRQ
...
...
@@ -1045,7 +1045,7 @@ static SMC37c669_IRQ_TRANSLATION_ENTRY *SMC37c669_irq_tables[] __initdata =
** ISA DMA channels.
**
*/
static
SMC37c669_DRQ_TRANSLATION_ENTRY
*
SMC37c669_drq_table
__initdata
=
0
;
static
SMC37c669_DRQ_TRANSLATION_ENTRY
*
SMC37c669_drq_table
__initdata
;
/*
** The following definition is the default DRQ
...
...
arch/alpha/kernel/smp.c
View file @
3e13d6b5
...
...
@@ -864,7 +864,7 @@ smp_call_function_on_cpu (void (*func) (void *info), void *info, int retry,
/* We either got one or timed out -- clear the lock. */
mb
();
smp_call_function_data
=
0
;
smp_call_function_data
=
NULL
;
/*
* If after both the initial and long timeout periods we still don't
...
...
arch/alpha/kernel/traps.c
View file @
3e13d6b5
...
...
@@ -223,7 +223,7 @@ do_entArith(unsigned long summary, unsigned long write_mask,
if
(
si_code
==
0
)
return
;
}
die_if_kernel
(
"Arithmetic fault"
,
regs
,
0
,
0
);
die_if_kernel
(
"Arithmetic fault"
,
regs
,
0
,
NULL
);
info
.
si_signo
=
SIGFPE
;
info
.
si_errno
=
0
;
...
...
@@ -247,7 +247,7 @@ do_entIF(unsigned long type, struct pt_regs *regs)
data
[
0
]);
}
die_if_kernel
((
type
==
1
?
"Kernel Bug"
:
"Instruction fault"
),
regs
,
type
,
0
);
regs
,
type
,
NULL
);
}
switch
(
type
)
{
...
...
@@ -410,7 +410,7 @@ do_entDbg(struct pt_regs *regs)
{
siginfo_t
info
;
die_if_kernel
(
"Instruction fault"
,
regs
,
0
,
0
);
die_if_kernel
(
"Instruction fault"
,
regs
,
0
,
NULL
);
info
.
si_signo
=
SIGILL
;
info
.
si_errno
=
0
;
...
...
include/asm-alpha/pgalloc.h
View file @
3e13d6b5
...
...
@@ -66,7 +66,7 @@ pte_alloc_one(struct mm_struct *mm, unsigned long addr)
pte_t
*
pte
=
pte_alloc_one_kernel
(
mm
,
addr
);
if
(
pte
)
return
virt_to_page
(
pte
);
return
0
;
return
NULL
;
}
static
inline
void
...
...
include/asm-alpha/spinlock.h
View file @
3e13d6b5
...
...
@@ -26,9 +26,9 @@ typedef struct {
}
spinlock_t
;
#ifdef CONFIG_DEBUG_SPINLOCK
#define SPIN_LOCK_UNLOCKED (spinlock_t) {0, -1, 0,
0, 0, 0
}
#define SPIN_LOCK_UNLOCKED (spinlock_t) {0, -1, 0,
NULL, NULL, NULL
}
#define spin_lock_init(x) \
((x)->lock = 0, (x)->on_cpu = -1, (x)->previous =
0, (x)->task = 0
)
((x)->lock = 0, (x)->on_cpu = -1, (x)->previous =
NULL, (x)->task = NULL
)
#else
#define SPIN_LOCK_UNLOCKED (spinlock_t) { 0 }
#define spin_lock_init(x) ((x)->lock = 0)
...
...
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