diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2021-08-16 14:20:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-08-16 16:36:49 +0100 |
commit | d40dfb860ad72a32b9c2aeae739a2725f8ce011a (patch) | |
tree | 2ff68ab7a6115f6856eed786de8a7476a0f1c70a | |
parent | f75953bca75f8f767c64bb5e91089876ccc1ca4e (diff) | |
download | linux-stable-d40dfb860ad72a32b9c2aeae739a2725f8ce011a.tar.gz linux-stable-d40dfb860ad72a32b9c2aeae739a2725f8ce011a.tar.bz2 linux-stable-d40dfb860ad72a32b9c2aeae739a2725f8ce011a.zip |
ASoC: sh: rz-ssi: Fix dereference of noderef expression warning
Fix following sparse warning:
sound/soc/sh/rz-ssi.c:156:15: sparse: warning: dereference of
noderef expression
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210816132049.28128-1-biju.das.jz@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sh/rz-ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rz-ssi.c b/sound/soc/sh/rz-ssi.c index ea8d33ede5d2..69b45ee2d445 100644 --- a/sound/soc/sh/rz-ssi.c +++ b/sound/soc/sh/rz-ssi.c @@ -148,7 +148,7 @@ static u32 rz_ssi_reg_readl(struct rz_ssi_priv *priv, uint reg) return readl(priv->base + reg); } -static void rz_ssi_reg_mask_setl(struct rz_ssi_priv __iomem *priv, uint reg, +static void rz_ssi_reg_mask_setl(struct rz_ssi_priv *priv, uint reg, u32 bclr, u32 bset) { u32 val; |