Skip to contentSkip to conversation

ASoC: wm_adsp: Use correct local length in error message

PATCH In review Charles Keepax 2 participants 2 messages Mar 10, 2016 – Mar 11, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: wm_adsp: Use correct local length in error message

Fixes 44029e9e1290 ("ASoC: wm_adsp: wm_coeff_{read|write}_control should use passed length")
---
 sound/soc/codecs/wm_adsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/wm_adsp.c +1 -1
index 3ee1c72..3c15481 100644
@@ -807,7 +807,7 @@ static int wm_coeff_read_control(struct wm_coeff_ctl *ctl,
 	ret = regmap_raw_read(dsp->regmap, reg, scratch, len);
 	if (ret) {
 		adsp_err(dsp, "Failed to read %zu bytes from %x: %d\n",
-			 ctl->len, reg, ret);
+			 len, reg, ret);
 		kfree(scratch);
 		return ret;
 	}
Signature · 1 line
2.1.4
maintainer
#1 lore raw

Applied "ASoC: wm_adsp: Use correct local length in error message" to the asoc tree

The patch

ASoC: wm_adsp: Use correct local length in error message

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 5602a64318a4a6aad028141bb68e9bbd6bb5749a Mon Sep 17 00:00:00 2001

From: Charles Keepax <[email protected]>
Date: Thu, 10 Mar 2016 10:46:07 +0000
Subject: [PATCH] ASoC: wm_adsp: Use correct local length in error message

Fixes 44029e9e1290 ("ASoC: wm_adsp: wm_coeff_{read|write}_control should use passed length")
---
 sound/soc/codecs/wm_adsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/wm_adsp.c +1 -1
index 36687db5da61..ba9213c0ad53 100644
@@ -787,7 +787,7 @@ static int wm_coeff_read_control(struct wm_coeff_ctl *ctl,
 	ret = regmap_raw_read(dsp->regmap, reg, scratch, len);
 	if (ret) {
 		adsp_err(dsp, "Failed to read %zu bytes from %x: %d\n",
-			 ctl->len, reg, ret);
+			 len, reg, ret);
 		kfree(scratch);
 		return ret;
 	}
Signature · 1 line
2.7.0