Created
September 16, 2017 11:43
-
-
Save andrey-utkin/b1747c530d82a3606dd1a374bf48e432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:30:09 Sat 16 Sep j@starlite /usr/local/src/linux | |
$ ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- make M=sound/soc/omap --keep-going | |
CC [M] sound/soc/omap/omap-mcasp.o | |
sound/soc/omap/omap-mcasp.c: In function 'asoc_mcasp_probe': | |
sound/soc/omap/omap-mcasp.c:623:16: error: implicit declaration of function 'devm_request_and_ioremap' [-Werror=implicit-function-declaration] | |
mcasp->base = devm_request_and_ioremap(&pdev->dev, res); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-mcasp.c:623:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] | |
mcasp->base = devm_request_and_ioremap(&pdev->dev, res); | |
^ | |
sound/soc/omap/omap-mcasp.c:657:29: error: passing argument 1 of 'snd_soc_register_dai' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
ret = snd_soc_register_dai(&pdev->dev, &omap_mcasp_dai); | |
^ | |
In file included from sound/soc/omap/omap-mcasp.c:32:0: | |
./include/sound/soc.h:1692:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct device *' | |
int snd_soc_register_dai(struct snd_soc_component *component, | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-mcasp.c: In function 'asoc_mcasp_remove': | |
sound/soc/omap/omap-mcasp.c:675:2: error: implicit declaration of function 'snd_soc_unregister_dai' [-Werror=implicit-function-declaration] | |
snd_soc_unregister_dai(&pdev->dev); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-mcasp.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-core.o | |
In file included from sound/soc/omap/omap-abe-core.c:38:0: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-core.c: At top level: | |
sound/soc/omap/omap-abe-core.c:147:9: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: In function 'abe_load_coeffs': | |
sound/soc/omap/omap-abe-core.c:150:65: error: passing argument 1 of 'snd_soc_fw_get_data' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
const struct snd_soc_file_coeff_data *cd = snd_soc_fw_get_data(hdr); | |
^~~ | |
In file included from sound/soc/omap/omap-abe-core.c:38:0: | |
./include/sound/soc-fw.h:99:27: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:151:2: error: invalid use of undefined type 'struct snd_soc_file_coeff_data' | |
const void *coeff_data = cd + 1; | |
^~~~~ | |
In file included from ./include/linux/platform_device.h:14:0, | |
from sound/soc/omap/omap-abe-core.c:28: | |
sound/soc/omap/omap-abe-core.c:154:5: error: dereferencing pointer to incomplete type 'const struct snd_soc_file_coeff_data' | |
cd->id, cd->size, cd->count); | |
^ | |
./include/linux/device.h:1331:41: note: in definition of macro 'dev_dbg' | |
dev_printk(KERN_DEBUG, dev, format, ##arg); \ | |
^~~ | |
sound/soc/omap/omap-abe-core.c: At top level: | |
sound/soc/omap/omap-abe-core.c:214:9: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: In function 'abe_load_fw': | |
sound/soc/omap/omap-abe-core.c:217:44: error: passing argument 1 of 'snd_soc_fw_get_data' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
const void *fw_data = snd_soc_fw_get_data(hdr); | |
^~~ | |
In file included from sound/soc/omap/omap-abe-core.c:38:0: | |
./include/sound/soc-fw.h:99:27: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:221:9: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
if (hdr->size > OMAP_ABE_MAX_FW_SIZE) { | |
^~ | |
sound/soc/omap/omap-abe-core.c: At top level: | |
sound/soc/omap/omap-abe-core.c:247:9: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: In function 'abe_load_config': | |
sound/soc/omap/omap-abe-core.c:250:44: error: passing argument 1 of 'snd_soc_fw_get_data' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
const void *fw_data = snd_soc_fw_get_data(hdr); | |
^~~ | |
In file included from sound/soc/omap/omap-abe-core.c:38:0: | |
./include/sound/soc-fw.h:99:27: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/linux/platform_device.h:14:0, | |
from sound/soc/omap/omap-abe-core.c:28: | |
sound/soc/omap/omap-abe-core.c:253:54: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
dev_info(abe->dev, "ABE Config size %d bytes\n", hdr->size); | |
^ | |
./include/linux/device.h:1317:58: note: in definition of macro 'dev_info' | |
#define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg) | |
^~~ | |
sound/soc/omap/omap-abe-core.c:255:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | |
abe->fw_config = fw_data; | |
^ | |
sound/soc/omap/omap-abe-core.c: At top level: | |
sound/soc/omap/omap-abe-core.c:273:9: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: In function 'abe_vendor_load': | |
sound/soc/omap/omap-abe-core.c:276:13: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
switch (hdr->type) { | |
^~ | |
sound/soc/omap/omap-abe-core.c:277:7: error: 'SND_SOC_FW_VENDOR_FW' undeclared (first use in this function) | |
case SND_SOC_FW_VENDOR_FW: | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:277:7: note: each undeclared identifier is reported only once for each function it appears in | |
sound/soc/omap/omap-abe-core.c:278:32: error: passing argument 2 of 'abe_load_fw' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
return abe_load_fw(platform, hdr); | |
^~~ | |
sound/soc/omap/omap-abe-core.c:213:12: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static int abe_load_fw(struct snd_soc_platform *platform, | |
^~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:279:7: error: 'SND_SOC_FW_VENDOR_CONFIG' undeclared (first use in this function) | |
case SND_SOC_FW_VENDOR_CONFIG: | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:280:36: error: passing argument 2 of 'abe_load_config' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
return abe_load_config(platform, hdr); | |
^~~ | |
sound/soc/omap/omap-abe-core.c:246:12: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static int abe_load_config(struct snd_soc_platform *platform, | |
^~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:281:7: error: 'SND_SOC_FW_COEFF' undeclared (first use in this function) | |
case SND_SOC_FW_COEFF: | |
^~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:282:36: error: passing argument 2 of 'abe_load_coeffs' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
return abe_load_coeffs(platform, hdr); | |
^~~ | |
sound/soc/omap/omap-abe-core.c:146:12: note: expected 'struct snd_soc_fw_hdr *' but argument is of type 'struct snd_soc_fw_hdr *' | |
static int abe_load_coeffs(struct snd_soc_platform *platform, | |
^~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:283:7: error: 'SND_SOC_FW_VENDOR_CODEC' undeclared (first use in this function) | |
case SND_SOC_FW_VENDOR_CODEC: | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: At top level: | |
sound/soc/omap/omap-abe-core.c:293:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.vendor_load = abe_vendor_load, | |
^~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:293:17: note: (near initialization for 'soc_fw_ops.vendor_load') | |
sound/soc/omap/omap-abe-core.c:377:2: error: unknown field 'suspend' specified in initializer | |
.suspend = abe_pm_suspend, | |
^ | |
sound/soc/omap/omap-abe-core.c:377:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.suspend = abe_pm_suspend, | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:377:13: note: (near initialization for 'omap_aess_platform.component_driver.name') | |
sound/soc/omap/omap-abe-core.c:378:2: error: unknown field 'resume' specified in initializer | |
.resume = abe_pm_resume, | |
^ | |
sound/soc/omap/omap-abe-core.c:378:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.resume = abe_pm_resume, | |
^~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:378:13: note: (near initialization for 'omap_aess_platform.pcm_new') | |
sound/soc/omap/omap-abe-core.c:379:2: error: unknown field 'read' specified in initializer | |
.read = omap_abe_oppwidget_read, | |
^ | |
sound/soc/omap/omap-abe-core.c:379:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.read = omap_abe_oppwidget_read, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:379:11: note: (near initialization for 'omap_aess_platform.pcm_free') | |
sound/soc/omap/omap-abe-core.c:380:2: error: unknown field 'write' specified in initializer | |
.write = omap_abe_oppwidget_write, | |
^ | |
sound/soc/omap/omap-abe-core.c:380:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.write = omap_abe_oppwidget_write, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:380:12: note: (near initialization for 'omap_aess_platform.ops') | |
sound/soc/omap/omap-abe-core.c:381:2: error: unknown field 'stream_event' specified in initializer | |
.stream_event = abe_opp_stream_event, | |
^ | |
sound/soc/omap/omap-abe-core.c:381:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] | |
.stream_event = abe_opp_stream_event, | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c:381:18: note: (near initialization for 'omap_aess_platform.compr_ops') | |
sound/soc/omap/omap-abe-core.c:373:60: warning: missing braces around initializer [-Wmissing-braces] | |
static struct snd_soc_platform_driver omap_aess_platform = { | |
^ | |
sound/soc/omap/omap-abe-core.c:373:60: note: (near initialization for 'omap_aess_platform') | |
sound/soc/omap/omap-abe-core.c: In function 'abe_fw_ready': | |
sound/soc/omap/omap-abe-core.c:403:8: error: implicit declaration of function 'snd_soc_register_dais' [-Werror=implicit-function-declaration] | |
err = snd_soc_register_dais(&pdev->dev, omap_abe_dai, | |
^~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-core.c: In function 'abe_engine_remove': | |
sound/soc/omap/omap-abe-core.c:489:2: error: implicit declaration of function 'snd_soc_unregister_dais' [-Werror=implicit-function-declaration] | |
snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(omap_abe_dai)); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-core.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-dbg.o | |
In file included from sound/soc/omap/omap-abe-priv.h:29:0, | |
from sound/soc/omap/omap-abe-dbg.c:37: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-dbg.c: In function 'abe_dbg_stop_dma': | |
sound/soc/omap/omap-abe-dbg.c:116:3: error: implicit declaration of function 'omap_dma_unlink_lch' [-Werror=implicit-function-declaration] | |
omap_dma_unlink_lch(abe->debugfs.dma_ch, abe->debugfs.dma_ch); | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-dbg.c: In function 'abe_read_data': | |
sound/soc/omap/omap-abe-dbg.c:246:7: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration] | |
if (signal_pending(current)) { | |
^~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-dbg.c: In function 'abe_init_debugfs': | |
sound/soc/omap/omap-abe-dbg.c:427:8: error: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
&abe->debugfs.format1); | |
^ | |
In file included from sound/soc/omap/omap-abe-dbg.c:30:0: | |
./include/linux/debugfs.h:145:16: note: expected 'bool * {aka _Bool *}' but argument is of type 'u32 * {aka unsigned int *}' | |
struct dentry *debugfs_create_bool(const char *name, umode_t mode, | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-dbg.c:433:8: error: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
&abe->debugfs.format2); | |
^ | |
In file included from sound/soc/omap/omap-abe-dbg.c:30:0: | |
./include/linux/debugfs.h:145:16: note: expected 'bool * {aka _Bool *}' but argument is of type 'u32 * {aka unsigned int *}' | |
struct dentry *debugfs_create_bool(const char *name, umode_t mode, | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-dbg.c:439:8: error: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
&abe->debugfs.format3); | |
^ | |
In file included from sound/soc/omap/omap-abe-dbg.c:30:0: | |
./include/linux/debugfs.h:145:16: note: expected 'bool * {aka _Bool *}' but argument is of type 'u32 * {aka unsigned int *}' | |
struct dentry *debugfs_create_bool(const char *name, umode_t mode, | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-dbg.c:457:8: error: passing argument 4 of 'debugfs_create_bool' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
&abe->debugfs.circular); | |
^ | |
In file included from sound/soc/omap/omap-abe-dbg.c:30:0: | |
./include/linux/debugfs.h:145:16: note: expected 'bool * {aka _Bool *}' but argument is of type 'u32 * {aka unsigned int *}' | |
struct dentry *debugfs_create_bool(const char *name, umode_t mode, | |
^~~~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-dbg.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-mixer.o | |
In file included from sound/soc/omap/omap-abe-mixer.c:33:0: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-mixer.c: In function 'abe_put_mixer': | |
sound/soc/omap/omap-abe-mixer.c:97:44: error: 'struct snd_soc_dapm_widget' has no member named 'platform' | |
struct snd_soc_platform *platform = widget->platform; | |
^~ | |
sound/soc/omap/omap-abe-mixer.c:104:35: error: passing argument 1 of 'snd_soc_dapm_mixer_update_power' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 1); | |
^~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_dapm_widget *' | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:104:3: error: too few arguments to function 'snd_soc_dapm_mixer_update_power' | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: declared here | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:108:35: error: passing argument 1 of 'snd_soc_dapm_mixer_update_power' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 0); | |
^~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_dapm_widget *' | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:108:3: error: too few arguments to function 'snd_soc_dapm_mixer_update_power' | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 0); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: declared here | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c: In function 'abe_get_mixer': | |
sound/soc/omap/omap-abe-mixer.c:122:44: error: 'struct snd_soc_dapm_widget' has no member named 'platform' | |
struct snd_soc_platform *platform = widget->platform; | |
^~ | |
sound/soc/omap/omap-abe-mixer.c: In function 'ul_mux_put_route': | |
sound/soc/omap/omap-abe-mixer.c:205:44: error: 'struct snd_soc_dapm_widget' has no member named 'platform' | |
struct snd_soc_platform *platform = widget->platform; | |
^~ | |
sound/soc/omap/omap-abe-mixer.c:233:32: error: passing argument 1 of 'snd_soc_dapm_mux_update_power' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
snd_soc_dapm_mux_update_power(widget, kcontrol, mux, e); | |
^~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:430:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_dapm_widget *' | |
int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:233:2: error: too few arguments to function 'snd_soc_dapm_mux_update_power' | |
snd_soc_dapm_mux_update_power(widget, kcontrol, mux, e); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:430:5: note: declared here | |
int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c: In function 'ul_mux_get_route': | |
sound/soc/omap/omap-abe-mixer.c:243:44: error: 'struct snd_soc_dapm_widget' has no member named 'platform' | |
struct snd_soc_platform *platform = widget->platform; | |
^~ | |
sound/soc/omap/omap-abe-mixer.c: In function 'abe_put_switch': | |
sound/soc/omap/omap-abe-mixer.c:275:44: error: 'struct snd_soc_dapm_widget' has no member named 'platform' | |
struct snd_soc_platform *platform = widget->platform; | |
^~ | |
sound/soc/omap/omap-abe-mixer.c:282:35: error: passing argument 1 of 'snd_soc_dapm_mixer_update_power' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 1); | |
^~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_dapm_widget *' | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:282:3: error: too few arguments to function 'snd_soc_dapm_mixer_update_power' | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: declared here | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:285:35: error: passing argument 1 of 'snd_soc_dapm_mixer_update_power' from incompatible pointer type [-Werror=incompatible-pointer-types] | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 0); | |
^~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_dapm_widget *' | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-mixer.c:285:3: error: too few arguments to function 'snd_soc_dapm_mixer_update_power' | |
snd_soc_dapm_mixer_update_power(widget, kcontrol, 0); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from ./include/sound/soc.h:415:0, | |
from sound/soc/omap/omap-abe-mixer.c:30: | |
./include/sound/soc-dapm.h:427:5: note: declared here | |
int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from sound/soc/omap/omap-abe-mixer.c:35:0: | |
sound/soc/omap/omap-abe-mixer.c: At top level: | |
sound/soc/omap/omap-abe-priv.h:185:2: error: implicit declaration of function 'SOC_CONTROL_ID' [-Werror=implicit-function-declaration] | |
SOC_CONTROL_ID(OMAP_ABE_MIXER_DEFAULT, \ | |
^ | |
sound/soc/omap/omap-abe-mixer.c:454:3: note: in expansion of macro 'OMAP_CONTROL_DEFAULT' | |
{OMAP_CONTROL_DEFAULT, abe_get_mixer, abe_put_mixer, NULL}, | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-priv.h:187:3: error: 'SOC_CONTROL_TYPE_EXT' undeclared here (not in a function) | |
SOC_CONTROL_TYPE_EXT) | |
^ | |
sound/soc/omap/omap-abe-mixer.c:454:3: note: in expansion of macro 'OMAP_CONTROL_DEFAULT' | |
{OMAP_CONTROL_DEFAULT, abe_get_mixer, abe_put_mixer, NULL}, | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-priv.h:211:3: error: 'SOC_CONTROL_TYPE_VOLSW' undeclared here (not in a function) | |
SOC_CONTROL_TYPE_VOLSW) | |
^ | |
sound/soc/omap/omap-abe-mixer.c:455:3: note: in expansion of macro 'OMAP_CONTROL_VOLUME' | |
{OMAP_CONTROL_VOLUME, volume_get_mixer, volume_put_mixer, NULL}, | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-priv.h:195:3: error: 'SOC_CONTROL_TYPE_ENUM' undeclared here (not in a function) | |
SOC_CONTROL_TYPE_ENUM) | |
^ | |
sound/soc/omap/omap-abe-mixer.c:456:3: note: in expansion of macro 'OMAP_CONTROL_ROUTER' | |
{OMAP_CONTROL_ROUTER, ul_mux_get_route, ul_mux_put_route, NULL}, | |
^~~~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-mixer.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-mmap.o | |
In file included from sound/soc/omap/omap-abe-priv.h:29:0, | |
from sound/soc/omap/omap-abe-mmap.c:33: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-mmap.c: In function 'omap_abe_hwrule_size_step': | |
sound/soc/omap/omap-abe-mmap.c:165:9: error: implicit declaration of function 'snd_interval_step' [-Werror=implicit-function-declaration] | |
return snd_interval_step(hw_param_interval(params, rule->var), 0, | |
^~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-mmap.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-opp.o | |
In file included from sound/soc/omap/omap-abe-priv.h:29:0, | |
from sound/soc/omap/omap-abe-opp.c:34: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-opp.c: In function 'abe_opp_init_initial_opp': | |
sound/soc/omap/omap-abe-opp.c:74:14: error: implicit declaration of function 'opp_get_opp_count' [-Werror=implicit-function-declaration] | |
opp_count = opp_get_opp_count(abe->dev); | |
^~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-opp.c:89:9: error: implicit declaration of function 'opp_find_freq_floor' [-Werror=implicit-function-declaration] | |
opp = opp_find_freq_floor(abe->dev, &freq); | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-opp.c:89:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] | |
opp = opp_find_freq_floor(abe->dev, &freq); | |
^ | |
sound/soc/omap/omap-abe-opp.c: In function 'abe_opp_stream_event': | |
sound/soc/omap/omap-abe-opp.c:297:42: error: 'struct snd_soc_dapm_context' has no member named 'platform' | |
struct snd_soc_platform *platform = dapm->platform; | |
^~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-opp.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-pcm.o | |
In file included from sound/soc/omap/omap-abe-priv.h:29:0, | |
from sound/soc/omap/omap-abe-pcm.c:43: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
sound/soc/omap/omap-abe-pcm.c: In function 'mute_be': | |
sound/soc/omap/omap-abe-pcm.c:139:23: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c:162:23: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c: In function 'unmute_be': | |
sound/soc/omap/omap-abe-pcm.c:198:23: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c:220:23: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c: In function 'enable_be_port': | |
sound/soc/omap/omap-abe-pcm.c:256:22: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c: In function 'disable_be_port': | |
sound/soc/omap/omap-abe-pcm.c:388:22: error: 'struct snd_soc_dai_link' has no member named 'be_id' | |
switch (be->dai_link->be_id) { | |
^~ | |
sound/soc/omap/omap-abe-pcm.c: In function 'capture_trigger': | |
sound/soc/omap/omap-abe-pcm.c:614:4: error: implicit declaration of function 'snd_soc_dai_trigger' [-Werror=implicit-function-declaration] | |
snd_soc_dai_trigger(be_substream, cmd, be->cpu_dai); | |
^~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/omap-abe-pcm.c:622:4: error: implicit declaration of function 'snd_soc_platform_trigger' [-Werror=implicit-function-declaration] | |
snd_soc_platform_trigger(substream, cmd, fe->platform); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
cc1: some warnings being treated as errors | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-pcm.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-pm.o | |
In file included from sound/soc/omap/omap-abe-priv.h:29:0, | |
from sound/soc/omap/omap-abe-pm.c:32: | |
./include/sound/soc-fw.h:47:53: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:48:55: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_codec *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:67:56: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:68:58: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_platform *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:87:52: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_load) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:88:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
int (*vendor_unload) (struct snd_soc_card *, struct snd_soc_fw_hdr *); | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h:99:54: warning: 'struct snd_soc_fw_hdr' declared inside parameter list will not be visible outside of this definition or declaration | |
static inline const void *snd_soc_fw_get_data(struct snd_soc_fw_hdr *hdr) | |
^~~~~~~~~~~~~~ | |
./include/sound/soc-fw.h: In function 'snd_soc_fw_get_data': | |
./include/sound/soc-fw.h:103:22: error: dereferencing pointer to incomplete type 'struct snd_soc_fw_hdr' | |
return ptr + sizeof(*hdr); | |
^~~~ | |
make[1]: *** [scripts/Makefile.build:303: sound/soc/omap/omap-abe-pm.o] Error 1 | |
CC [M] sound/soc/omap/omap-abe-twl6040.o | |
LD [M] sound/soc/omap/snd-soc-omap-abe-twl6040.o | |
AR sound/soc/omap/aess/built-in.o | |
CC [M] sound/soc/omap/aess/abe_aess.o | |
CC [M] sound/soc/omap/aess/abe_asrc.o | |
CC [M] sound/soc/omap/aess/abe_core.o | |
CC [M] sound/soc/omap/aess/abe_ini.o | |
CC [M] sound/soc/omap/aess/abe_gain.o | |
In file included from ./include/linux/list.h:8:0, | |
from ./include/linux/module.h:9, | |
from sound/soc/omap/aess/abe_gain.c:59: | |
sound/soc/omap/aess/abe_gain.c: In function 'omap_aess_write_gain_ramp': | |
./include/linux/kernel.h:762:16: warning: comparison of distinct pointer types lacks a cast | |
(void) (&min1 == &min2); \ | |
^ | |
./include/linux/kernel.h:770:2: note: in definition of macro '__max' | |
t1 max1 = (x); \ | |
^~ | |
sound/soc/omap/aess/abe_gain.c:492:9: note: in expansion of macro 'max' | |
ramp = max(min(RAMP_MAXLENGTH, ramp), RAMP_MINLENGTH); | |
^~~ | |
./include/linux/kernel.h:765:2: note: in expansion of macro '__min' | |
__min(typeof(x), typeof(y), \ | |
^~~~~ | |
sound/soc/omap/aess/abe_gain.c:492:13: note: in expansion of macro 'min' | |
ramp = max(min(RAMP_MAXLENGTH, ramp), RAMP_MINLENGTH); | |
^~~ | |
./include/linux/kernel.h:762:16: warning: comparison of distinct pointer types lacks a cast | |
(void) (&min1 == &min2); \ | |
^ | |
./include/linux/kernel.h:770:13: note: in definition of macro '__max' | |
t1 max1 = (x); \ | |
^ | |
sound/soc/omap/aess/abe_gain.c:492:9: note: in expansion of macro 'max' | |
ramp = max(min(RAMP_MAXLENGTH, ramp), RAMP_MINLENGTH); | |
^~~ | |
./include/linux/kernel.h:765:2: note: in expansion of macro '__min' | |
__min(typeof(x), typeof(y), \ | |
^~~~~ | |
sound/soc/omap/aess/abe_gain.c:492:13: note: in expansion of macro 'min' | |
ramp = max(min(RAMP_MAXLENGTH, ramp), RAMP_MINLENGTH); | |
^~~ | |
./include/linux/kernel.h:772:16: warning: comparison of distinct pointer types lacks a cast | |
(void) (&max1 == &max2); \ | |
^ | |
./include/linux/kernel.h:775:2: note: in expansion of macro '__max' | |
__max(typeof(x), typeof(y), \ | |
^~~~~ | |
sound/soc/omap/aess/abe_gain.c:492:9: note: in expansion of macro 'max' | |
ramp = max(min(RAMP_MAXLENGTH, ramp), RAMP_MINLENGTH); | |
^~~ | |
CC [M] sound/soc/omap/aess/abe_port.o | |
sound/soc/omap/aess/abe_port.c:1010:13: warning: 'omap_aess_disable_atc' defined but not used [-Wunused-function] | |
static void omap_aess_disable_atc(struct omap_aess *aess, u32 id) | |
^~~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/aess/abe_port.c:989:13: warning: 'omap_aess_enable_atc' defined but not used [-Wunused-function] | |
static void omap_aess_enable_atc(struct omap_aess *aess, u32 id) | |
^~~~~~~~~~~~~~~~~~~~ | |
sound/soc/omap/aess/abe_port.c:257:12: warning: 'omap_aess_update_io_task' defined but not used [-Wunused-function] | |
static u32 omap_aess_update_io_task(struct omap_aess *aess, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
CC [M] sound/soc/omap/aess/port_mgr.o | |
LD [M] sound/soc/omap/aess/snd-soc-abe-hal.o | |
make[1]: Target '__build' not remade because of errors. | |
make: *** [Makefile:1512: _module_sound/soc/omap] Error 2 | |
make: Target '_all' not remade because of errors. | |
[ERR=2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment