projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f17310
)
[libata] sata_dwc_460ex: signdness bug
author
Dan Carpenter
<error27@gmail.com>
Sat, 21 Aug 2010 08:43:25 +0000
(10:43 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 25 Aug 2010 23:24:16 +0000
(19:24 -0400)
dma_dwc_xfer_setup() returns an int and "dma_chan" needs to be signed
for the error handling to work.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_dwc_460ex.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_dwc_460ex.c
b/drivers/ata/sata_dwc_460ex.c
index 2673a3d1480654ceec39f2ab144b15cde72ba72e..6cf57c5c2b5f3d50d966e63bf1e1ad0d32dea13d 100644
(file)
--- a/
drivers/ata/sata_dwc_460ex.c
+++ b/
drivers/ata/sata_dwc_460ex.c
@@
-1459,7
+1459,7
@@
static void sata_dwc_qc_prep_by_tag(struct ata_queued_cmd *qc, u8 tag)
{
struct scatterlist *sg = qc->sg;
struct ata_port *ap = qc->ap;
-
u32
dma_chan;
+
int
dma_chan;
struct sata_dwc_device *hsdev = HSDEV_FROM_AP(ap);
struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
int err;