Skip to contentSkip to conversation

android: removed duplicate linux/errno

PATCH In review Tanzir Hasan 3 participants 3 messages Jan 4, 2024 – Jan 7, 2024 Android drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 android: removed duplicate linux/errno

There are two linux/errno.h inclusions in this file. The second one has been removed and the file builds correctly.

Fixes 54ffdab82080 ("android: binder: binderfs.c: removed asm-generic/errno-base.h")

---

---
 drivers/android/binderfs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/android/binderfs.c +0 -1
index d04ff6029480..3001d754ac36 100644
@@ -29,7 +29,6 @@
 #include <linux/uaccess.h>
 #include <linux/user_namespace.h>
 #include <linux/xarray.h>
-#include <linux/errno.h>
 #include <uapi/linux/android/binder.h>
 #include <uapi/linux/android/binderfs.h>
 

---
base-commit: 0c9ae0b8605078eafc3bea053cc78791e97ba2e2
change-id: 20240104-removeduperror-9b6954a0c52c

Best regards,

Signature · 1 line
Tanzir Hasan <[email protected]>
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Tanzir Hasan

There are two linux/errno.h inclusions in this file. The second one has been removed and the file builds correctly.

Fixes 54ffdab82080 ("android: binder: binderfs.c: removed asm-generic/errno-base.h")

I'm not sure that we can I this tag before the patch hits mainline. I suppose it's ok since char-misc doesn't do forced updates?

Greg, is this fine?

If it is, then:

Thanks,
--
Carlos Llamas

#2 lore raw
Quoted 8 lines · Carlos Llamas
Quoted 4 lines · Tanzir Hasan

There are two linux/errno.h inclusions in this file. The second one has been removed and the file builds correctly.

Fixes 54ffdab82080 ("android: binder: binderfs.c: removed asm-generic/errno-base.h")

I'm not sure that we can I this tag before the patch hits mainline. I suppose it's ok since char-misc doesn't do forced updates?

Yes, char-misc does not rebase (like any sane public-facing branch.)

Quoted 1 line

Greg, is this fine?

Yes.

thanks,

greg k-h