From: YueHaibing Date: Mon, 23 Sep 2019 06:11:11 +0000 (+0800) Subject: dm clone: Make __hash_find static X-Git-Tag: v5.15~5284^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a005856d35936e351cc20ff3de04499bd7ffbfd;p=platform%2Fkernel%2Flinux-starfive.git dm clone: Make __hash_find static drivers/md/dm-clone-target.c:594:34: warning: symbol '__hash_find' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-clone-target.c b/drivers/md/dm-clone-target.c index cd6f9e9..4ca8f19 100644 --- a/drivers/md/dm-clone-target.c +++ b/drivers/md/dm-clone-target.c @@ -591,8 +591,8 @@ static struct hash_table_bucket *get_hash_table_bucket(struct clone *clone, * * NOTE: Must be called with the bucket lock held */ -struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket, - unsigned long region_nr) +static struct dm_clone_region_hydration *__hash_find(struct hash_table_bucket *bucket, + unsigned long region_nr) { struct dm_clone_region_hydration *hd;