Skip to content

topology: fix some gcc warnings

[email protected] alsa-devel 2 versions – Applied

Status from this message: Applied both patches. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v14 patches 8 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2topology: Not compare a for loop iterator with ABI __le32 variablessrc/topology/ctl.c src/topology/pcm.c+13 -130 replies
2/2topology: Quit and show error message on big-endian machinessrc/topology/parser.c src/topology/tplg_local.h+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] topology: fix some gcc warnings

From: Mengdong Lin <[email protected]>

History:
v2: Not use ABI __le32 variables but host integers (like template variables)
in the for loop;
Add check on endianess and quit on big-endian machines.

Mengdong Lin (2):
topology: Not compare a for loop iterator with ABI __le32 variables
topology: Quit and show error message on big-endian machines

 src/topology/ctl.c        | 22 +++++++++++-----------
 src/topology/parser.c     | 15 +++++++++++++++
 src/topology/pcm.c        |  4 ++--
 src/topology/tplg_local.h |  2 ++
 4 files changed, 30 insertions(+), 13 deletions(-)
Signature · 1 line
2.5.0