From: Alexey Dobriyan <adobriyan@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH 7/15] FlashPoint: remove ushort_ptr
Date: Wed, 06 Jul 2005 23:05:39 +0000 [thread overview]
Message-ID: <200507070305.39975.adobriyan@gmail.com> (raw)
[-- 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
reply other threads:[~2005-07-06 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200507070305.39975.adobriyan@gmail.com \
--to=adobriyan@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.