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
6079e248
Commit
6079e248
authored
Jun 30, 2004
by
Mika Kukkonen
Committed by
Linus Torvalds
Jun 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: NULL vs 0 - the rest of it
parent
c64c8daa
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
include/linux/init_task.h
include/linux/init_task.h
+1
-1
ipc/msg.c
ipc/msg.c
+1
-1
ipc/sem.c
ipc/sem.c
+1
-1
ipc/shm.c
ipc/shm.c
+1
-1
kernel/futex.c
kernel/futex.c
+1
-1
kernel/power/pm.c
kernel/power/pm.c
+1
-1
mm/filemap.c
mm/filemap.c
+1
-1
mm/rmap.c
mm/rmap.c
+1
-1
No files found.
include/linux/init_task.h
View file @
6079e248
...
...
@@ -54,7 +54,7 @@
#define INIT_SIGHAND(sighand) { \
.count = ATOMIC_INIT(1), \
.action = { {{
0,}}, },
\
.action = { {{
NULL,}}, },
\
.siglock = SPIN_LOCK_UNLOCKED, \
}
...
...
ipc/msg.c
View file @
6079e248
...
...
@@ -80,7 +80,7 @@ void __init msg_init (void)
ipc_init_ids
(
&
msg_ids
,
msg_ctlmni
);
#ifdef CONFIG_PROC_FS
create_proc_read_entry
(
"sysvipc/msg"
,
0
,
0
,
sysvipc_msg_read_proc
,
NULL
);
create_proc_read_entry
(
"sysvipc/msg"
,
0
,
NULL
,
sysvipc_msg_read_proc
,
NULL
);
#endif
}
...
...
ipc/sem.c
View file @
6079e248
...
...
@@ -116,7 +116,7 @@ void __init sem_init (void)
ipc_init_ids
(
&
sem_ids
,
sc_semmni
);
#ifdef CONFIG_PROC_FS
create_proc_read_entry
(
"sysvipc/sem"
,
0
,
0
,
sysvipc_sem_read_proc
,
NULL
);
create_proc_read_entry
(
"sysvipc/sem"
,
0
,
NULL
,
sysvipc_sem_read_proc
,
NULL
);
#endif
}
...
...
ipc/shm.c
View file @
6079e248
...
...
@@ -60,7 +60,7 @@ void __init shm_init (void)
{
ipc_init_ids
(
&
shm_ids
,
1
);
#ifdef CONFIG_PROC_FS
create_proc_read_entry
(
"sysvipc/shm"
,
0
,
0
,
sysvipc_shm_read_proc
,
NULL
);
create_proc_read_entry
(
"sysvipc/shm"
,
0
,
NULL
,
sysvipc_shm_read_proc
,
NULL
);
#endif
}
...
...
kernel/futex.c
View file @
6079e248
...
...
@@ -276,7 +276,7 @@ static void wake_futex(struct futex_q *q)
* The waiting task can free the futex_q as soon as this is written,
* without taking any locks. This must come last.
*/
q
->
lock_ptr
=
0
;
q
->
lock_ptr
=
NULL
;
}
/*
...
...
kernel/power/pm.c
View file @
6079e248
...
...
@@ -282,7 +282,7 @@ struct pm_dev *pm_find(pm_dev_t type, struct pm_dev *from)
return
dev
;
entry
=
entry
->
next
;
}
return
0
;
return
NULL
;
}
EXPORT_SYMBOL
(
pm_register
);
...
...
mm/filemap.c
View file @
6079e248
...
...
@@ -2021,7 +2021,7 @@ generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov,
err
=
written
?
written
:
status
;
out:
pagevec_lru_add
(
&
lru_pvec
);
current
->
backing_dev_info
=
0
;
current
->
backing_dev_info
=
NULL
;
return
err
;
}
...
...
mm/rmap.c
View file @
6079e248
...
...
@@ -740,7 +740,7 @@ static inline int try_to_unmap_file(struct page *page)
list_for_each_entry
(
vma
,
&
mapping
->
i_mmap_nonlinear
,
shared
.
vm_set
.
list
)
{
if
(
!
(
vma
->
vm_flags
&
VM_RESERVED
))
vma
->
vm_private_data
=
0
;
vma
->
vm_private_data
=
NULL
;
}
relock:
page_map_lock
(
page
);
...
...
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