mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Fix for a problem found by Saar David <liorg@ged-I.com>: the missed << 24 added.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -354,6 +354,7 @@ static int do_exec(struct vdisk_cmd *vcmd)
|
||||
lba_start |= ((uint64_t)cdb[3]) << 48;
|
||||
lba_start |= ((uint64_t)cdb[4]) << 40;
|
||||
lba_start |= ((uint64_t)cdb[5]) << 32;
|
||||
lba_start |= ((uint64_t)cdb[6]) << 24;
|
||||
lba_start |= ((uint64_t)cdb[6]) << 16;
|
||||
lba_start |= ((uint64_t)cdb[7]) << 8;
|
||||
lba_start |= ((uint64_t)cdb[8]);
|
||||
|
||||
Reference in New Issue
Block a user