diff options
-rw-r--r-- | drivers/firmware/efivars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 0ba8d69dd6c..d5106c0f46c 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c | |||
@@ -150,7 +150,7 @@ utf16_strnlen(efi_char16_t *s, size_t maxlength) | |||
150 | return length; | 150 | return length; |
151 | } | 151 | } |
152 | 152 | ||
153 | static unsigned long | 153 | static inline unsigned long |
154 | utf16_strlen(efi_char16_t *s) | 154 | utf16_strlen(efi_char16_t *s) |
155 | { | 155 | { |
156 | return utf16_strnlen(s, ~0UL); | 156 | return utf16_strnlen(s, ~0UL); |