From: Richard Fitzgerald Date: Fri, 26 May 2017 09:47:07 +0000 (+0100) Subject: ASoC: wm_adsp: Fix typo in algorithm list warning message X-Git-Tag: v4.14-rc4~21^2~60^2^2~1^6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=503ada8a6d00c70f5b6fe37249e9a5e2f9c9e202;p=platform%2Fkernel%2Flinux-rpi.git ASoC: wm_adsp: Fix typo in algorithm list warning message 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 Signed-off-by: Mark Brown --- 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);