From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96BBC28DC6 for ; Thu, 4 Jan 2024 18:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KuBHsCl1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D219C433C8; Thu, 4 Jan 2024 18:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704392220; bh=YwcaSzQoFbc89lpvPyLjaM3jD78fBs12wpNBs2VV3iw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KuBHsCl15hYejYCQQA6x1hQqTB/AtTaEdAml9pt8WhI5sy71VQoCT7STWNYouDj3s O6lf+4Y4nEefvF02gtF8H8IXT9+Cechx99B4YDclAs/1qZmSCHe6DckRXRvyYEbMGc gZUxjliDXJbxoavH9Cu4wh2iXJi1CXaWru+iALWU= Date: Thu, 4 Jan 2024 19:16:55 +0100 From: Greg Kroah-Hartman To: Tanzir Hasan Cc: Carlos Llamas , Christophe JAILLET , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Suren Baghdasaryan , linux-kernel@vger.kernel.org, Nick Desaulniers , Al Viro Subject: Re: [PATCH] android: removed asm-generic/errno-base.h Message-ID: <2024010439-magenta-wing-8857@gregkh> References: <20231226-binderfs-v1-1-66829e92b523@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Jan 04, 2024 at 09:32:37AM -0800, Tanzir Hasan wrote: > On Thu, Jan 4, 2024 at 9:18 AM Carlos Llamas 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 > > > > Signed-off-by: Tanzir Hasan > > > > --- > > > > 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 > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > > > 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