]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hfsplus: fix warnings in fs/hfsplus/bfind.c
authorVyacheslav Dubeyko <slava@dubeyko.com>
Wed, 20 Mar 2013 04:08:24 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:24 +0000 (16:34 +1100)
commita65ab84470698f2f367763c70378273aabb73a7a
treec808fe58049505196d55fcb28e41381ef5387f5d
parent8bdf6e8af1e82e6a2b14908f086b696527d35726
hfsplus: fix warnings in fs/hfsplus/bfind.c

fs/hfsplus/bfind.c: In function 'hfs_find_1st_rec_by_cnid':
(1) include/uapi/linux/swab.h:60:2: warning: 'search_cnid' may be used uninitialized in this function [-Wmaybe-uninitialized]
(2) include/uapi/linux/swab.h:60:2: warning: 'cur_cnid' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hfsplus/bfind.c