Skip to content

ASoC: SOF: fix kcontrol size checks

Kai Vehmanen alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: SOF: control: fix size checks for ext_bytes control .get()sound/soc/sof/control.c+7 -10 replies
2/5ASoC: SOF: control: fix size checks for volatile ext_bytes control .get()sound/soc/sof/control.c+14 -00 replies
3/5ASoC: SOF: control: add size checks for ext_bytes control .put()sound/soc/sof/control.c+11 -00 replies
4/5ASoC: SOF: control: remove const in sizeof()sound/soc/sof/control.c+10 -100 replies
5/5ASoC: SOF: topology: remove const in sizeof()sound/soc/sof/topology.c+1 -10 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchRanjani SridharanGuennadi Liakhovetski
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

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 0/5] ASoC: SOF: fix kcontrol size checks

Series that fixes checks for 'size' in kcontrol get/put ext_bytes methods for SOF. The gaps in these checks were discovered via cppcheck warnings on unused variable values.

Pierre-Louis Bossart (5):
ASoC: SOF: control: fix size checks for ext_bytes control .get()
ASoC: SOF: control: fix size checks for volatile ext_bytes control

    .get()

ASoC: SOF: control: add size checks for ext_bytes control .put()
ASoC: SOF: control: remove const in sizeof()
ASoC: SOF: topology: remove const in sizeof()

 sound/soc/sof/control.c  | 53 +++++++++++++++++++++++++++++++---------
 sound/soc/sof/topology.c |  2 +-
 2 files changed, 43 insertions(+), 12 deletions(-)
Signature · 1 line
2.27.0