[PATCH] kbuild: remove include/linux/cyclades.h from header file check

Greg Kroah-Hartman posted 1 patch 4 years, 5 months ago
usr/include/Makefile | 1 +
1 file changed, 1 insertion(+)
[PATCH] kbuild: remove include/linux/cyclades.h from header file check
Posted by Greg Kroah-Hartman 4 years, 5 months ago
The file now rightfully throws up a big warning that it should never be
included, so remove it from the header_check test.

Fixes: f23653fe6447 ("tty: Partially revert the removal of the Cyclades public API")
Cc: stable <stable@vger.kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Cc: "Maciej W. Rozycki" <macro@embecosm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
As the offending commit is in the tty.git tree, I'll take this through
there as well.

 usr/include/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/include/Makefile b/usr/include/Makefile
index 7be7468c177b..83822c33e9e7 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -28,6 +28,7 @@ no-header-test += linux/am437x-vpfe.h
 no-header-test += linux/android/binder.h
 no-header-test += linux/android/binderfs.h
 no-header-test += linux/coda.h
+no-header-test += linux/cyclades.h
 no-header-test += linux/errqueue.h
 no-header-test += linux/fsmap.h
 no-header-test += linux/hdlc/ioctl.h
-- 
2.35.0

Re: [PATCH] kbuild: remove include/linux/cyclades.h from header file check
Posted by Maciej W. Rozycki 4 years, 5 months ago
On Thu, 27 Jan 2022, Greg Kroah-Hartman wrote:

> The file now rightfully throws up a big warning that it should never be
> included, so remove it from the header_check test.

 Thanks, I wasn't aware we have this stuff.

  Maciej