Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agpgart.h: do not include <stdlib.h> from exported header
Commit 35d0f1d ("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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
- Loading branch information