Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1595994

Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free}
Date 2017-03-09 13:10 +0100
Message-ID <tj53j-4XB-9@gated-at.bofh.it> (permalink)
References <tiT2a-4ZD-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Mar 08, 2017 at 03:18:54PM -0800, Brian Norris wrote:
> Not all platform drivers have pcm_{new,free} callbacks. Seen with a
> "snd-soc-dummy" codec from sound/soc/rockchip/rk3399_gru_sound.c.
> 
> Resolves an OOPS seen on v4.11-rc1 with Google Kevin (Samsung Chromebook
> Plus):
> 
> [    2.863304] rk3399-gru-sound sound: HiFi <-> ff880000.i2s mapping ok
> [    2.886930] rk3399-gru-sound sound: rt5514-aif1 <-> ff880000.i2s mapping ok

Please think hard before including complete backtraces in upstream
reports, they are very large and contain almost no useful information
relative to their size so often obscure the relevant content in your
message. If part of the backtrace is usefully illustrative then it's
usually better to pull out the relevant sections.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-09 00:20 +0100
  Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-09 01:30 +0100
    Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-11 01:40 +0100
      Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-13 22:50 +0100
  Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Mark Brown <broonie@kernel.org> - 2017-03-09 13:10 +0100
    Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-11 01:30 +0100
      Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Mark Brown <broonie@kernel.org> - 2017-03-13 14:00 +0100
        Re: [PATCH for-4.11] ASoC: don't dereference NULL pcm_{new,free} Brian Norris <briannorris@chromium.org> - 2017-03-13 23:00 +0100

csiph-web