20 Feb
2018
20 Feb
'18
3 p.m.
The xt-xcc compiler does not accept NULL as return value from an int function.
Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com --- src/audio/pipeline_static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/audio/pipeline_static.c b/src/audio/pipeline_static.c index 7812dad..d307e09 100644 --- a/src/audio/pipeline_static.c +++ b/src/audio/pipeline_static.c @@ -367,7 +367,7 @@ int init_static_pipeline(struct ipc *ipc) /* init system pipeline core */ ret = pipeline_init(); if (ret < 0) - return NULL; + return ret;
/* create the pipelines */ for (i = 0; i < ARRAY_SIZE(pipeline); i++) {
--
2.14.1