diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2020-10-08 11:54:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-08 21:16:52 +0100 |
commit | 18096cb0bcff1ebf4459ea5f6dc940d8eaf4b942 (patch) | |
tree | d0038ff02c0c0f9996b46718ff92ecbab60fbf3d /mm/page_poison.c | |
parent | 827ed8a0fa50bdd365c9f4c9f6ef561ca7032e49 (diff) |
ASoC: ti: davinci-mcasp: Use &pdev->dev for early dev_warn
At this point mcasp->dev is not initialized and we would have NULL pointer
dereference if we would have failed to get the mem memory resource by
name.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201008085400.19944-1-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions