summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-03-11 23:08:18 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-19 15:17:56 +0100
commit231443665882a02214c3748b9f86615a3ce9e5c2 (patch)
tree46063b96172dc6579fdae2e774ceaff8027d22cb /Kbuild
parenttty_buffer: Fix distinct type warning (diff)
downloadlinux-231443665882a02214c3748b9f86615a3ce9e5c2.tar.xz
linux-231443665882a02214c3748b9f86615a3ce9e5c2.zip
tty: cpm_uart: use resource_size()
Use the resource_size function instead of manually calculating the resource size. This reduces the chance of introducing off-by-one errors. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Kumar Gala <galak@gate.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions