Merge tag 'for-linus-5.8-1' of git://github.com/cminyard/linux-ipmi
[linux-2.6-microblaze.git] / lib / strncpy_from_user.c
index b90ec55..34696a3 100644 (file)
@@ -98,6 +98,7 @@ long strncpy_from_user(char *dst, const char __user *src, long count)
 {
        unsigned long max_addr, src_addr;
 
+       might_fault();
        if (unlikely(count <= 0))
                return 0;