Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1651271
| From | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ASoC: wm_adsp: Fix typo in algorithm list warning message |
| Date | 2017-05-26 11:50 +0200 |
| Message-ID | <tLk2C-4cR-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The list terminator is 0xbedead but the message warning if it wasn't found was showing that 0xbeadead was expected. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> --- sound/soc/codecs/wm_adsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 5aff83b..65c059b5 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c @@ -1888,7 +1888,7 @@ static void *wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs, } if (be32_to_cpu(val) != 0xbedead) - adsp_warn(dsp, "Algorithm list end %x 0x%x != 0xbeadead\n", + adsp_warn(dsp, "Algorithm list end %x 0x%x != 0xbedead\n", pos + len, be32_to_cpu(val)); alg = kzalloc(len * 2, GFP_KERNEL | GFP_DMA); -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] ASoC: wm_adsp: Fix typo in algorithm list warning message Richard Fitzgerald <rf@opensource.wolfsonmicro.com> - 2017-05-26 11:50 +0200 Applied "ASoC: wm_adsp: Fix typo in algorithm list warning message" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-05-26 13:50 +0200
csiph-web