projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c2e8e6
)
dmaengine: omap-dma: Correct type2 descriptor's member types
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Tue, 13 Sep 2016 07:58:43 +0000
(10:58 +0300)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 14 Sep 2016 13:32:11 +0000
(19:02 +0530)
The type of CDEI, CSEI, CDFI and CSFI is signed.
This did not caused issue so far as we only use unsigned values.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/omap-dma.c
b/drivers/dma/omap-dma.c
index aef52011d7c0194573f761b347fbc14cfa1d0223..1b7f5f32bf7457729aad5c86971a7cee1bd876cf 100644
(file)
--- a/
drivers/dma/omap-dma.c
+++ b/
drivers/dma/omap-dma.c
@@
-71,10
+71,10
@@
struct omap_type2_desc {
uint32_t addr; /* src or dst */
uint16_t fn;
uint16_t cicr;
-
u
int16_t cdei;
-
u
int16_t csei;
-
u
int32_t cdfi;
-
u
int32_t csfi;
+ int16_t cdei;
+ int16_t csei;
+ int32_t cdfi;
+ int32_t csfi;
} __packed;
struct omap_sg {