summaryrefslogtreecommitdiff
path: root/scripts/depmod.sh
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-05-16 10:19:46 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-16 19:45:20 +0300
commitba6306e3f648a857ae52ddcabc2859542fd2f94c (patch)
tree8d9582c2d800f1a7cfa3daef5afb67f263ead579 /scripts/depmod.sh
parentc7d5ec26ea4adf450d9ab2b794e7735761a93af1 (diff)
downloadlinux-ba6306e3f648a857ae52ddcabc2859542fd2f94c.tar.xz
rhashtable: Remove RCU marking from rhash_lock_head
The opaque type rhash_lock_head should not be marked with __rcu because it can never be dereferenced. We should apply the RCU marking when we turn it into a pointer which can be dereferenced. This patch does exactly that. This fixes a number of sparse warnings as well as getting rid of some unnecessary RCU checking. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions