OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f9280a
)
[media] dm1105: fix sparse warning
author
Hans Verkuil
<hans.verkuil@cisco.com>
Thu, 21 Aug 2014 14:50:34 +0000
(11:50 -0300)
committer
Mauro Carvalho Chehab
<m.chehab@samsung.com>
Wed, 3 Sep 2014 13:32:59 +0000
(10:32 -0300)
drivers/media/pci/dm1105/dm1105.c:617:9: warning: incorrect type in argument 1 (different base types)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/dm1105/dm1105.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/dm1105/dm1105.c
b/drivers/media/pci/dm1105/dm1105.c
index
e8826c5
..
ed11716
100644
(file)
--- a/
drivers/media/pci/dm1105/dm1105.c
+++ b/
drivers/media/pci/dm1105/dm1105.c
@@
-614,7
+614,7
@@
static int dm1105_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage)
static void dm1105_set_dma_addr(struct dm1105_dev *dev)
{
- dm_writel(DM1105_STADR, cpu_to_le32(dev->dma_addr));
+ dm_writel(DM1105_STADR,
(__force u32)
cpu_to_le32(dev->dma_addr));
}
static int dm1105_dma_map(struct dm1105_dev *dev)