commit | cace658572ba5d1075f3891e823130a66f3e330f | [log] [tgz] |
---|---|---|
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | Mon Jan 03 22:37:31 2011 +0000 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jan 04 19:16:12 2011 -0800 |
tree | b615e42e2eac3ce2adb4d4cace8033df1ec748b9 | |
parent | 56b618820c92a5efa2145fbbac373fffbb024a94 [diff] |
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 <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>