Skip to content

CI: Need to trap SOF driver compilation warnings #205

Description

@plbossart

Our esteemed developers don't seem to look at the kernel compilation logs, as a result we have patches that are merged even when they generate warnings such as

 CC [M]  sound/soc/sof/trace.o
sound/soc/sof/trace.c: In function ‘snd_sof_init_trace_ipc’:
sound/soc/sof/trace.c:155:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
   return;
   ^~~~~~
sound/soc/sof/trace.c:148:5: note: declared here
 int snd_sof_init_trace_ipc(struct snd_sof_dev *sdev)
     ^~~~~~~~~~~~~~~~~~~~~~

We need the CI build to trap such errors and flag them as errors.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions