Skip to content

ASoC: codecs: remove warnings with Sparse, Coccinelle and W=1

Pierre-Louis Bossart alsa-devel linux-arm-kernel linux-mediatek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21ASoC: dmic: declare trigger function as staticsound/soc/codecs/dmic.c+2 -21 reply
2/21ASoC: max98090: remove unused constant variablessound/soc/codecs/max98090.c+0 -151 reply
3/21ASoC: es8316: remove unused constant variablessound/soc/codecs/es8316.c+0 -41 reply
4/21ASoC: codecs: fix kernel doc descriptionssound/soc/codecs/nau8825.c sound/soc/codecs/rt5514.c sound/soc/codecs/rt5677.c+6 -41 reply
5/21ASoC: rt5645: remove unused mux definesound/soc/codecs/rt5645.c+0 -361 reply
6/21ASoC: rt5670: remove unused mux/mixer definesound/soc/codecs/rt5670.c+0 -541 reply
7/21ASoC: max98383: fix boolean assignments to true/falsesound/soc/codecs/max98373.c+3 -31 reply
8/21ASoC: rt298: fix boolean testssound/soc/codecs/rt298.c+6 -61 reply
9/21ASoC: cs4271: fix boolean assignmentssound/soc/codecs/cs4271.c+2 -21 reply
10/21ASoC: rt274: fix boolean testssound/soc/codecs/rt274.c+4 -41 reply
11/21ASoc: rt286: fix boolean testssound/soc/codecs/rt286.c+4 -41 reply
12/21ASoC: rt5640: fix boolean assignmentssound/soc/codecs/rt5640.c+3 -31 reply
13/21ASoC: max98927: fix boolean assignmentssound/soc/codecs/max98927.c+4 -41 reply
14/21ASoC: rt5651: fix boolean assignmentssound/soc/codecs/rt5651.c+3 -31 reply
15/21ASoC: nau8824: fix boolean assignmentsound/soc/codecs/nau8824.c+1 -11 reply
16/21ASoC: tscs42xx.c: fix boolean testsound/soc/codecs/tscs42xx.c+1 -11 reply
17/21ASoC: mt6351: remove unneeded variablesound/soc/codecs/mt6351.c+1 -31 reply
18/21ASoC: da7219: fix endianness issuessound/soc/codecs/da7219-aad.c sound/soc/codecs/da7219.c+4 -42 replies
19/21ASoC: da7219: use logical ANDsound/soc/codecs/da7219.c+1 -12 replies
20/21ASoC: rt5645: store eq kcontrol byte in __besound/soc/codecs/rt5645.c+16 -141 reply
21/21ASoC: rl6437a: use __be32 for a __be32 bufsound/soc/codecs/rl6347a.c+2 -21 reply

Reviews trailers per patch

2 of 21 patches have a Reviewed-by or Acked-by.

PatchAdam Thomson
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21R-b R-b
19/21R-b R-b
20/21
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/21] ASoC: codecs: remove warnings with Sparse, Coccinelle and W=1

This patchset contains mostly trivial fixes to make tools happy. I don't get paid more by sending lots of small patches, my only goal is to make sure tools don't spit out too many warnings and drown potential problems.

Thanks for Bard Liao for his help, and Adam Thompson and Oder Chiou for off-line reviews.

Bard liao (4):
ASoC: rt5645: remove unused mux define
ASoC: rt5670: remove unused mux/mixer define
ASoC: rt5645: store eq kcontrol byte in __be
ASoC: rl6437a: use __be32 for a __be32 buf

Pierre-Louis Bossart (17):
ASoC: dmic: declare trigger function as static
ASoC: max98090: remove unused constant variables
ASoC: es8316: remove unused constant variables
ASoC: codecs: fix kernel doc descriptions
ASoC: max98383: fix boolean assignments to true/false
ASoC: rt298: fix boolean tests
ASoC: cs4271: fix boolean assignments
ASoC: rt274: fix boolean tests
ASoc: rt286: fix boolean tests
ASoC: rt5640: fix boolean assignments
ASoC: max98927: fix boolean assignments
ASoC: rt5651: fix boolean assignments
ASoC: nau8824: fix boolean assignment
ASoC: tscs42xx.c: fix boolean test
ASoC: mt6351: remove unneeded variable
ASoC: da7219: fix endianness issues
ASoC: da7219: use logical AND

 sound/soc/codecs/cs4271.c     |  4 +--
 sound/soc/codecs/da7219-aad.c |  2 +-
 sound/soc/codecs/da7219.c     |  8 ++---
 sound/soc/codecs/dmic.c       |  4 +--
 sound/soc/codecs/es8316.c     |  4 ---
 sound/soc/codecs/max98090.c   | 15 --------
 sound/soc/codecs/max98373.c   |  6 ++--
 sound/soc/codecs/max98927.c   |  8 ++---
 sound/soc/codecs/mt6351.c     |  4 +--
 sound/soc/codecs/nau8824.c    |  2 +-
 sound/soc/codecs/nau8825.c    |  1 +
 sound/soc/codecs/rl6347a.c    |  4 +--
 sound/soc/codecs/rt274.c      |  8 ++---
 sound/soc/codecs/rt286.c      |  8 ++---
 sound/soc/codecs/rt298.c      | 12 +++----
 sound/soc/codecs/rt5514.c     |  1 +
 sound/soc/codecs/rt5640.c     |  6 ++--
 sound/soc/codecs/rt5645.c     | 66 +++++++++--------------------------
 sound/soc/codecs/rt5651.c     |  6 ++--
 sound/soc/codecs/rt5670.c     | 54 ----------------------------
 sound/soc/codecs/rt5677.c     |  8 ++---
 sound/soc/codecs/tscs42xx.c   |  2 +-
 22 files changed, 63 insertions(+), 170 deletions(-)

base-commit: 14f9b94a3274b047126c8c0ff39dc495e8d1acab

Signature · 1 line
2.17.1