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:
f480f80
)
ASoC: SOF: change type char to uint8_t in topology.h
author
Pan Xiuli
<xiuli.pan@linux.intel.com>
Wed, 15 Apr 2020 20:28:05 +0000
(15:28 -0500)
committer
Mark Brown
<broonie@kernel.org>
Wed, 15 Apr 2020 23:23:09 +0000
(
00:23
+0100)
Use uint8_t to replace char in packed ABI structs
to have fixed length for struct.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link:
https://lore.kernel.org/r/20200415202816.934-14-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/topology.h
patch
|
blob
|
history
diff --git
a/include/sound/sof/topology.h
b/include/sound/sof/topology.h
index
8f8d1cf
..
6a6b479
100644
(file)
--- a/
include/sound/sof/topology.h
+++ b/
include/sound/sof/topology.h
@@
-220,7
+220,7
@@
struct sof_ipc_comp_process {
/* reserved for future use */
uint32_t reserved[7];
- u
nsigned char
data[0];
+ u
int8_t
data[0];
} __packed;
/* frees components, buffers and pipelines