Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22604
b: refs/heads/master
c: fd1e29e
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and James Bottomley committed Mar 12, 2006
1 parent 1300d19 commit 0566639
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: d63a4cccf387a8e6210cfd818c1ea717beefc531
refs/heads/master: fd1e29ed62cc307281d1a62f73ebac059ac6b6a1
5 changes: 2 additions & 3 deletions trunk/drivers/scsi/FlashPoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@



typedef unsigned short * ushort_ptr;


#define s08bits char
Expand Down Expand Up @@ -6003,7 +6002,7 @@ static void FPT_scasid(unsigned char p_card, unsigned long p_port)
unsigned char i,k,scam_id;
unsigned char crcBytes[3];
PNVRamInfo pCurrNvRam;
ushort_ptr pCrcBytes;
unsigned short * pCrcBytes;

pCurrNvRam = FPT_BL_Card[p_card].pNvRamInfo;

Expand All @@ -6023,7 +6022,7 @@ static void FPT_scasid(unsigned char p_card, unsigned long p_port)
if (!(FPT_sciso(p_port,&temp_id_string[0])))
{
if(pCurrNvRam){
pCrcBytes = (ushort_ptr)&crcBytes[0];
pCrcBytes = (unsigned short *)&crcBytes[0];
*pCrcBytes = FPT_CalcCrc16(&temp_id_string[0]);
crcBytes[2] = FPT_CalcLrc(&temp_id_string[0]);
temp_id_string[1] = crcBytes[2];
Expand Down

0 comments on commit 0566639

Please sign in to comment.