Re: [PATCH] deb-pkg: add the shared header file for arm64

2016-05-12 Thread Michal Marek
On 2016-05-12 11:03, Huang Shijie wrote: > The arch/arm/include/asm/opcodes.h is also used by the arm64. > This patch copies it to the arm64 deb package. > > Signed-off-by: Huang Shijie > --- > scripts/package/builddeb | 6 ++ > 1 file changed, 6 insertions(+) Hi

Re: [PATCH] deb-pkg: add the shared header file for arm64

2016-05-12 Thread Michal Marek
On 2016-05-12 11:03, Huang Shijie wrote: > The arch/arm/include/asm/opcodes.h is also used by the arm64. > This patch copies it to the arm64 deb package. > > Signed-off-by: Huang Shijie > --- > scripts/package/builddeb | 6 ++ > 1 file changed, 6 insertions(+) Hi Huang, this is fixed

Re: [PATCH v7 2/6] GCC plugin infrastructure

2016-05-11 Thread Michal Marek
On 2016-04-22 20:22, Emese Revfy wrote: > diff --git a/Documentation/dontdiff b/Documentation/dontdiff > index 8ea834f..5385cba 100644 > --- a/Documentation/dontdiff > +++ b/Documentation/dontdiff > @@ -3,6 +3,7 @@ > *.bc > *.bin > *.bz2 > +*.c.[012]*.* > *.cis > *.cpio > *.csp Hi Emese,

Re: [PATCH v7 2/6] GCC plugin infrastructure

2016-05-11 Thread Michal Marek
On 2016-04-22 20:22, Emese Revfy wrote: > diff --git a/Documentation/dontdiff b/Documentation/dontdiff > index 8ea834f..5385cba 100644 > --- a/Documentation/dontdiff > +++ b/Documentation/dontdiff > @@ -3,6 +3,7 @@ > *.bc > *.bin > *.bz2 > +*.c.[012]*.* > *.cis > *.cpio > *.csp Hi Emese,

Re: [PATCH] kbuild: move -Wunused-const-variable to W=1 warning level

2016-05-11 Thread Michal Marek
On Tue, May 10, 2016 at 11:30:01PM +0200, Arnd Bergmann wrote: > gcc-6 started warning by default about variables that are not > used anywhere and that are marked 'const', generating many > false positives in an allmodconfig build, e.g.: > > arch/arm/mach-davinci/board-da830-evm.c:282:20:

Re: [PATCH] kbuild: move -Wunused-const-variable to W=1 warning level

2016-05-11 Thread Michal Marek
On Tue, May 10, 2016 at 11:30:01PM +0200, Arnd Bergmann wrote: > gcc-6 started warning by default about variables that are not > used anywhere and that are marked 'const', generating many > false positives in an allmodconfig build, e.g.: > > arch/arm/mach-davinci/board-da830-evm.c:282:20:

Re: [PATCH v2] kbuild: fix if_change and friends to consider argument order

2016-05-10 Thread Michal Marek
On Sat, May 07, 2016 at 03:48:26PM +0900, Masahiro Yamada wrote: > Currently, arg-check is implemented as follows: > > arg-check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ > $(filter-out $(cmd_$@), $(cmd_$(1))) ) > > This does not care about the order of arguments

Re: [PATCH v2] kbuild: fix if_change and friends to consider argument order

2016-05-10 Thread Michal Marek
On Sat, May 07, 2016 at 03:48:26PM +0900, Masahiro Yamada wrote: > Currently, arg-check is implemented as follows: > > arg-check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ > $(filter-out $(cmd_$@), $(cmd_$(1))) ) > > This does not care about the order of arguments

Re: [PATCH v1] builddeb: fix missing headers in linux-headers package

2016-05-10 Thread Michal Marek
On Thu, May 05, 2016 at 10:42:12AM -0400, Christopher Covington wrote: > On 03/31/2016 01:31 PM, Azriel Samson wrote: > > The kernel headers package (linux-headers) doesn't include > > header files from other architectures required to build > > out-of-tree modules. > > > > For e.g. on ARM64,

Re: [PATCH v1] builddeb: fix missing headers in linux-headers package

2016-05-10 Thread Michal Marek
On Thu, May 05, 2016 at 10:42:12AM -0400, Christopher Covington wrote: > On 03/31/2016 01:31 PM, Azriel Samson wrote: > > The kernel headers package (linux-headers) doesn't include > > header files from other architectures required to build > > out-of-tree modules. > > > > For e.g. on ARM64,

Re: [PATCH] builddeb: include objtool binary in headers package

2016-05-10 Thread Michal Marek
On Wed, May 04, 2016 at 03:35:39PM +0200, Bjørn Mork wrote: > "objtool" is required for building external m dules if "Compile-time > stack metadata validation" is enabled. Otherwise all builds based > on the headers package fail with: > > make[1]: Entering directory

Re: [PATCH] builddeb: include objtool binary in headers package

2016-05-10 Thread Michal Marek
On Wed, May 04, 2016 at 03:35:39PM +0200, Bjørn Mork wrote: > "objtool" is required for building external m dules if "Compile-time > stack metadata validation" is enabled. Otherwise all builds based > on the headers package fail with: > > make[1]: Entering directory

Re: [PATCH v2] kconfig: add unexpected data itself to warning

2016-05-10 Thread Michal Marek
On Wed, Apr 27, 2016 at 09:20:17PM +0200, Paul Bolle wrote: > Hi Michal, > > On wo, 2016-03-16 at 21:27 +0100, Paul Bolle wrote: > > If the .config parser runs into unexpected data it emits warnings > > like: > > .config:6911:warning: unexpected data > > > > Add the unexpected data itself to

Re: [PATCH v2] kconfig: add unexpected data itself to warning

2016-05-10 Thread Michal Marek
On Wed, Apr 27, 2016 at 09:20:17PM +0200, Paul Bolle wrote: > Hi Michal, > > On wo, 2016-03-16 at 21:27 +0100, Paul Bolle wrote: > > If the .config parser runs into unexpected data it emits warnings > > like: > > .config:6911:warning: unexpected data > > > > Add the unexpected data itself to

Re: [RESEND PATCH 0/5] gcov fixes and maybe-uninitialized warnings

2016-05-10 Thread Michal Marek
On Mon, Apr 25, 2016 at 05:35:26PM +0200, Arnd Bergmann wrote: > Hi Michal, > > This is a resend of a series I originally sent back in February, but > unfortunately I never heard back from you. Could you apply these > patches for v4.7? > > [PATCH 1/5] Kbuild: change CC_OPTIMIZE_FOR_SIZE

Re: [RESEND PATCH 0/5] gcov fixes and maybe-uninitialized warnings

2016-05-10 Thread Michal Marek
On Mon, Apr 25, 2016 at 05:35:26PM +0200, Arnd Bergmann wrote: > Hi Michal, > > This is a resend of a series I originally sent back in February, but > unfortunately I never heard back from you. Could you apply these > patches for v4.7? > > [PATCH 1/5] Kbuild: change CC_OPTIMIZE_FOR_SIZE

Re: [PATCH v2] kbuild: forbid kernel directory to contain spaces and colons

2016-05-10 Thread Michal Marek
On Sat, Apr 02, 2016 at 09:38:53PM +0200, Robert Jarzmik wrote: > When the kernel path contains a space or a colon somewhere in the path > name, the modules_install target doesn't work anymore, as the path names > are not enclosed in double quotes. It is also supposed that and O= build > will

Re: [PATCH v2] kbuild: forbid kernel directory to contain spaces and colons

2016-05-10 Thread Michal Marek
On Sat, Apr 02, 2016 at 09:38:53PM +0200, Robert Jarzmik wrote: > When the kernel path contains a space or a colon somewhere in the path > name, the modules_install target doesn't work anymore, as the path names > are not enclosed in double quotes. It is also supposed that and O= build > will

Re: linux-next: build failure after merge of the block tree

2016-04-27 Thread Michal Marek
On 2016-04-26 22:48, Nicolas Pitre wrote: > On Wed, 27 Apr 2016, Stephen Rothwell wrote: > >> Hi Nicolas, >> >> On Tue, 26 Apr 2016 10:40:57 -0400 (EDT) Nicolas Pitre >> wrote: >>> >>> If you can reproduce this build failure, could you try a make mrproper >>> and

Re: linux-next: build failure after merge of the block tree

2016-04-27 Thread Michal Marek
On 2016-04-26 22:48, Nicolas Pitre wrote: > On Wed, 27 Apr 2016, Stephen Rothwell wrote: > >> Hi Nicolas, >> >> On Tue, 26 Apr 2016 10:40:57 -0400 (EDT) Nicolas Pitre >> wrote: >>> >>> If you can reproduce this build failure, could you try a make mrproper >>> and attempt it again? I, too,

Re: [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames

2016-04-27 Thread Michal Marek
On 2016-04-26 17:21, Nicolas Pitre wrote: > > The following renames occurred recently: > > cmd_cc_i_c --> cmd_cpp_i_c > cmd_as_s_S --> cmd_cpp_s_S > > The respective cc_*_c and as_*_S patterns no longer match the above > therefore additional patterns are needed. > > Signed-off-by: Nicolas

Re: [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames

2016-04-27 Thread Michal Marek
On 2016-04-26 17:21, Nicolas Pitre wrote: > > The following renames occurred recently: > > cmd_cc_i_c --> cmd_cpp_i_c > cmd_as_s_S --> cmd_cpp_s_S > > The respective cc_*_c and as_*_S patterns no longer match the above > therefore additional patterns are needed. > > Signed-off-by: Nicolas

Re: linux-next: build failure after merge of the block tree

2016-04-26 Thread Michal Marek
On 2016-04-26 05:38, Stephen Rothwell wrote: > Hi Nicolas, > > After merging the block tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > ERROR: ".blk_queue_write_cache" [drivers/block/virtio_blk.ko] undefined! > ERROR: ".blk_queue_write_cache"

Re: linux-next: build failure after merge of the block tree

2016-04-26 Thread Michal Marek
On 2016-04-26 05:38, Stephen Rothwell wrote: > Hi Nicolas, > > After merging the block tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > ERROR: ".blk_queue_write_cache" [drivers/block/virtio_blk.ko] undefined! > ERROR: ".blk_queue_write_cache"

Re: linux-next: Tree for Apr 22 (adjust_autoksyms.sh)

2016-04-26 Thread Michal Marek
On 2016-04-23 00:55, Randy Dunlap wrote: > On 04/22/16 12:44, Nicolas Pitre wrote: >> On Fri, 22 Apr 2016, Nicolas Pitre wrote: >> >>> On Fri, 22 Apr 2016, Randy Dunlap wrote: >>> Yes, this patch helps, but I think there is still a problem. I think that trim needs to be done after

Re: linux-next: Tree for Apr 22 (adjust_autoksyms.sh)

2016-04-26 Thread Michal Marek
On 2016-04-23 00:55, Randy Dunlap wrote: > On 04/22/16 12:44, Nicolas Pitre wrote: >> On Fri, 22 Apr 2016, Nicolas Pitre wrote: >> >>> On Fri, 22 Apr 2016, Randy Dunlap wrote: >>> Yes, this patch helps, but I think there is still a problem. I think that trim needs to be done after

Re: [PATCH v7 0/8]/[PULL REQUEST] Trim unused exported kernel symbols

2016-04-26 Thread Michal Marek
On 2016-04-20 21:26, Nicolas Pitre wrote: > On Wed, 20 Apr 2016, Nicolas Pitre wrote: > >> On Wed, 20 Apr 2016, Michal Marek wrote: >> >>> Dne 19.4.2016 v 05:32 Nicolas Pitre napsal(a): >>>> Ping ! >>>> >>>> /me only hears bac

Re: [PATCH v7 0/8]/[PULL REQUEST] Trim unused exported kernel symbols

2016-04-26 Thread Michal Marek
On 2016-04-20 21:26, Nicolas Pitre wrote: > On Wed, 20 Apr 2016, Nicolas Pitre wrote: > >> On Wed, 20 Apr 2016, Michal Marek wrote: >> >>> Dne 19.4.2016 v 05:32 Nicolas Pitre napsal(a): >>>> Ping ! >>>> >>>> /me only hears bac

Re: [PATCH] kbuild: drop redundant "PHONY += FORCE"

2016-04-25 Thread Michal Marek
On 2016-04-20 10:56, Masahiro Yamada wrote: > Hi Michal, > > 2016-04-20 17:47 GMT+09:00 Michal Marek <mma...@suse.cz>: >> On Fri, Apr 08, 2016 at 11:16:10AM +0900, Masahiro Yamada wrote: >>> "PHONY += FORCE" is already cared by scripts/Makefile.build,

Re: [PATCH] kbuild: drop redundant "PHONY += FORCE"

2016-04-25 Thread Michal Marek
On 2016-04-20 10:56, Masahiro Yamada wrote: > Hi Michal, > > 2016-04-20 17:47 GMT+09:00 Michal Marek : >> On Fri, Apr 08, 2016 at 11:16:10AM +0900, Masahiro Yamada wrote: >>> "PHONY += FORCE" is already cared by scripts/Makefile.build, >>> which the

[PATCH] kbuild: Get rid of KBUILD_STR

2016-04-20 Thread Michal Marek
The compiler can accept -DKBUILD_MODNAME="foo", it's just a matter of quoting. That way, we reduce the gcc command line a bit. Signed-off-by: Michal Marek <mma...@suse.com> --- scripts/Makefile.lib | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script

[PATCH] kbuild: Get rid of KBUILD_STR

2016-04-20 Thread Michal Marek
The compiler can accept -DKBUILD_MODNAME="foo", it's just a matter of quoting. That way, we reduce the gcc command line a bit. Signed-off-by: Michal Marek --- scripts/Makefile.lib | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/Makefile.lib

Re: [PATCH 1/2] kbuild: rename cmd_cc_i_c to cmd_cpp_i_c

2016-04-20 Thread Michal Marek
On Fri, Apr 08, 2016 at 12:00:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Apr 08, 2016 at 11:24:47AM +0900, Masahiro Yamada escreveu: > > This command just preprocesses .c files into .i files, so cmd_cpp_i_c > > seems more suitable. > > Thanks for doing it to the tools/build/ copy,

Re: [PATCH 1/2] kbuild: rename cmd_cc_i_c to cmd_cpp_i_c

2016-04-20 Thread Michal Marek
On Fri, Apr 08, 2016 at 12:00:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Apr 08, 2016 at 11:24:47AM +0900, Masahiro Yamada escreveu: > > This command just preprocesses .c files into .i files, so cmd_cpp_i_c > > seems more suitable. > > Thanks for doing it to the tools/build/ copy,

Re: [PATCH] kbuild: drop redundant "PHONY += FORCE"

2016-04-20 Thread Michal Marek
On Fri, Apr 08, 2016 at 11:16:10AM +0900, Masahiro Yamada wrote: > "PHONY += FORCE" is already cared by scripts/Makefile.build, > which these files are included from. arch/ia64/Makefile is in fact included via the main Makefile. But this one also has the PHONY += FORCE statement. Maybe we should

Re: [PATCH] kbuild: drop redundant "PHONY += FORCE"

2016-04-20 Thread Michal Marek
On Fri, Apr 08, 2016 at 11:16:10AM +0900, Masahiro Yamada wrote: > "PHONY += FORCE" is already cared by scripts/Makefile.build, > which these files are included from. arch/ia64/Makefile is in fact included via the main Makefile. But this one also has the PHONY += FORCE statement. Maybe we should

Re: [PATCH] kbuild: delete unnecessary "@:"

2016-04-20 Thread Michal Marek
On Thu, Mar 31, 2016 at 08:14:16PM +0900, Masahiro Yamada wrote: > Since commit 2aedcd098a94 ('kbuild: suppress annoying "... is up to > date." message'), $(call if_changed,...) is evaluated to "@:" > when there is nothing to do. > > We no longer need to add "@:" after $(call if_changed,...) to >

Re: [PATCH] kbuild: delete unnecessary "@:"

2016-04-20 Thread Michal Marek
On Thu, Mar 31, 2016 at 08:14:16PM +0900, Masahiro Yamada wrote: > Since commit 2aedcd098a94 ('kbuild: suppress annoying "... is up to > date." message'), $(call if_changed,...) is evaluated to "@:" > when there is nothing to do. > > We no longer need to add "@:" after $(call if_changed,...) to >

Re: [PATCH] kbuild: mark help target as PHONY

2016-04-20 Thread Michal Marek
On Sun, Mar 13, 2016 at 09:39:55AM +0900, Masahiro Yamada wrote: > Obviously, the "help" should be a PHONY target. > > Signed-off-by: Masahiro Yamada Applied to kbuild.git#kbuild. Michal

Re: [PATCH] kbuild: mark help target as PHONY

2016-04-20 Thread Michal Marek
On Sun, Mar 13, 2016 at 09:39:55AM +0900, Masahiro Yamada wrote: > Obviously, the "help" should be a PHONY target. > > Signed-off-by: Masahiro Yamada Applied to kbuild.git#kbuild. Michal

Re: [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE

2016-04-20 Thread Michal Marek
On Sun, Mar 13, 2016 at 09:39:22AM +0900, Masahiro Yamada wrote: > As in other places, PHONY is a better fit for "modules" and > "modules_install". > > Signed-off-by: Masahiro Yamada Applied to kbuild.git#kbuild. Michal

Re: [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE

2016-04-20 Thread Michal Marek
On Sun, Mar 13, 2016 at 09:39:22AM +0900, Masahiro Yamada wrote: > As in other places, PHONY is a better fit for "modules" and > "modules_install". > > Signed-off-by: Masahiro Yamada Applied to kbuild.git#kbuild. Michal

Re: [PATCH] kbuild: drop FORCE from PHONY targets

2016-04-20 Thread Michal Marek
Dne 13.3.2016 v 01:13 Masahiro Yamada napsal(a): > These targets are marked as PHONY. No need to add FORCE to their > dependency. > > Signed-off-by: Masahiro Yamada > --- > > Makefile | 8 > arch/arm/vdso/Makefile | 2 +- >

Re: [PATCH] kbuild: drop FORCE from PHONY targets

2016-04-20 Thread Michal Marek
Dne 13.3.2016 v 01:13 Masahiro Yamada napsal(a): > These targets are marked as PHONY. No need to add FORCE to their > dependency. > > Signed-off-by: Masahiro Yamada > --- > > Makefile | 8 > arch/arm/vdso/Makefile | 2 +- > arch/ia64/Makefile | 4

Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-20 Thread Michal Marek
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote: > From: Jiri Kosina > > When uninstalling kernel RPM, we're unconditionally calling > "new-kernel-pkg --remove". There is of course a test whether the script exists. > This is useless on systems which are based on

Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-20 Thread Michal Marek
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote: > From: Jiri Kosina > > When uninstalling kernel RPM, we're unconditionally calling > "new-kernel-pkg --remove". There is of course a test whether the script exists. > This is useless on systems which are based on >

Re: [PATCH] scripts: coccinelle: remove check to move constants to right

2016-04-20 Thread Michal Marek
On Sat, Mar 19, 2016 at 06:43:08PM +0100, Julia Lawall wrote: > On Sat, 19 Mar 2016, Wolfram Sang wrote: > > > The header mentions this check depends on personal taste. I agree. > > Running coccicheck on patches before I apply them, this SmPL produced > > enough false positives for me that I'd

Re: [PATCH] scripts: coccinelle: remove check to move constants to right

2016-04-20 Thread Michal Marek
On Sat, Mar 19, 2016 at 06:43:08PM +0100, Julia Lawall wrote: > On Sat, 19 Mar 2016, Wolfram Sang wrote: > > > The header mentions this check depends on personal taste. I agree. > > Running coccicheck on patches before I apply them, this SmPL produced > > enough false positives for me that I'd

Re: [PATCH] Coccinelle: setup_timer: Add space in front of parentheses

2016-04-20 Thread Michal Marek
Dne 20.3.2016 v 13:25 Julia Lawall napsal(a): > > > On Sun, 20 Mar 2016, Vaishali Thakkar wrote: > >> Add space in front of the offending parentheses to silent the >> parse error for older Coccinelle versions. This makes the rule >> usable with all Coccinelle versions. >> >> Reported-by:

Re: [PATCH] Coccinelle: setup_timer: Add space in front of parentheses

2016-04-20 Thread Michal Marek
Dne 20.3.2016 v 13:25 Julia Lawall napsal(a): > > > On Sun, 20 Mar 2016, Vaishali Thakkar wrote: > >> Add space in front of the offending parentheses to silent the >> parse error for older Coccinelle versions. This makes the rule >> usable with all Coccinelle versions. >> >> Reported-by:

Re: [PATCH V2 1/2] scripts: genksyms: fix resource leak

2016-04-20 Thread Michal Marek
On Tue, Apr 12, 2016 at 11:54:59PM +0300, Maxim Zhukov wrote: > This commit fixed resource leak at func main > > Signed-off-by: Maxim Zhukov Applied to kbuild.git#kbuild. Although the leak is harmless. Michal

Re: [PATCH V2 1/2] scripts: genksyms: fix resource leak

2016-04-20 Thread Michal Marek
On Tue, Apr 12, 2016 at 11:54:59PM +0300, Maxim Zhukov wrote: > This commit fixed resource leak at func main > > Signed-off-by: Maxim Zhukov Applied to kbuild.git#kbuild. Although the leak is harmless. Michal

Re: [PATCH v7 0/8]/[PULL REQUEST] Trim unused exported kernel symbols

2016-04-20 Thread Michal Marek
Dne 19.4.2016 v 05:32 Nicolas Pitre napsal(a): > Ping ! > > /me only hears back empty cave echoes ... Pulled now, sorry for the delay. Michal

Re: [PATCH v7 0/8]/[PULL REQUEST] Trim unused exported kernel symbols

2016-04-20 Thread Michal Marek
Dne 19.4.2016 v 05:32 Nicolas Pitre napsal(a): > Ping ! > > /me only hears back empty cave echoes ... Pulled now, sorry for the delay. Michal

Re: [PATCH] tools: Use builtin $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Michal Marek
On 2016-04-08 11:15, Thierry Reding wrote: > From: Thierry Reding > > Avoid forking off a shell to resolve the absolute path of the output > directory when make's builtin $(abspath ...) function will do an > adequate job. The abspath function is not available in make 3.80.

Re: [PATCH] tools: Use builtin $(abspath ...) instead of $(shell cd ... && pwd)

2016-04-18 Thread Michal Marek
On 2016-04-08 11:15, Thierry Reding wrote: > From: Thierry Reding > > Avoid forking off a shell to resolve the absolute path of the output > directory when make's builtin $(abspath ...) function will do an > adequate job. The abspath function is not available in make 3.80. Michal

Re: [GIT PULL] kconfig changes for v4.6-rc1

2016-03-30 Thread Michal Marek
On 2016-03-25 10:03, Geert Uytterhoeven wrote: > On Fri, Mar 25, 2016 at 9:54 AM, Geert Uytterhoeven >>> Al Viro (1): >>> unbreak allmodconfig KCONFIG_ALLCONFIG=... >> >> I can now indeed drop the >> >> CONFIG_MODULES=y >> >> line from my >> >> allmod.config >> >> However, this fix

Re: [GIT PULL] kconfig changes for v4.6-rc1

2016-03-30 Thread Michal Marek
On 2016-03-25 10:03, Geert Uytterhoeven wrote: > On Fri, Mar 25, 2016 at 9:54 AM, Geert Uytterhoeven >>> Al Viro (1): >>> unbreak allmodconfig KCONFIG_ALLCONFIG=... >> >> I can now indeed drop the >> >> CONFIG_MODULES=y >> >> line from my >> >> allmod.config >> >> However, this fix

[GIT PULL] kbuild misc changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, please pull the non-critical part of kbuild for v4.6-rc1: - coccinelle cleanup and a new patch - make tags rule for kprobe helpers - make rpm fix to avoid spurious grub2 entries - make rpm support for %postun script (Fedora only at the moment) Michal The following changes since commit

[GIT PULL] kbuild misc changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, please pull the non-critical part of kbuild for v4.6-rc1: - coccinelle cleanup and a new patch - make tags rule for kprobe helpers - make rpm fix to avoid spurious grub2 entries - make rpm support for %postun script (Fedora only at the moment) Michal The following changes since commit

[GIT PULL] kconfig changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, just two kconfig commits this time: - kconfig Makefile fix for make 3.80 - Fix calculating symbols so that KCONFIG_ALLCONFIG=... does not disable CONFIG_MODULES silently Michal The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24

[GIT PULL] kconfig changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, just two kconfig commits this time: - kconfig Makefile fix for make 3.80 - Fix calculating symbols so that KCONFIG_ALLCONFIG=... does not disable CONFIG_MODULES silently Michal The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24

[GIT PULL] kbuild changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, please pull these kbuild changes for v4.6-rc1: - make dtbs_install fix - Error handling fix fixdep and link-vmlinux.sh - __UNIQUE_ID fix for clang - Fix for if_changed_* to suppress the "is up to date." message - The kernel is built with -Werror=incompatible-pointer-types. The last

[GIT PULL] kbuild changes for v4.6-rc1

2016-03-24 Thread Michal Marek
Hi Linus, please pull these kbuild changes for v4.6-rc1: - make dtbs_install fix - Error handling fix fixdep and link-vmlinux.sh - __UNIQUE_ID fix for clang - Fix for if_changed_* to suppress the "is up to date." message - The kernel is built with -Werror=incompatible-pointer-types. The last

Re: linux-next: build failure after merge of the kbuild tree

2016-03-19 Thread Michal Marek
On 2016-03-16 12:29, Stephen Rothwell wrote: > Hi Michal, > > On Wed, 16 Mar 2016 08:56:50 +0100 Michal Marek <mma...@suse.cz> wrote: >> >> Right. Stephen, could you perhaps move the kbuild tree down in your list >> a bit, so that the fixes are present? > &g

Re: linux-next: build failure after merge of the kbuild tree

2016-03-19 Thread Michal Marek
On 2016-03-16 12:29, Stephen Rothwell wrote: > Hi Michal, > > On Wed, 16 Mar 2016 08:56:50 +0100 Michal Marek wrote: >> >> Right. Stephen, could you perhaps move the kbuild tree down in your list >> a bit, so that the fixes are present? > > Done. > > No

Re: [PATCH 1/2] kconfig: add chomp like helper function

2016-03-19 Thread Michal Marek
On 2016-03-16 11:53, Paul Bolle wrote: > Add a helper function that strips trailing new lines and carriage > returns from strings. Call it chomp, after the perl function that > inspired it. > > Signed-off-by: Paul Bolle > --- > scripts/kconfig/confdata.c | 22

Re: [PATCH 1/2] kconfig: add chomp like helper function

2016-03-19 Thread Michal Marek
On 2016-03-16 11:53, Paul Bolle wrote: > Add a helper function that strips trailing new lines and carriage > returns from strings. Call it chomp, after the perl function that > inspired it. > > Signed-off-by: Paul Bolle > --- > scripts/kconfig/confdata.c | 22 ++ > 1 file

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-18 Thread Michal Marek
On 2016-03-16 00:14, Nicolas Pitre wrote: > On Tue, 15 Mar 2016, Michal Marek wrote: > >> Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): >>> +# Filter out exported kernel symbol names from the preprocessor output. >>> +# See also __KSYM_DEPS__ in include/lin

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-18 Thread Michal Marek
On 2016-03-16 00:14, Nicolas Pitre wrote: > On Tue, 15 Mar 2016, Michal Marek wrote: > >> Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): >>> +# Filter out exported kernel symbol names from the preprocessor output. >>> +# See also __KSYM_DEPS__ in include/lin

Re: linux-next: build failure after merge of the kbuild tree

2016-03-16 Thread Michal Marek
On 2016-03-16 08:53, Daniel Wagner wrote: > Hi, > > On 03/16/2016 12:58 AM, Stephen Rothwell wrote: >> After merging the kbuild tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: error: initialization from >>

Re: linux-next: build failure after merge of the kbuild tree

2016-03-16 Thread Michal Marek
On 2016-03-16 08:53, Daniel Wagner wrote: > Hi, > > On 03/16/2016 12:58 AM, Stephen Rothwell wrote: >> After merging the kbuild tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: error: initialization from >>

Re: [PATCH] kbuild: Add option to turn incompatible pointer check into error

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 22:34 Michal Marek napsal(a): > Dne 8.3.2016 v 10:19 Ingo Molnar napsal(a): >> Note that there will be a few build failures triggered by this, for example >> this >> fix from linux-next is needed: >> >>> commit db9b60400f9253c25ae639797df2d0ff

Re: [PATCH] kbuild: Add option to turn incompatible pointer check into error

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 22:34 Michal Marek napsal(a): > Dne 8.3.2016 v 10:19 Ingo Molnar napsal(a): >> Note that there will be a few build failures triggered by this, for example >> this >> fix from linux-next is needed: >> >>> commit db9b60400f9253c25ae639797df2d0ff

Re: [PATCH] kbuild: Add option to turn incompatible pointer check into error

2016-03-15 Thread Michal Marek
Dne 8.3.2016 v 10:19 Ingo Molnar napsal(a): > > * Thomas Gleixner wrote: > >> On Tue, 8 Mar 2016, Daniel Wagner wrote: >> >>> From: Daniel Wagner >>> >>> With the introduction of the simple wait API we have two very >>> similar APIs in the

Re: [PATCH] kbuild: Add option to turn incompatible pointer check into error

2016-03-15 Thread Michal Marek
Dne 8.3.2016 v 10:19 Ingo Molnar napsal(a): > > * Thomas Gleixner wrote: > >> On Tue, 8 Mar 2016, Daniel Wagner wrote: >> >>> From: Daniel Wagner >>> >>> With the introduction of the simple wait API we have two very >>> similar APIs in the kernel. For example wake_up() and swake_up() >>> is

Re: [PATCH] kbuild: drop FORCE from PHONY targets

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 19:27 Andy Lutomirski napsal(a): > Fair enough, although I'm curious why this happens. It might be worth > changing the docs to say that .PHONY is *not* an substitute for FORCE > in that context, then. These two are unrelated, except that FORCE is redundant for a .PHONY target.

Re: [PATCH] kbuild: drop FORCE from PHONY targets

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 19:27 Andy Lutomirski napsal(a): > Fair enough, although I'm curious why this happens. It might be worth > changing the docs to say that .PHONY is *not* an substitute for FORCE > in that context, then. These two are unrelated, except that FORCE is redundant for a .PHONY target.

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 21:33 Michal Marek napsal(a): > Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): >> +# Filter out exported kernel symbol names from the preprocessor output. >> +# See also __KSYM_DEPS__ in include/linux/export.h. >> +# We disable the depfile generation here, s

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 21:33 Michal Marek napsal(a): > Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): >> +# Filter out exported kernel symbol names from the preprocessor output. >> +# See also __KSYM_DEPS__ in include/linux/export.h. >> +# We disable the depfile generation here, s

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names from the preprocessor output. > +# See also __KSYM_DEPS__ in include/linux/export.h. > +# We disable the depfile generation here, so as not to overwrite the existing > +# depfile while fixdep is parsing it

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names from the preprocessor output. > +# See also __KSYM_DEPS__ in include/linux/export.h. > +# We disable the depfile generation here, so as not to overwrite the existing > +# depfile while fixdep is parsing it

Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread Michal Marek
This should go to the staging mailing list. Michal Dne 11.3.2016 v 10:22 laerdevstud...@gmail.com napsal(a): > From: Parth Sane > > Fixed netlogic checkpatch multiple assignment warning in platform_net.c > > Signed-off-by: Parth Sane > ---

Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread Michal Marek
This should go to the staging mailing list. Michal Dne 11.3.2016 v 10:22 laerdevstud...@gmail.com napsal(a): > From: Parth Sane > > Fixed netlogic checkpatch multiple assignment warning in platform_net.c > > Signed-off-by: Parth Sane > --- > drivers/staging/netlogic/platform_net.c | 3 ++- >

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
On Fri, Mar 04, 2016 at 11:53:53PM +0100, Michal Marek wrote: > Dne 4.3.2016 v 23:51 Michal Marek napsal(a): > > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): > >> +cmd_and_fixdep = > >>\ &g

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
On Fri, Mar 04, 2016 at 11:53:53PM +0100, Michal Marek wrote: > Dne 4.3.2016 v 23:51 Michal Marek napsal(a): > > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): > >> +cmd_and_fixdep = > >>\ &g

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
Dne 4.3.2016 v 23:51 Michal Marek napsal(a): > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): >> +cmd_and_fixdep = >> \ >> +$(echo-cmd) $(cmd_$(1)); \ >

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
Dne 4.3.2016 v 23:51 Michal Marek napsal(a): > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): >> +cmd_and_fixdep = >> \ >> +$(echo-cmd) $(cmd_$(1)); \ >

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): > +cmd_and_fixdep = > \ > + $(echo-cmd) $(cmd_$(1)); \ > + $(ksym_dep_filter) | \ > +

Re: [PATCH v5 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a): > +cmd_and_fixdep = > \ > + $(echo-cmd) $(cmd_$(1)); \ > + $(ksym_dep_filter) | \ > +

Re: [PATCH] kbuild: suppress annoying "... is up to date." message

2016-03-04 Thread Michal Marek
On Thu, Mar 03, 2016 at 05:36:30PM +0900, Masahiro Yamada wrote: > Under certain conditions, Kbuild shows "... is up to date" where > if_changed or friends are used. > > For example, the incremental build of ARM64 Linux shows this message > when the kernel image has not been updated. > > $

Re: [PATCH] kbuild: suppress annoying "... is up to date." message

2016-03-04 Thread Michal Marek
On Thu, Mar 03, 2016 at 05:36:30PM +0900, Masahiro Yamada wrote: > Under certain conditions, Kbuild shows "... is up to date" where > if_changed or friends are used. > > For example, the incremental build of ARM64 Linux shows this message > when the kernel image has not been updated. > > $

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-04 Thread Michal Marek
Dne 2.3.2016 v 15:28 Paolo Abeni napsal(a): > This patch add a rpm preuninstall scriptlet to cleanup the > boot loader configuration on kernel package uninstall. > The initrd for the to-be-removed kernel is deleted, too. > > Signed-off-by: Paolo Abeni Applied to

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-04 Thread Michal Marek
Dne 2.3.2016 v 15:28 Paolo Abeni napsal(a): > This patch add a rpm preuninstall scriptlet to cleanup the > boot loader configuration on kernel package uninstall. > The initrd for the to-be-removed kernel is deleted, too. > > Signed-off-by: Paolo Abeni Applied to kbuild.git#misc. Michal

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-04 Thread Michal Marek
Dne 3.3.2016 v 10:09 Paolo Abeni napsal(a): > I'm sorry, I try to dig a bit, but I did not find any distro agnostic > kernel removal tools. Can you please point out some ? There isn't any, so unfortunately we need a list of various distro-specific methods, starting with ew-kernel-pkg. The %post

Re: [PATCH] kbuild/mkspec: clean boot loader configuration on rpm removal

2016-03-04 Thread Michal Marek
Dne 3.3.2016 v 10:09 Paolo Abeni napsal(a): > I'm sorry, I try to dig a bit, but I did not find any distro agnostic > kernel removal tools. Can you please point out some ? There isn't any, so unfortunately we need a list of various distro-specific methods, starting with ew-kernel-pkg. The %post

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
On 2016-03-04 03:46, Nicolas Pitre wrote: > On Thu, 3 Mar 2016, Michal Marek wrote: > >> Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): >>> +# Filter out exported kernel symbol names advertised as warning pragmas >>> +# by the preprocessor and write them to $(1).

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-04 Thread Michal Marek
On 2016-03-04 03:46, Nicolas Pitre wrote: > On Thu, 3 Mar 2016, Michal Marek wrote: > >> Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): >>> +# Filter out exported kernel symbol names advertised as warning pragmas >>> +# by the preprocessor and write them to $(1).

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Michal Marek
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names advertised as warning pragmas > +# by the preprocessor and write them to $(1). We must consider continuation > +# lines as well: they start with a blank, or the preceeding line ends with > +# a ':'.

Re: [PATCH v4 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-03 Thread Michal Marek
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names advertised as warning pragmas > +# by the preprocessor and write them to $(1). We must consider continuation > +# lines as well: they start with a blank, or the preceeding line ends with > +# a ':'.

<    1   2   3   4   5   6   7   8   9   10   >