[PATCH] drivers: android: binder_alloc: Fixed include warning

Agam Kohli posted 1 patch 3 years, 10 months ago
drivers/android/binder_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers: android: binder_alloc: Fixed include warning
Posted by Agam Kohli 3 years, 10 months ago
Changed include from asm/ to linux/

Signed-off-by: Agam Kohli <agamkohli9@gmail.com>
---
 drivers/android/binder_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c
index 5649a0371a1f..4c10c4f9573a 100644
--- a/drivers/android/binder_alloc.c
+++ b/drivers/android/binder_alloc.c
@@ -19,7 +19,7 @@
 #include <linux/sched.h>
 #include <linux/list_lru.h>
 #include <linux/ratelimit.h>
-#include <asm/cacheflush.h>
+#include <linux/cacheflush.h>
 #include <linux/uaccess.h>
 #include <linux/highmem.h>
 #include <linux/sizes.h>
-- 
2.36.1
Re: [PATCH] drivers: android: binder_alloc: Fixed include warning
Posted by Greg KH 3 years, 10 months ago
On Fri, Jun 10, 2022 at 01:50:48PM -0400, Agam Kohli wrote:
> Changed include from asm/ to linux/

This says what you did, but not why you did it.

Please document why.

thanks,

greg k-h