summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-11-08 12:51:16 +0300
committerVinod Koul <vinod.koul@intel.com>2013-11-13 18:49:44 +0530
commit2f986ec6fa57a5dcf77f19f5f0d44b1f680a100f (patch)
tree8e3f0d92d7910160e0f697b9ce022461af937b1a /drivers
parent02808b427689d46136d9662c5013145f70119f42 (diff)
downloadlinux-2f986ec6fa57a5dcf77f19f5f0d44b1f680a100f.tar.bz2
dma: pl330: silence a compile warning
On 64 bit systems GCC warns that: drivers/dma/pl330.c: In function ‘pl330_filter’: drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] It's harmless and I have casted it away. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index ebd23b036a69..0ee2c547b304 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2314,7 +2314,7 @@ bool pl330_filter(struct dma_chan *chan, void *param)
return false;
peri_id = chan->private;
- return *peri_id == (unsigned)param;
+ return *peri_id == (unsigned long)param;
}
EXPORT_SYMBOL(pl330_filter);