From: Tobias Klauser Date: Tue, 11 May 2010 07:10:23 +0000 (+0200) Subject: serial: bfin_sport_uart: Use resource size to fix off-by-one error X-Git-Tag: v2.6.35-rc1~458^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4;p=pandora-kernel.git serial: bfin_sport_uart: Use resource size to fix off-by-one error Use the resource_size function instead of manually calculating the resource size. This actually fixes an off-by-one error. Signed-off-by: Tobias Klauser Signed-off-by: Mike Frysinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed