diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-08-04 06:52:05 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:01:59 +0200 |
commit | 906a2a3955ff7eb67fe812448b08eb43904d3b2d (patch) | |
tree | ea460f49e4946cb4d2f2caec697b35f0bf7a0fb4 /drivers/pinctrl/core.c | |
parent | pinctrl: nomadik: fix incorrect type in return expression (diff) | |
download | linux-906a2a3955ff7eb67fe812448b08eb43904d3b2d.tar.xz linux-906a2a3955ff7eb67fe812448b08eb43904d3b2d.zip |
pinctrl: add __rcu annotations to fix sparse warnings
Sparse reports "warning: incorrect type in assignment (different
address spaces)".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.c')
-rw-r--r-- | drivers/pinctrl/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 89b9ca77daea..60f82c67b92d 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -686,7 +686,7 @@ EXPORT_SYMBOL_GPL(pinctrl_generic_remove_group); static void pinctrl_generic_free_groups(struct pinctrl_dev *pctldev) { struct radix_tree_iter iter; - void **slot; + void __rcu **slot; radix_tree_for_each_slot(slot, &pctldev->pin_group_tree, &iter, 0) radix_tree_delete(&pctldev->pin_group_tree, iter.index); |