Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77103
b: refs/heads/master
c: 06a43d1
h: refs/heads/master
i:
  77101: 61fd976
  77099: 66de6df
  77095: faeb050
  77087: d9c6ab6
v: v3
  • Loading branch information
Salyzyn, Mark authored and James Bottomley committed Jan 23, 2008
1 parent 54b7a08 commit 5d65912
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17eaaceef52b1ce5ca061d49a1ff9ae56ccce1e1
refs/heads/master: 06a43d1725f59a0f5e043bd06081c44ae528098e
10 changes: 5 additions & 5 deletions trunk/drivers/scsi/aacraid/aachba.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,24 +1240,24 @@ int aac_get_adapter_info(struct aac_dev* dev)
memcpy(&dev->adapter_info, info, sizeof(*info));

if (dev->adapter_info.options & AAC_OPT_SUPPLEMENT_ADAPTER_INFO) {
struct aac_supplement_adapter_info * info;
struct aac_supplement_adapter_info * sinfo;

aac_fib_init(fibptr);

info = (struct aac_supplement_adapter_info *) fib_data(fibptr);
sinfo = (struct aac_supplement_adapter_info *) fib_data(fibptr);

memset(info,0,sizeof(*info));
memset(sinfo,0,sizeof(*sinfo));

rcode = aac_fib_send(RequestSupplementAdapterInfo,
fibptr,
sizeof(*info),
sizeof(*sinfo),
FsaNormal,
1, 1,
NULL,
NULL);

if (rcode >= 0)
memcpy(&dev->supplement_adapter_info, info, sizeof(*info));
memcpy(&dev->supplement_adapter_info, sinfo, sizeof(*sinfo));
}


Expand Down

0 comments on commit 5d65912

Please sign in to comment.