1
0
Fork 0
alistair23-linux/sound/soc/qcom
Julia Lawall 8985729578 ASoC: qcom: change PTR_ERR argument
Apply PTR_ERR to the value that was recently assigned.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,y;
@@

if (IS_ERR(x) || ...) {
  ... when any
      when != IS_ERR(...)
(
   PTR_ERR(x)
|
*  PTR_ERR(y)
)
  ... when any
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-09-17 11:36:19 +01:00
..
Kconfig ASoC: qcom: remove Kconfig deps from variant configs 2015-07-07 14:52:01 +01:00
Makefile ASoC: qcom: add apq8016 sound card support 2015-06-10 18:29:33 +01:00
apq8016_sbc.c ASoC: qcom: add apq8016 sound card support 2015-06-10 18:29:33 +01:00
lpass-apq8016.c ASoC: qcom: Add apq8016 lpass driver support 2015-05-25 15:04:32 +01:00
lpass-cpu.c ASoC: qcom: change PTR_ERR argument 2015-09-17 11:36:19 +01:00
lpass-ipq806x.c ASoC: lpass-ipq806x: Staticise local symbols 2015-07-29 15:05:34 +01:00
lpass-lpaif-reg.h ASoC: qcom: move ipq806x specific bits out of lpass driver. 2015-05-21 21:12:30 +01:00
lpass-platform.c ASoC: qcom: Add ability to handle interrupts per dma channel 2015-05-22 13:27:06 +01:00
lpass.h ASoC: qcom: Constify asoc_qcom_lpass_cpu_dai_ops 2015-08-28 17:29:06 +01:00
storm.c ASoC: qcom: storm: remove special casing EPROBE_DEFER 2015-06-09 17:18:58 +01:00