Make r2048 more nice.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2049 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-09-04 13:22:56 +00:00
parent 38f2e60dfd
commit c0ab5d3b89
+1 -1
View File
@@ -736,7 +736,7 @@ static int scst_pr_do_load_device_file(struct scst_device *dev,
tid = &buf[pos];
pos += tid_size(tid);
key = (__force __be64)get_unaligned((uint64_t *)&buf[pos]);
key = get_unaligned((__be64 *)&buf[pos]);
pos += sizeof(key);
rel_tgt_id = get_unaligned((uint16_t *)&buf[pos]);