diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-05-11 09:10:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 18:34:30 +0200 |
commit | e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4 (patch) | |
tree | ecf15b6b570aa7d0bfa92fe0e71c9d085622b1a5 /drivers/uio | |
parent | tty: fix obsolete comment on tty_insert_flip_string_fixed_flag (diff) | |
download | linux-e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4.tar.xz linux-e114474cf5c7fe7ab94dd4f5938ffa51c9af77c4.zip |
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 <tklauser@distanz.ch>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions