From: Russell King - ARM Linux Date: Mon, 3 Jan 2011 22:37:31 +0000 (+0000) Subject: ARM: PL08x: use 'size_t' for lengths X-Git-Tag: v2.6.38-rc1~25^2~11^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cace658572ba5d1075f3891e823130a66f3e330f;p=pandora-kernel.git ARM: PL08x: use 'size_t' for lengths Use size_t for variables denoting lengths throughout, and use the 'z' qualifier for printing the value. For safety, add a BUG_ON() in pl08x_fill_lli_for_desc() to catch the remainder potentially becoming negative. Signed-off-by: Russell King Acked-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed