From: Nicolas Pitre Date: Thu, 21 Aug 2008 22:09:48 +0000 (+0100) Subject: [ARM] 5211/2: fix a couple warnings from BUG() usage X-Git-Tag: v2.6.28-rc1~293^2~9^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d81030a1badb4e4d08358ff2c2bda9b11d5a6559;p=pandora-kernel.git [ARM] 5211/2: fix a couple warnings from BUG() usage When CONFIG_DEBUG_BUGVERBOSE is not set, we get warnings such as: arch/arm/mm/ioremap.c: In function ‘remap_area_pte’: arch/arm/mm/ioremap.c:67: warning: control reaches end of non-void function mm/bootmem.c: In function ‘mark_bootmem’: mm/bootmem.c:321: warning: control reaches end of non-void function fs/dcache.c: In function ‘d_materialise_unique’: fs/dcache.c:1875: warning: control reaches end of non-void function fs/nfs/client.c: In function ‘nfs_sockaddr_match_ipaddr’: fs/nfs/client.c:251: warning: control reaches end of non-void function block/cfq-iosched.c: In function ‘cfq_async_queue_prio’: block/cfq-iosched.c:1501: warning: control reaches end of non-void function Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed