pmaports/device/testing/linux-samsung-herolte/01-kstrtobool_from_user.patch
M0Rf30 b92f2efff2
linux-samsung-herolte: change src repo and sync config with upstream (MR 3710)
Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
[ci:skip-build]: already built successfully in CI
2022-12-13 09:52:45 +01:00

11 lines
524 B
Diff

--- a/drivers/gpu/arm/t8xx/r22p0/mali_kbase_core_linux.c 2022-12-10 16:42:44.274410909 +0100
+++ b/drivers/gpu/arm/t8xx/r22p0/mali_kbase_core_linux.c 2022-12-10 16:44:08.294593787 +0100
@@ -278,7 +278,7 @@
* Older versions, before v4.6, of the kernel doesn't have
* kstrtobool_from_user(), except longterm 4.4.y which had it added in 4.4.28
*/
-static int kstrtobool_from_user(const char __user *s, size_t count, bool *res)
+int kstrtobool_from_user(const char __user *s, size_t count, bool *res)
{
char buf[32];