* [KJ] [PATCH 7/15] FlashPoint: remove ushort_ptr
@ 2005-07-06 23:05 Alexey Dobriyan
0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-07-06 23:05 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/scsi/FlashPoint.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: linux-flashpoint/drivers/scsi/FlashPoint.c
===================================================================
--- linux-flashpoint.orig/drivers/scsi/FlashPoint.c 2005-07-06 23:46:25.000000000 +0400
+++ linux-flashpoint/drivers/scsi/FlashPoint.c 2005-07-06 23:47:18.000000000 +0400
@@ -42,7 +42,6 @@
-typedef unsigned short * ushort_ptr;
#define s08bits char
@@ -6003,7 +6002,7 @@ static void FPT_scasid(unsigned char p_c
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;
@@ -6023,7 +6022,7 @@ static void FPT_scasid(unsigned char p_c
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];
[-- Attachment #2: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-06 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 23:05 [KJ] [PATCH 7/15] FlashPoint: remove ushort_ptr Alexey Dobriyan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.