summaryrefslogtreecommitdiff
path: root/include/linux/stringhash.h
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2018-05-09 03:27:08 +0300
committerInki Dae <inki.dae@samsung.com>2018-05-09 03:27:08 +0300
commitbec923c50ab550d1d53b297dd4c753db18a13204 (patch)
tree233b3a40fa3e3ec81f70db6159d33955defa6c14 /include/linux/stringhash.h
parent6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff)
parent6f2db7dc901a1b89fbc50f7b38f0f7ee17205703 (diff)
downloadlinux-bec923c50ab550d1d53b297dd4c753db18a13204.tar.xz
Merge tag 'exynos-drm-fixes-for-v4.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into exynos-drm-next
Fixup pagefault issue of mixer driver - it makes sure to check shadow register for interlace scan. - it corrects chroma_addr[1], height and vertical position values. And trivial cleanup - it just removes duplicated drm_bridge_attach.
Diffstat (limited to 'include/linux/stringhash.h')
-rw-r--r--include/linux/stringhash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/stringhash.h b/include/linux/stringhash.h
index e8f0f852968f..c0c5c5b73dc0 100644
--- a/include/linux/stringhash.h
+++ b/include/linux/stringhash.h
@@ -50,9 +50,9 @@ partial_name_hash(unsigned long c, unsigned long prevhash)
* losing bits). This also has the property (wanted by the dcache)
* that the msbits make a good hash table index.
*/
-static inline unsigned long end_name_hash(unsigned long hash)
+static inline unsigned int end_name_hash(unsigned long hash)
{
- return __hash_32((unsigned int)hash);
+ return hash_long(hash, 32);
}
/*