From: Andrew Morton Date: Mon, 27 Mar 2006 09:17:48 +0000 (-0800) Subject: [PATCH] dm: remove SECTOR_FORMAT X-Git-Tag: v2.6.17-rc1~312 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee218cd67b385759993a6c840ea45f0ee0a8b30;p=pandora-kernel.git [PATCH] dm: remove SECTOR_FORMAT We don't know what type sector_t has. Sometimes it's unsigned long, sometimes it's unsigned long long. For example on ppc64 it's unsigned long with CONFIG_LBD=n and on x86_64 it's unsigned long long with CONFIG_LBD=n. The way to handle all of this is to always use unsigned long long and to always typecast the sector_t when printing it. Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed