linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "nickcheng" <nick.cheng@areca.com.tw>
To: 'Andrew Morton' <akpm@linux-foundation.org>,
	James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, randy.dunlap@oracle.com,
	'Tomas Henzl' <thenzl@redhat.com>,
	viro@ftp.linux.org.uk
Subject: [PATCH] modify the type of element of MessageUnit_B in arcmsr
Date: Tue, 4 Mar 2008 17:49:59 +0800	[thread overview]
Message-ID: <005e01c87ddd$1c22db70$8800a8c0@Nick> (raw)
In-Reply-To: 

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

Subject: [PATCH] scsi: modify the element type of MessageUnit_B in
arcmsr-1.20.00.15-80227
From: Nick Cheng <nick.cheng@areca.com.tw>
Description:
*** modify the element type of MessageUnit_B in arcmsr-1.20.00.15-80227 to
keep off the error while doing iounmap in arcmsr_free_ccb_pool()
Signed-off-by: Nick Cheng <nick.cheng@areca.com.tw>

[-- Attachment #2: patch4arcmsr --]
[-- Type: application/octet-stream, Size: 925 bytes --]

diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h
index 0393707..3288be2 100644
--- a/drivers/scsi/arcmsr/arcmsr.h
+++ b/drivers/scsi/arcmsr/arcmsr.h
@@ -341,13 +341,13 @@ struct MessageUnit_B
 	uint32_t	done_qbuffer[ARCMSR_MAX_HBB_POSTQUEUE];
 	uint32_t	postq_index;
 	uint32_t	doneq_index;
-	uint32_t	__iomem *drv2iop_doorbell_reg;
-	uint32_t	__iomem *drv2iop_doorbell_mask_reg;
-	uint32_t	__iomem *iop2drv_doorbell_reg;
-	uint32_t	__iomem *iop2drv_doorbell_mask_reg;
-	uint32_t	__iomem *msgcode_rwbuffer_reg;
-	uint32_t	__iomem *ioctl_wbuffer_reg;
-	uint32_t	__iomem *ioctl_rbuffer_reg;
+	void		__iomem *drv2iop_doorbell_reg;
+	void		__iomem *drv2iop_doorbell_mask_reg;
+	void		__iomem *iop2drv_doorbell_reg;
+	void		__iomem *iop2drv_doorbell_mask_reg;
+	void		__iomem *msgcode_rwbuffer_reg;
+	void		__iomem *ioctl_wbuffer_reg;
+	void		__iomem *ioctl_rbuffer_reg;
 };
 
 /*

             reply	other threads:[~2008-03-04  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04  9:49 nickcheng [this message]
2008-03-04 16:39 ` [PATCH] modify the type of element of MessageUnit_B in arcmsr James Bottomley
2008-03-05  7:38   ` nickcheng
2008-03-05 15:30     ` James Bottomley
2008-03-06  2:04       ` nickcheng
2008-03-06 22:28         ` James Bottomley

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='005e01c87ddd$1c22db70$8800a8c0@Nick' \
    --to=nick.cheng@areca.com.tw \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=thenzl@redhat.com \
    --cc=viro@ftp.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).