diff options
| author | Tobias Klauser <[email protected]> | 2010-03-11 22:08:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-03-19 14:17:56 +0000 |
| commit | 231443665882a02214c3748b9f86615a3ce9e5c2 (patch) | |
| tree | 46063b96172dc6579fdae2e774ceaff8027d22cb /lib/debugobjects.c | |
| parent | tty_buffer: Fix distinct type warning (diff) | |
| download | kernel-231443665882a02214c3748b9f86615a3ce9e5c2.tar.gz kernel-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 <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: Kumar Gala <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
