git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f94e2
)
tomoyo: cleanup. don't store bogus pointer
author
Dan Carpenter
<error27@gmail.com>
Sat, 7 Aug 2010 22:17:51 +0000
(
00:17
+0200)
committer
James Morris
<jmorris@namei.org>
Wed, 20 Oct 2010 23:12:32 +0000
(10:12 +1100)
If domain is NULL then &domain->list is a bogus address. Let's leave
head->r.domain NULL instead of saving an unusable pointer.
This is just a cleanup. The current code always checks head->r.eof
before dereferencing head->r.domain.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
No differences found