diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-04-04 15:19:41 +0900 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-05-13 10:56:10 +0200 |
commit | 783eb354fb3dcd598e8e7e8a2ed88c0fb6ce5d2f (patch) | |
tree | 106bad42fd665d3375573db5b4b438719f0af978 /usr | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) | |
download | linux-783eb354fb3dcd598e8e7e8a2ed88c0fb6ce5d2f.tar.gz linux-783eb354fb3dcd598e8e7e8a2ed88c0fb6ce5d2f.tar.bz2 linux-783eb354fb3dcd598e8e7e8a2ed88c0fb6ce5d2f.zip |
agpgart.h: do not include <stdlib.h> from exported header
Commit 35d0f1d54ecd ("include/uapi/linux/agpgart.h: include stdlib.h in
userspace") included <stdlib.h> to fix the unknown size_t error, but
I do not think it is the right fix.
This header already uses __kernel_size_t a few lines below.
Replace the remaining size_t, and stop including <stdlib.h>.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions