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:
4e91672
)
bd_claim_by_disk: fix warning
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 16 Jul 2007 06:41:28 +0000
(23:41 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:50 +0000
(09:05 -0700)
Fix this:
fs/block_dev.c: In function 'bd_claim_by_disk':
fs/block_dev.c:970: warning: 'found' may be used uninitialized in this function
and given that free_bd_holder() now needs free(NULL)-is-legal behaviour, we
can simplify bd_release_from_kobject().
Cc: Bjorn Steinbrink <B.Steinbrink@gmx.de>
Cc: Johannes Weiner <hannes-kernel@saeurebad.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/block_dev.c
patch
|
blob
|
history
diff --cc
fs/block_dev.c
Simple merge