projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97cbe08
)
[SCSI] aacraid: Fix sgmap error
author
Mark Haverkamp
<markh@osdl.org>
Thu, 7 Jul 2005 20:40:00 +0000
(13:40 -0700)
committer
James Bottomley
<jejb@mulgrave.(none)>
Thu, 14 Jul 2005 15:14:45 +0000
(11:14 -0400)
The wrong sgmap structure is being assigned in aac_send_raw_srb.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/commctrl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/aacraid/commctrl.c
b/drivers/scsi/aacraid/commctrl.c
index 1fef92d55dee1097888c4b2b6f52eacc1611d210..d005ad77378d6e47ca124850c997ba3d84225ef8 100644
(file)
--- a/
drivers/scsi/aacraid/commctrl.c
+++ b/
drivers/scsi/aacraid/commctrl.c
@@
-517,7
+517,7
@@
static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)
}
if (dev->dac_support == 1) {
struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg;
- struct sgmap64* psg = (struct sgmap64*)&
user_
srbcmd->sg;
+ struct sgmap64* psg = (struct sgmap64*)&srbcmd->sg;
struct user_sgmap* usg;
byte_count = 0;