printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / kmsan_string.h
blob7287da6f52eff22c3dd448d752ba6ed9ab868a3b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * KMSAN string functions API used in other headers.
5 * Copyright (C) 2022 Google LLC
6 * Author: Alexander Potapenko <glider@google.com>
8 */
9 #ifndef _LINUX_KMSAN_STRING_H
10 #define _LINUX_KMSAN_STRING_H
13 * KMSAN overrides the default memcpy/memset/memmove implementations in the
14 * kernel, which requires having __msan_XXX function prototypes in several other
15 * headers. Keep them in one place instead of open-coding.
17 void *__msan_memcpy(void *dst, const void *src, size_t size);
18 void *__msan_memset(void *s, int c, size_t n);
19 void *__msan_memmove(void *dest, const void *src, size_t len);
21 #endif /* _LINUX_KMSAN_STRING_H */