[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024010439-magenta-wing-8857@gregkh>
Date: Thu, 4 Jan 2024 19:16:55 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Tanzir Hasan <tanzirh@...gle.com>
Cc: Carlos Llamas <cmllamas@...gle.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Arve Hjønnevåg <arve@...roid.com>,
Todd Kjos <tkjos@...roid.com>, Martijn Coenen <maco@...roid.com>,
Joel Fernandes <joel@...lfernandes.org>,
Christian Brauner <brauner@...nel.org>,
Suren Baghdasaryan <surenb@...gle.com>,
linux-kernel@...r.kernel.org, Nick Desaulniers <nnn@...gle.com>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH] android: removed asm-generic/errno-base.h
On Thu, Jan 04, 2024 at 09:32:37AM -0800, Tanzir Hasan wrote:
> On Thu, Jan 4, 2024 at 9:18 AM Carlos Llamas <cmllamas@...gle.com> wrote:
> >
> > On Thu, Jan 04, 2024 at 04:36:00PM +0100, Christophe JAILLET wrote:
> > > Le 26/12/2023 à 18:09, Tanzir Hasan a écrit :
> > > > asm-generic/errno-base.h can be replaced by linux/errno.h and the file
> > > > will still build correctly. It is an asm-generic file which should be
> > > > avoided if possible.
> > > >
> > > > Suggested-by: Al Viro <viro@...iv.linux.org.uk>
> > > > Signed-off-by: Tanzir Hasan <tanzirh@...gle.com>
> > > > ---
> > > > drivers/android/binderfs.c | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/drivers/android/binderfs.c b/drivers/android/binderfs.c
> > > > index 1224ab7aa070..d04ff6029480 100644
> > > > --- a/drivers/android/binderfs.c
> > > > +++ b/drivers/android/binderfs.c
> > > > @@ -29,7 +29,7 @@
> > > > #include <linux/uaccess.h>
> > > > #include <linux/user_namespace.h>
> > > > #include <linux/xarray.h>
> > > > -#include <uapi/asm-generic/errno-base.h>
> > > > +#include <linux/errno.h>
> > >
> > > linux/errno.h is already included a few lines above.
> > >
> > > CJ
> > >
> >
> > Good catch! Then we should just drop the errno-base.h include.
> >
> > --
> > Carlos Llamas
>
> Thanks for bringing that up. I will correct it and just remove the
> asm-generic header instead.
Please just send a patch removing the duplicate as I have already
applied this one.
thanks,
gre gk-h
Powered by blists - more mailing lists