summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1390.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@gmail.com>2009-05-01 20:29:53 +0200
committerBorislav Petkov <petkovbb@gmail.com>2009-05-15 06:43:45 +0200
commit10c0b3437c4dc0d14ac254bbe71e54ea5f238d97 (patch)
tree8d40e72ad1c096bcb4d4ca0475f62e9bebbec647 /drivers/rtc/rtc-ds1390.c
parentsplice: fix error return code (diff)
downloadlinux-10c0b3437c4dc0d14ac254bbe71e54ea5f238d97.tar.xz
linux-10c0b3437c4dc0d14ac254bbe71e54ea5f238d97.zip
ide-tape: fix potential fs requests bug
ide-tape had a potential bug for fs requests when preparing the command packet: it was writing the transfer length as a number of fixed blocks. However, the block layer implies 512 byte blocks and ide-tape can have other block sizes so account for that too. ide-floppy does this calculation properly with the block size factor (floppy->bs_factor). Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1390.c')
0 files changed, 0 insertions, 0 deletions