diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 16:39:45 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 09:14:07 -0800 |
commit | 95389b86fd07660970a3e6498405d53037c035e9 (patch) | |
tree | 6814032c730675fae1958491210840aef5fa15e9 /drivers/scsi/osst.c | |
parent | b4377356450e2358f5f92d34f130d6cb6574bf76 (diff) | |
download | kernel_samsung_espresso10-95389b86fd07660970a3e6498405d53037c035e9.zip kernel_samsung_espresso10-95389b86fd07660970a3e6498405d53037c035e9.tar.gz kernel_samsung_espresso10-95389b86fd07660970a3e6498405d53037c035e9.tar.bz2 |
[PATCH] osst endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/osst.c')
-rw-r--r-- | drivers/scsi/osst.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 7d23110..bd6bbf6 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c @@ -521,10 +521,10 @@ static void osst_init_aux(struct osst_tape * STp, int frame_type, int frame_seq_ break; default: ; /* probably FILL */ } - aux->filemark_cnt = ntohl(STp->filemark_cnt); - aux->phys_fm = ntohl(0xffffffff); - aux->last_mark_ppos = ntohl(STp->last_mark_ppos); - aux->last_mark_lbn = ntohl(STp->last_mark_lbn); + aux->filemark_cnt = htonl(STp->filemark_cnt); + aux->phys_fm = htonl(0xffffffff); + aux->last_mark_ppos = htonl(STp->last_mark_ppos); + aux->last_mark_lbn = htonl(STp->last_mark_lbn); } /* |