[PATCH v10 04/11] Makefile.headersinst: cleanup input files

2017-03-14 Thread Nicolas Dichtel
After the last three patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel --- scripts/Makefile.headersinst | 38

[PATCH v10 00/11] uapi: export all headers under uapi directories

2017-03-14 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non

[PATCH v10 00/11] uapi: export all headers under uapi directories

2017-03-14 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-14 Thread Nicolas Dichtel
Le 14/03/2017 à 06:38, Masahiro Yamada a écrit : > Ni Nicolas, > > > 2017-03-14 1:57 GMT+09:00 Nicolas Dichtel <nicolas.dich...@6wind.com>: >>> BTW, this series does not apply cleanly. >>> >>> If you could rebase it onto v4.11-rc1 tag, >>&g

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-14 Thread Nicolas Dichtel
Le 14/03/2017 à 06:38, Masahiro Yamada a écrit : > Ni Nicolas, > > > 2017-03-14 1:57 GMT+09:00 Nicolas Dichtel : >>> BTW, this series does not apply cleanly. >>> >>> If you could rebase it onto v4.11-rc1 tag, >>> it would be helpful. >> You

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-13 Thread Nicolas Dichtel
Le 11/03/2017 à 06:43, Masahiro Yamada a écrit : [snip] > > I will take care of this. Thank you. > > > >> kbuild tree has not been updated since two months (4.10-rc1) :/ > > Michal's tree is not active these days. Ok, I didn't know that. > Going forward, I will queue up Kbuild patches in my

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-13 Thread Nicolas Dichtel
Le 11/03/2017 à 06:43, Masahiro Yamada a écrit : [snip] > > I will take care of this. Thank you. > > > >> kbuild tree has not been updated since two months (4.10-rc1) :/ > > Michal's tree is not active these days. Ok, I didn't know that. > Going forward, I will queue up Kbuild patches in my

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-10 Thread Nicolas Dichtel
Le 02/03/2017 à 17:56, Nicolas Dichtel a écrit : > Patches #1 and #2 are just cleanup: some exported headers were still under > a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was > not under an uapi directory. > After these three patches, all exported heade

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-10 Thread Nicolas Dichtel
Le 02/03/2017 à 17:56, Nicolas Dichtel a écrit : > Patches #1 and #2 are just cleanup: some exported headers were still under > a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was > not under an uapi directory. > After these three patches, all exported heade

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-03 Thread Nicolas Dichtel
Le 02/03/2017 à 17:56, Nicolas Dichtel a écrit : > Patches #1 and #2 are just cleanup: some exported headers were still under > a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was > not under an uapi directory. > After these three patches, all exported heade

Re: [PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-03 Thread Nicolas Dichtel
Le 02/03/2017 à 17:56, Nicolas Dichtel a écrit : > Patches #1 and #2 are just cleanup: some exported headers were still under > a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was > not under an uapi directory. > After these three patches, all exported heade

[PATCH v9 10/11] uapi: export all headers under uapi directories

2017-03-02 Thread Nicolas Dichtel
et all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.c

[PATCH v9 10/11] uapi: export all headers under uapi directories

2017-03-02 Thread Nicolas Dichtel
makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel Acked-by: Daniel Vetter Acked-by: Russell King Acked

[PATCH v9 03/11] x86: stop exporting msr-index.h to userland

2017-03-02 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov <b...@alien8.de> CC: Ingo Molnar <mi...@kernel.org>

[PATCH v9 09/11] smc_diag.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/rdma/ib_verbs.h | 3 +-- include/uapi

[PATCH v9 03/11] x86: stop exporting msr-index.h to userland

2017-03-02 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov CC: Ingo Molnar Signed-off-by: Nicolas Dichtel Acked-by: Ingo Mol

[PATCH v9 09/11] smc_diag.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory #include Signed-off-by: Nicolas Dichtel --- include/rdma/ib_verbs.h | 3 +-- include/uapi/linux/smc_diag.h | 2 +- include/uapi

[PATCH v9 08/11] cryptouser.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/cryptouser.h:58:16: error: ‘CRYPTO_MAX_ALG_NAME’ undeclared here (not in a function) char cru_name[CRYPTO_MAX_ALG_NAME]; Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/linux/cr

[PATCH v9 08/11] cryptouser.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/cryptouser.h:58:16: error: ‘CRYPTO_MAX_ALG_NAME’ undeclared here (not in a function) char cru_name[CRYPTO_MAX_ALG_NAME]; Signed-off-by: Nicolas Dichtel --- include/linux/crypto.h | 2 +- include/uapi

[PATCH v9 02/11] nios2: put setup.h in uapi

2017-03-02 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Reviewed-by: Tobias Klauser <tklau...@distanz.ch> --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+)

[PATCH v9 02/11] nios2: put setup.h in uapi

2017-03-02 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel Reviewed-by: Tobias Klauser --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch

[PATCH v9 07/11] btrfs_tree.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
IZE’ undeclared here (not in a function) __u8 uuid[BTRFS_UUID_SIZE]; ^ .../linux/btrfs_tree.h:796:16: error: ‘BTRFS_DEV_STAT_VALUES_MAX’ undeclared here (not in a function) __le64 values[BTRFS_DEV_STAT_VALUES_MAX]; Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/u

[PATCH v9 01/11] h8300: put bitsperlong.h in uapi

2017-03-02 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 del

[PATCH v9 07/11] btrfs_tree.h: fix include from userland

2017-03-02 Thread Nicolas Dichtel
IZE’ undeclared here (not in a function) __u8 uuid[BTRFS_UUID_SIZE]; ^ .../linux/btrfs_tree.h:796:16: error: ‘BTRFS_DEV_STAT_VALUES_MAX’ undeclared here (not in a function) __le64 values[BTRFS_DEV_STAT_VALUES_MAX]; Signed-off-by: Nicolas Dichtel --- include/uapi/linux/btrfs_tree.h | 1

[PATCH v9 01/11] h8300: put bitsperlong.h in uapi

2017-03-02 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 arch/h8300

[PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-02 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non uapi

[PATCH v9 00/11] uapi: export all headers under uapi directories

2017-03-02 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non uapi

[PATCH v9 04/11] Makefile.headersinst: cleanup input files

2017-03-02 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- s

[PATCH v9 04/11] Makefile.headersinst: cleanup input files

2017-03-02 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel --- scripts/Makefile.headersinst | 34

[PATCH v9 11/11] uapi: export all arch specifics directories

2017-03-02 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++---

[PATCH v9 11/11] uapi: export all arch specifics directories

2017-03-02 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++--- arch/cris/include/uapi/asm

[PATCH v9 05/11] Makefile.headersinst: remove destination-y option

2017-03-02 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Acked-by: Paul Bolle <pebo...@tiscali.nl> --- Documentation/kbu

[PATCH v9 05/11] Makefile.headersinst: remove destination-y option

2017-03-02 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel Acked-by: Paul Bolle --- Documentation/kbuild/makefiles.txt | 23 --- scripts/Makefile.headersinst

[PATCH v9 06/11] uapi: includes linux/types.h before exporting files

2017-03-02 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ includ

[PATCH v9 06/11] uapi: includes linux/types.h before exporting files

2017-03-02 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ include/uapi/linux/qrtr.h | 1

[PATCH v8 06/11] uapi: includes linux/types.h before exporting files

2017-02-28 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ includ

[PATCH v8 06/11] uapi: includes linux/types.h before exporting files

2017-02-28 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ include/uapi/linux/qrtr.h | 1

[PATCH v8 08/11] cryptouser.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/cryptouser.h:58:16: error: ‘CRYPTO_MAX_ALG_NAME’ undeclared here (not in a function) char cru_name[CRYPTO_MAX_ALG_NAME]; Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/linux/cr

[PATCH v8 08/11] cryptouser.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/cryptouser.h:58:16: error: ‘CRYPTO_MAX_ALG_NAME’ undeclared here (not in a function) char cru_name[CRYPTO_MAX_ALG_NAME]; Signed-off-by: Nicolas Dichtel --- include/linux/crypto.h | 2 +- include/uapi/linux

[PATCH v8 04/11] Makefile.headersinst: cleanup input files

2017-02-28 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- s

[PATCH v8 04/11] Makefile.headersinst: cleanup input files

2017-02-28 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel --- scripts/Makefile.headersinst | 34

[PATCH v8 01/11] h8300: put bitsperlong.h in uapi

2017-02-28 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 del

[PATCH v8 01/11] h8300: put bitsperlong.h in uapi

2017-02-28 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 arch/h8300

[PATCH v8 09/11] smc_diag.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/rdma/ib_verbs.h | 3 +-- include/uapi

[PATCH v8 09/11] smc_diag.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
This patch prepares the uapi export by fixing the following error: .../linux/smc_diag.h:6:27: fatal error: rdma/ib_verbs.h: No such file or directory #include Signed-off-by: Nicolas Dichtel --- include/rdma/ib_verbs.h | 3 +-- include/uapi/linux/smc_diag.h | 2 +- include/uapi

[PATCH v8 11/11] uapi: export all arch specifics directories

2017-02-28 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++---

[PATCH v8 11/11] uapi: export all arch specifics directories

2017-02-28 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++--- arch/cris/include/uapi/asm

[PATCH v8 07/11] btrfs_tree.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
IZE’ undeclared here (not in a function) __u8 uuid[BTRFS_UUID_SIZE]; ^ .../linux/btrfs_tree.h:796:16: error: ‘BTRFS_DEV_STAT_VALUES_MAX’ undeclared here (not in a function) __le64 values[BTRFS_DEV_STAT_VALUES_MAX]; Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/u

[PATCH v8 07/11] btrfs_tree.h: fix include from userland

2017-02-28 Thread Nicolas Dichtel
IZE’ undeclared here (not in a function) __u8 uuid[BTRFS_UUID_SIZE]; ^ .../linux/btrfs_tree.h:796:16: error: ‘BTRFS_DEV_STAT_VALUES_MAX’ undeclared here (not in a function) __le64 values[BTRFS_DEV_STAT_VALUES_MAX]; Signed-off-by: Nicolas Dichtel --- include/uapi/linux/btrfs_tree.h | 1

[PATCH v8 05/11] Makefile.headersinst: remove destination-y option

2017-02-28 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Acked-by: Paul Bolle <pebo...@tiscali.nl> --- Documentation/kbu

[PATCH v8 00/11] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non uapi

[PATCH v8 05/11] Makefile.headersinst: remove destination-y option

2017-02-28 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel Acked-by: Paul Bolle --- Documentation/kbuild/makefiles.txt | 23 --- scripts/Makefile.headersinst

[PATCH v8 00/11] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4 stops searching files in non uapi

[PATCH v8 03/11] x86: stop exporting msr-index.h to userland

2017-02-28 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov <b...@alien8.de> CC: Ingo Molnar <mi...@kernel.org>

[PATCH v8 03/11] x86: stop exporting msr-index.h to userland

2017-02-28 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov CC: Ingo Molnar Signed-off-by: Nicolas Dichtel Acked-by: Ingo Mol

[PATCH v8 02/11] nios2: put setup.h in uapi

2017-02-28 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Reviewed-by: Tobias Klauser <tklau...@distanz.ch> --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+)

[PATCH v8 02/11] nios2: put setup.h in uapi

2017-02-28 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel Reviewed-by: Tobias Klauser --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch

[PATCH v8 10/11] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
et all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.c

[PATCH v8 10/11] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel Acked-by: Daniel Vetter Acked-by: Russell King Acked

Re: [PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
Le 28/02/2017 à 03:48, Dmitry V. Levin a écrit : > On Mon, Feb 27, 2017 at 05:01:55PM +0100, Nicolas Dichtel wrote: [snip] >> Is there any chance to get this series in before the rc1? > > Note that the following newly exported headers have userspace compilation > errors: >

Re: [PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-28 Thread Nicolas Dichtel
Le 28/02/2017 à 03:48, Dmitry V. Levin a écrit : > On Mon, Feb 27, 2017 at 05:01:55PM +0100, Nicolas Dichtel wrote: [snip] >> Is there any chance to get this series in before the rc1? > > Note that the following newly exported headers have userspace compilation > errors: >

Re: [PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-27 Thread Nicolas Dichtel
Le 24/02/2017 à 17:49, Nicolas Dichtel a écrit : > Regularly, when a new header is created in include/uapi/, the developer > forgets to add it in the corresponding Kbuild file. This error is usually > detected after the release is out. > > In fact, all headers under uapi dir

Re: [PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-27 Thread Nicolas Dichtel
Le 24/02/2017 à 17:49, Nicolas Dichtel a écrit : > Regularly, when a new header is created in include/uapi/, the developer > forgets to add it in the corresponding Kbuild file. This error is usually > detected after the release is out. > > In fact, all headers under uapi dir

[PATCH v7 5/8] Makefile.headersinst: remove destination-y option

2017-02-24 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Acked-by: Paul Bolle <pebo...@tiscali.nl> --- Documentation/kbu

[PATCH v7 5/8] Makefile.headersinst: remove destination-y option

2017-02-24 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel Acked-by: Paul Bolle --- Documentation/kbuild/makefiles.txt | 23 --- scripts/Makefile.headersinst

[PATCH v7 3/8] x86: stop exporting msr-index.h to userland

2017-02-24 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov <b...@alien8.de> CC: Ingo Molnar <mi...@kernel.org>

[PATCH v7 3/8] x86: stop exporting msr-index.h to userland

2017-02-24 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov CC: Ingo Molnar Signed-off-by: Nicolas Dichtel Acked-by: Ingo Mol

[PATCH v7 2/8] nios2: put setup.h in uapi

2017-02-24 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Reviewed-by: Tobias Klauser <tklau...@distanz.ch> --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+)

[PATCH v7 2/8] nios2: put setup.h in uapi

2017-02-24 Thread Nicolas Dichtel
This header file is exported, but from a userland pov, it's just a wrapper to asm-generic/setup.h. Signed-off-by: Nicolas Dichtel Reviewed-by: Tobias Klauser --- arch/nios2/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch

[PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-24 Thread Nicolas Dichtel
et all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.c

[PATCH v7 7/8] uapi: export all headers under uapi directories

2017-02-24 Thread Nicolas Dichtel
makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel Acked-by: Daniel Vetter Acked-by: Russell King Acked

[PATCH v7 0/8] uapi: export all headers under uapi directories

2017-02-24 Thread Nicolas Dichtel
Here is the v7 of this series. Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4

[PATCH v7 0/8] uapi: export all headers under uapi directories

2017-02-24 Thread Nicolas Dichtel
Here is the v7 of this series. Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4

[PATCH v7 1/8] h8300: put bitsperlong.h in uapi

2017-02-24 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 del

[PATCH v7 1/8] h8300: put bitsperlong.h in uapi

2017-02-24 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 arch/h8300

[PATCH v7 6/8] uapi: includes linux/types.h before exporting files

2017-02-24 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ includ

[PATCH v7 6/8] uapi: includes linux/types.h before exporting files

2017-02-24 Thread Nicolas Dichtel
/bnxt_re-abi.h:45: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2 ++ include/uapi/linux/pr.h | 2 ++ include/uapi/linux/qrtr.h | 1

[PATCH v7 4/8] Makefile.headersinst: cleanup input files

2017-02-24 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- s

[PATCH v7 4/8] Makefile.headersinst: cleanup input files

2017-02-24 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel --- scripts/Makefile.headersinst | 34

[PATCH v7 8/8] uapi: export all arch specifics directories

2017-02-24 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++---

[PATCH v7 8/8] uapi: export all arch specifics directories

2017-02-24 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++--- arch/cris/include/uapi/asm

Re: [PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-20 Thread Nicolas Dichtel
Le 20/02/2017 à 11:14, Arnd Bergmann a écrit : > On Mon, Feb 20, 2017 at 10:32 AM, Nicolas Dichtel > <nicolas.dich...@6wind.com> wrote: >> Le 13/02/2017 à 08:49, Christoph Hellwig a écrit : >>>> linux/genwqe/..install.cmd >>>> linux/genwqe/.install >

Re: [PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-20 Thread Nicolas Dichtel
Le 20/02/2017 à 11:14, Arnd Bergmann a écrit : > On Mon, Feb 20, 2017 at 10:32 AM, Nicolas Dichtel > wrote: >> Le 13/02/2017 à 08:49, Christoph Hellwig a écrit : >>>> linux/genwqe/..install.cmd >>>> linux/genwqe/.install >>> >>>

Re: [PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-20 Thread Nicolas Dichtel
Le 13/02/2017 à 08:49, Christoph Hellwig a écrit : >> linux/genwqe/..install.cmd >> linux/genwqe/.install > > Third time: NAK on exporting internal kbuild metadata. > And for the third time: this is not related to this series. Those files are there before my series and the goal of the series

Re: [PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-20 Thread Nicolas Dichtel
Le 13/02/2017 à 08:49, Christoph Hellwig a écrit : >> linux/genwqe/..install.cmd >> linux/genwqe/.install > > Third time: NAK on exporting internal kbuild metadata. > And for the third time: this is not related to this series. Those files are there before my series and the goal of the series

[PATCH v6 3/8] x86: stop exporting msr-index.h to userland

2017-02-10 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov <b...@alien8.de> CC: Ingo Molnar <mi...@kernel.org>

[PATCH v6 3/8] x86: stop exporting msr-index.h to userland

2017-02-10 Thread Nicolas Dichtel
Even if this file was not in an uapi directory, it was exported because it was listed in the Kbuild file. Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of the user API headers") Suggested-by: Borislav Petkov CC: Ingo Molnar Signed-off-by: Nicolas Dichtel Acked-by: I

[PATCH v6 5/8] Makefile.headersinst: remove destination-y option

2017-02-10 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Acked-by: Paul Bolle <pebo...@tiscali.nl> --- Documentation/kbu

[PATCH v6 0/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
Here is the v6 of this series. Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4

[PATCH v6 5/8] Makefile.headersinst: remove destination-y option

2017-02-10 Thread Nicolas Dichtel
This option was added in commit c7bb349e7c25 ("kbuild: introduce destination-y for exported headers") but never used in-tree. Signed-off-by: Nicolas Dichtel Acked-by: Paul Bolle --- Documentation/kbuild/makefiles.txt | 23 --- scripts/Makefile.headersinst

[PATCH v6 0/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
Here is the v6 of this series. Patches #1 and #2 are just cleanup: some exported headers were still under a non-uapi directory. Patch #3 is a fix to avoid exporting a file that was not under an uapi directory. After these three patches, all exported headers are under an uapi directory: path #4

[PATCH v6 8/8] uapi: export all arch specifics directories

2017-02-10 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++---

[PATCH v6 6/8] uapi: includes linux/types.h before exporting files

2017-02-10 Thread Nicolas Dichtel
.h:21: found __[us]{8,16,32,64} type without #include ./usr/include/linux/seg6_hmac.h:11: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ includ

[PATCH v6 6/8] uapi: includes linux/types.h before exporting files

2017-02-10 Thread Nicolas Dichtel
.h:21: found __[us]{8,16,32,64} type without #include ./usr/include/linux/seg6_hmac.h:11: found __[us]{8,16,32,64} type without #include Signed-off-by: Nicolas Dichtel --- include/uapi/linux/bcache.h | 2 +- include/uapi/linux/btrfs_tree.h | 2 ++ include/uapi/linux/cryptouser.h | 2

[PATCH v6 8/8] uapi: export all arch specifics directories

2017-02-10 Thread Nicolas Dichtel
of the specified arch. Note that only cris and tile have more directories than only asm: - arch-v[10|32] for cris; - arch for tile. Signed-off-by: Nicolas Dichtel --- Documentation/kbuild/makefiles.txt | 15 +-- Makefile | 6 +++--- arch/cris/include/uapi/asm

[PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
ubdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> Acke

[PATCH v6 7/8] uapi: export all headers under uapi directories

2017-02-10 Thread Nicolas Dichtel
. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch//include/uapi/asm/Kbuild; - arch//include/asm/Kbuild. Signed-off-by: Nicolas Dichtel Acked-by: Daniel Vetter Acked-by: Russell King Acked-by: Mark Salter

[PATCH v6 1/8] h8300: put bitsperlong.h in uapi

2017-02-10 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 del

[PATCH v6 4/8] Makefile.headersinst: cleanup input files

2017-02-10 Thread Nicolas Dichtel
After the last four patches, all exported headers are under uapi/, thus input-files2 are not needed anymore. The side effect is that input-files1-name is exactly header-y. Note also that input-files3-name is genhdr-y. Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com> --- s

[PATCH v6 1/8] h8300: put bitsperlong.h in uapi

2017-02-10 Thread Nicolas Dichtel
This header file is exported, thus move it to uapi. Signed-off-by: Nicolas Dichtel --- arch/h8300/include/asm/bitsperlong.h | 14 -- arch/h8300/include/uapi/asm/bitsperlong.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 arch/h8300

<    1   2   3   4   5   6   7   >