From: Kev Jackson <foamdino@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [patch] Use DMA_32BIT_MASK where appropriate in
Date: Wed, 06 Jun 2007 08:27:49 +0000 [thread overview]
Message-ID: <46667005.3070001@gmail.com> (raw)
In-Reply-To: <ab8e556c0706052115uf8e3e13g6a01207eb7b1166a@mail.gmail.com>
From: Kev Jackson <foamdino@gmail.com>
-Remove TW_DMA_MASK use DMA_32BIT_MASK instead from kernel janitors TODO
Signed-off-by: Kev Jackson <foamdino@gmail.com>
---
Wrapping at 72 chars broke the previous patch, thuderbird setting modified
I've tested sending this from gmail -> yahoo and the received patch was
applied with no problems. Please let me know if this is now ok.
drivers/scsi/3w-xxxx.c | 2 +-
drivers/scsi/3w-xxxx.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c
index 656bdb1..15ca2a0 100644
--- a/drivers/scsi/3w-xxxx.c
+++ b/drivers/scsi/3w-xxxx.c
@@ -2338,7 +2338,7 @@ static int __devinit tw_probe(struct pci_dev *pdev, const struct pci_device_id *
pci_set_master(pdev);
- retval = pci_set_dma_mask(pdev, TW_DMA_MASK);
+ retval = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
if (retval) {
printk(KERN_WARNING "3w-xxxx: Failed to set dma mask.");
goto out_disable_device;
diff --git a/drivers/scsi/3w-xxxx.h b/drivers/scsi/3w-xxxx.h
index 0742e68..4efd6c2 100644
--- a/drivers/scsi/3w-xxxx.h
+++ b/drivers/scsi/3w-xxxx.h
@@ -234,7 +234,6 @@ static unsigned char tw_sense_table[][4] #define TW_IOCTL_TIMEOUT 25 /* 25 seconds */
#define TW_IOCTL_CHRDEV_TIMEOUT 60 /* 60 seconds */
#define TW_IOCTL_CHRDEV_FREE -1
-#define TW_DMA_MASK DMA_32BIT_MASK
#define TW_MAX_CDB_LEN 16
/* Bitmask macros to eliminate bitfields */
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2007-06-06 8:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 4:15 [KJ] [patch] use DMA_32BIT_MASK where appropriate in Kevin Jackson
2007-06-06 4:38 ` Randy Dunlap
2007-06-06 6:16 ` [KJ] [patch] Use " Kev Jackson
2007-06-06 6:17 ` [KJ] [patch] use DMA_32BIT_MASK where appropriate surya.prabhakar
2007-06-06 6:49 ` [KJ] [patch] Use " surya.prabhakar
2007-06-06 7:20 ` Kevin Jackson
2007-06-06 8:27 ` Kev Jackson [this message]
2007-06-06 9:28 ` Kevin Jackson
2007-06-06 9:36 ` surya.prabhakar
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=46667005.3070001@gmail.com \
--to=foamdino@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.