Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-07 Thread Michal Marek
On 2016-06-07 03:38, Zanoni, Paulo R wrote: > Hi > > I recently noticed that alternating between "make" and "make targz-pkg" > rebuilds the whole Kernel. This was not happening before. As a Kernel > developer, my build/install/test environment heavily relies on the fact > that "make targz-pkg" onl

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-07 Thread Michal Marek
On 2016-06-07 11:38, Michal Marek wrote: > On 2016-06-07 03:38, Zanoni, Paulo R wrote: >> Hi >> >> I recently noticed that alternating between "make" and "make targz-pkg" >> rebuilds the whole Kernel. This was not happening before. As a Kernel

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-07 Thread Michal Marek
On 2016-06-07 12:03, Masahiro Yamada wrote: > 2016-06-07 18:58 GMT+09:00 Michal Marek : >> On 2016-06-07 11:38, Michal Marek wrote: >>> On 2016-06-07 03:38, Zanoni, Paulo R wrote: >>>> Hi >>>> >>>> I recently noticed that alternating betwe

Re: [PATCH v9 0/4] Introduce GCC plugin infrastructure

2016-06-07 Thread Michal Marek
Dne 25.5.2016 v 19:12 Kees Cook napsal(a): > On Wed, May 25, 2016 at 3:46 AM, Michal Marek wrote: >> On 2016-05-24 19:04, Kees Cook wrote: >>> On Mon, May 23, 2016 at 3:07 PM, Emese Revfy wrote: >>>> This patch set introduce the GCC plugin infrastructure with examp

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-07 Thread Michal Marek
variables is exported. So we are fine _with respect to the main Makefile_. It's possible that e.g. some arch Makefile has a skeleton in the cupboard. We will see. Michal >From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 7 Jun 2016 11:57:02 +02

Re: [PATCH v9 0/4] Introduce GCC plugin infrastructure

2016-06-08 Thread Michal Marek
Dne 7.6.2016 v 23:58 Kees Cook napsal(a): > On Tue, Jun 7, 2016 at 2:59 PM, Emese Revfy wrote: >> On Tue, 7 Jun 2016 13:59:53 -0700 >> Kees Cook wrote: >> I applied the series to kbuild.git#kbuild now, sorry for the delay. >>> >>> Awesome! Thank you very much. I'll prepare the latent en

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

2016-08-19 Thread Michal Marek
On 2016-08-19 07:09, Stephen Rothwell wrote: > Hi Nick, > > On Fri, 19 Aug 2016 13:38:54 +1000 Stephen Rothwell > wrote: >> >> On Thu, 18 Aug 2016 11:09:48 +1000 Nicholas Piggin wrote: >>> >>> On Wed, 17 Aug 2016 14:59:59 +0200 >>> Michal Mar

Re: [RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-19 Thread Michal Marek
On 2016-08-18 19:55, Luis R. Rodriguez wrote: > On Wed, Aug 17, 2016 at 09:26:58PM +0200, Cristina Moraru wrote: > >> This patchset implements dynamic pegging of kconfig symbol >> into driver modinfo section > > First a little bit of motivation here helps, so let me try to > help fill in some gap

[GIT PULL] kbuild regression fix

2016-06-27 Thread Michal Marek
for you to fetch changes up to b36fad65d61fffe4b662d4bfb1ed673c455a36a2: kbuild: Initialize exported variables (2016-06-07 23:39:03 +0200) -------- Michal Marek (1): kbuild: Initialize exported variables Makefile | 2 ++ 1 file

Re: Regression in "kbuild: fix if_change and friends to consider argument order"

2016-06-27 Thread Michal Marek
Dne 26.6.2016 v 12:43 Thorsten Leemhuis napsal(a): > On 09.06.2016 01:29, Zanoni, Paulo R wrote: >> Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu: >>> On Tue, Jun 07, 2016 at 02:10:28PM +, Zanoni, Paulo R wrote: >>> From b36fad65d61fffe4b662d4bfb1ed673c4

Re: [PATCH v4 6/8] create/adjust generated/autoksyms.h

2016-03-03 Thread Michal Marek
Hi Nicolas, sorry for the late review. Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a): > +set -e > + > +cur_ksyms_file="include/generated/autoksyms.h" > +new_ksyms_file="include/generated/autoksyms.h.tmpnew" > + > +info() { [ "$quiet" != "silent_" ] && printf " %-7s %s\n" "$1" "$2"; } Using && 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 ':'. Anything

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] 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 sc

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: 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. > > $ make

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 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
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

[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 chan

[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 1

[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

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] arm64, kbuild: make "make install" not depend on vmlinux

2016-02-19 Thread Michal Marek
Dne 19.2.2016 v 18:29 Masahiro Yamada napsal(a): > Just for clarification: > > This patch has been applied to arm64 tree. > > Michal, > Just ignore this patch. Sure. I assumed that a patch touching solely arch/arm* will go through the respective arm tree. Michal

[PATCH] X.509: Fix test for self-signed certificate

2016-02-11 Thread Michal Marek
form AuthorityKeyIdentifier") Signed-off-by: Michal Marek --- crypto/asymmetric_keys/x509_public_key.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crypto/asymmetric_keys/x509_public_key.c b/crypto/asymmetric_keys/x509_public_key.c index 7092d5cbb5d3..2c46e022a2a3 100644 --

Re: [PATCH] ld-version: Drop the 4th and 5th version components

2016-02-11 Thread Michal Marek
On 2016-02-11 15:25, Maciej W. Rozycki wrote: > ... making upstream development binutils snapshots work as expected, > e.g.: > > $ mips64el-linux-ld --version > GNU ld (GNU Binutils) 2.20.1.20100303 > [...] > $ > > Signed-off-by: Maciej W. Rozycki fwiw, Acke

[PATCH v3] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2016-03-01 Thread Michal Marek
quot;\1" ctags: Warning: net/ipv4/syncookies.c:53: null expansion of name pattern "\1" This patch removes the newlines in the DEFINE_PER_CPU, so that the respective per-cpu variable definitions can be indexed. Signed-off-by: Michal Marek --- v2->v3: Rebased and improved chang

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-25 Thread Michal Marek
Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): > > > On 23 September 2015 19:50:52 GMT+10:00, Michal Marek > wrote: >> On 2015-09-23 07:40, Michael Ellerman wrote: >>> +else ifneq ($(wildcard >> arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) >>> @$(

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michal Marek
On 2015-09-23 07:40, Michael Ellerman wrote: > +else ifneq ($(wildcard arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) > @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" > $(Q)$< $(silent) > --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) > +els

Re: [PATCH 0/2] kbuild: Minor cleanups of fixdep

2015-08-24 Thread Michal Marek
On 2015-07-24 07:18, Masahiro Yamada wrote: > Masahiro Yamada (2): > kbuild: fixdep: optimize code slightly > kbuild: fixdep: drop meaningless hash table initialization > > scripts/basic/fixdep.c | 26 -- > 1 file changed, 4 insertions(+), 22 deletions(-) Applied to k

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-07-27 12:33, Valentin Rothberg wrote: > Until now, checkkonfigsymbols.py did not check default statements for > references on missing Kconfig symbols (i.e., undefined Kconfig options). > Hence, add support to parse and check the Kconfig default statement. > > Signed-off-by: Valentin Rothbe

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Michal Marek
On 2015-08-24 16:52, Valentin Rothberg wrote: > Hi Michal, > > On Mon, Aug 24, 2015 at 4:49 PM, Michal Marek wrote: >> On 2015-07-27 12:33, Valentin Rothberg wrote: >>> Until now, checkkonfigsymbols.py did not check default statements for >>> reference

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 15:51, Kris Borer wrote: > Add a semantic patch for fixing some cases of checkpatch.pl error: > > ERROR: do not use assignment in if condition There is a gcc warning for this already. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [RFC] coccinelle: add style check for assignment in if

2015-08-12 Thread Michal Marek
On 2015-08-12 16:53, Kris Borer wrote: > On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek <mailto:mma...@suse.cz>> wrote: > > On 2015-08-12 15:51, Kris Borer wrote: > > Add a semantic patch for fixing some cases of checkpatch.pl > <http://checkpatch.pl>

Re: [PATCH] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
On 2015-09-22 10:47, Feng Wu wrote: > We need to build files in virt/lib/, which are now used by > KVM and VFIO, so add virt directory to the top Makefile. > > Signed-off-by: Feng Wu > --- > Makefile | 8 +--- > arch/x86/kvm/Makefile | 3 --- > virt/Makefile | 1 + > 3 f

Re: [PATCH v2] Add virt directory to the top Makefile

2015-09-22 Thread Michal Marek
Dne 22.9.2015 v 14:23 Feng Wu napsal(a): > We need to build files in virt/lib/, so add virt directory to > the top Makefile. > > Signed-off-by: Feng Wu > --- > v2: > - Remove the explicit 'virt' entry in the KBUILD_ALLDIRS assignment > - Remove './&#x

Re: [PATCH] genksyms: Handle string literals with spaces in reference files

2015-12-10 Thread Michal Marek
Dne 9.12.2015 v 16:06 Michal Marek napsal(a): > The reference files use spaces to separate tokens, however, we must > preserve spaces inside string literals. Currently the only case in the > tree is struct edac_raw_error_desc in : > > $ KBUILD_SYMTYPES=1 make -s drivers/edac/amd6

Re: [RESEND PATCH] kconfig: allow kconfig to handle longer path names

2015-12-10 Thread Michal Marek
On 2015-12-09 23:56, Markus Mayer wrote: > The current (arbitrary) limit of 128 characters for path names has > proven too short for Android builds, as longer path names are used > there. > > Change conf.c, so it can handle path lengths up to PATH_MAX characters. > > Signed-off-by: Markus Mayer

Re: [PATCH] kbuild: Do not run modules_install and install in paralel

2015-12-10 Thread Michal Marek
Dne 9.12.2015 v 22:34 Andy Lutomirski napsal(a): > On Fri, Jun 13, 2014 at 2:39 AM, Michal Marek wrote: >> Based on a x86-only patch by Andy Lutomirski >> >> With modular kernels, 'make install' is going to need the installed >> modules at some point to gen

Re: [PATCH] kbuild: support make dir/file.i for *.S

2015-12-11 Thread Michal Marek
Dne 10.12.2015 v 17:33 Wang YanQing napsal(a): > This feature could reduce a little time to expand all > the macros in *.S for reading. > > Signed-off-by: Wang YanQing Makes sense. Applied to kbuild.git#kbuild. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH] Makefile: revert "Makefile: Document ability to make file.lst and file.S" partially

2015-12-11 Thread Michal Marek
Dne 10.12.2015 v 17:35 Wang YanQing napsal(a): > Commit 627189797807 ("Makefile: Document ability to make file.lst > and file.S") document ability to make file.S, but there isn't such > ability in kbuild, so revert it. > > Signed-off-by: Wang YanQing Thanks, applied to kbuild.git#kbuild. Michal

Re: [PATCH v2 01/13] [kbuild] handle exports in lib-y objects reliably

2016-02-04 Thread Michal Marek
everything in > arch/ia64/lib into lib-* and don't bother with arch/ia64/lib/built-in.o > anymore. > > Signed-off-by: Al Viro > --- > arch/ia64/hp/sim/boot/Makefile | 2 +- > arch/ia64/lib/Makefile | 8 +++- > scripts/Makefile.build | 20 +++

Re: [PATCH] scripts/link-vmlinux.sh: force error on kallsyms failure

2016-02-05 Thread Michal Marek
On 2016-02-04 18:09, Ard Biesheuvel wrote: > - ${NM} -n ${1} | \ > - scripts/kallsyms ${kallsymopt} | \ > - ${CC} ${aflags} -c -o ${2} -x assembler-with-cpp - > + # capture the return code of scripts/kallsyms in $RC > + local RC=`(${NM} -n ${1} | \ > +

Re: Dependency issue through subdir's

2016-01-25 Thread Michal Marek
On 2016-01-25 12:33, Kieran Bingham wrote: > This is functional on a make -j1 build, however at -j2 and above (from a > clean build), kbuild attempts to generate my file before > include/generated/timeconst.h resulting in the following error: > > --- 8< --- > GEN scripts/gdb/linux/constants.

Re: Dependency issue through subdir's

2016-01-25 Thread Michal Marek
On 2016-01-25 17:22, Kieran Bingham wrote: > I've got a working patch now for the $(MAKE) version, > however I've had to use $(build)=scripts/gdb/linux build_constants to > make it work. $(build)= is the correct syntax, sorry for the confusion. Michal

Re: [PATCH v2 7/8] tags: Unify emacs and exuberant rules

2016-01-05 Thread Michal Marek
Dne 4.12.2015 v 16:26 Michal Marek napsal(a): > The emacs rules were constantly lagging behind the exuberant ones. Use a > single set of rules for both, to make the script easier to maintain. > The language understood by both tools is basic regular expression with > some limitation

Re: linux-next: manual merge of the akpm-current tree with the kbuild tree

2016-01-06 Thread Michal Marek
On 2016-01-06 07:54, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > scripts/tags.sh > > between commit: > > 93209d65c1d3 ("tags: Unify emacs and exuberant rules") > > from the kbuild tree and commit: > > ef0e95208c33 ("p

Re: [RFC-b PATCH] kbuild: redefine __FILE__ as relative path from $(srctree) if possible

2017-04-21 Thread Michal Marek
Dne 21.4.2017 v 21:36 Masahiro Yamada napsal(a): > Since Kbuild runs in the objtree, __FILE__ can be a very long path > depending of $(srctree). > > Commit 9da0763bdd82 ("kbuild: Use relative path when building in a > subdir of the source tree") made the situation better for cases > where objtree

Re: [PATCH] kbuild: simplify silent build (-s) detection

2017-05-19 Thread Michal Marek
On 2017-05-19 06:28, Masahiro Yamada wrote: > This allows to detect -s option without checking GNU Make version. > > As commit e36aaea28972 ("kbuild: Fix silent builds with make-4") > pointed out, GNU Make 4.x changed the way/order it presents the > command line options into MAKEFLAGS. > > In Mak

Re: [PATCH 1/3] kbuild: Add cc-option-no-kbuild macro

2017-06-13 Thread Michal Marek
On 2017-06-13 02:55, Matthias Kaehlcke wrote: > cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines > whether an option is supported or not. This is fine for options used to > build the kernel itself, however some components like the x86 boot code > use a different set of flags. >

Re: [PATCH v2] Kbuild: tiny correction on `make help`

2017-06-14 Thread Michal Marek
Dne 14.6.2017 v 09:08 Cao jin napsal(a): > > > On 06/14/2017 09:15 AM, Masahiro Yamada wrote: >> 2017-06-13 18:52 GMT+09:00 Cao jin : >>> Yamada-san, >>> >>> I have a question on the current top level Makefile. There are >>> following lines, I have trouble to understand "firstword x$(MAKEFLAGS)

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-14 Thread Michal Marek
ro name from Add cc-option-no-kbuild to cc-option-raw >>> - Added compiler as parameter to the macro >>> - Reworked cc-option to make use of cc-option-raw >>> - Updated commit message >>> >>> scripts/Kbuild.include | 9 +++-- >>> 1 file changed, 7

Re: [PATCH] Unexport LANG env variable

2017-06-14 Thread Michal Marek
Dne 14.6.2017 v 14:40 Alexey Brodkin napsal(a): > In those cases when we parse output of standard utilities like readelf > etc we rely on a particular sentences. For example for ARC we extract > an entry-point from vmlinux like that: > -->8 > readelf -h vmlin

Re: [RFC] Increase Minimal GNU Make version for Linux Kernel from 3.80 to 3.81

2017-05-03 Thread Michal Marek
On 2017-05-03 08:46, Masahiro Yamada wrote: > Hello Linus and Kbuild developers. > > > Documentation/process/changes.rst says the minimal version > of GNU Make is 3.80, but actually building the kernel > with this version has been broken for a long time. > > Specifically, it got broken by commit

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

2016-10-14 Thread Michal Marek
definitions sparc: move exports to definitions [sparc] unify 32bit and 64bit string.h sparc32: debride memcpy.S a bit ia64: move exports to definitions Alexey Dobriyan (1): fixdep: faster CONFIG_ search Michal Marek (2): kbuild: Regenerate genksyms lexer

[GIT PULL] kbuild misc changes for 4.9-rc1

2016-10-14 Thread Michal Marek
Hi Linus, just a few patches on the kbuild.git#misc branch this time: - New Coccinelle patch by Nicholas Mc Guire - Existing patch fixes by Julia Lawall - Minor comment fix by Markus Elfring The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-0

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2016-09-12 Thread Michal Marek
On 2016-09-12 04:53, Nicholas Piggin wrote: > Question, what is the best way to merge dependent patches? Considering > they will need a good amount of architecture testing, I think they will > have to go via arch trees. But it also does not make sense to merge these > kbuild changes upstream first,

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-19 Thread Michal Marek
Dne 18.10.2016 v 03:34 Nicholas Piggin napsal(a): > We should probably just bring all these arch patches through the > kbuild tree. > > I'm sorry for the breakage: I didn't realize it broke the build with > some configs, otherwise I would have given Michal a heads up before > his pull request, and

Re: [PATCH] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-10-19 Thread Michal Marek
Dne 17.10.2016 v 14:26 Arnd Bergmann napsal(a): > This adds an asm/asm-prototypes.h header for ARM to fix the > broken symbol versioning for symbols exported from assembler > files. > > In addition to the header, we have to do these other small > changes: > > - move the 'extern' declarations out

Re: [PATCH] kbuild/builddeb: Fix !CONFIG_GCC_PLUGINS build

2016-09-04 Thread Michal Marek
Dne 3.9.2016 v 21:58 Borislav Petkov napsal(a): > From: Borislav Petkov > > When building a bindeb-pkg target into an object output dir, i.e., O=, I > get: > > find: `scripts/gcc-plugins': No such file or directory > /mnt/kernel/kernel/linux-2.6/scripts/package/Makefile:97: recipe for target

[GIT PULL] make deb-pkg fix

2016-09-04 Thread Michal Marek
Hi Linus, Please pull this fix from make deb-pkg. The bug got introduced in v4.8-rc1. Thanks, Michal The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/

Re: Building a subdirectory ignores parent subdir-ccflags

2016-08-15 Thread Michal Marek
Dne 15.8.2016 v 23:29 Joe Perches napsal(a): > On Mon, 2016-08-15 at 14:14 -0700, Joe Perches wrote: >> On Mon, 2016-08-15 at 23:04 +0200, Greg Kroah-Hartman wrote: >>> On Mon, Aug 15, 2016 at 12:33:23PM -0700, Joe Perches wrote: Start to rationalize include paths in source code files. >> [] >

Re: [RFC][PATCHSET v2] allowing exports in *.S

2016-08-15 Thread Michal Marek
Dne 2.8.2016 v 16:01 Michal Marek napsal(a): > On 2016-02-03 22:19, Al Viro wrote: >> Shortlog: >> Al Viro (13): >> [kbuild] handle exports in lib-y objects reliably >> EXPORT_SYMBOL() for asm >> x86: move exports to actual definitions >&

Re: [RFC][PATCHSET v2] allowing exports in *.S

2016-08-15 Thread Michal Marek
Dne 16.8.2016 v 07:48 Michal Marek napsal(a): > Dne 2.8.2016 v 16:01 Michal Marek napsal(a): >> On 2016-02-03 22:19, Al Viro wrote: >>> Shortlog: >>> Al Viro (13): >>> [kbuild] handle exports in lib-y objects reliably >>> EXPORT_SYMBOL()

Re: [PATCH] builddeb: Skip gcc-plugins when not configured

2016-08-16 Thread Michal Marek
Dne 15.8.2016 v 19:36 Kees Cook napsal(a): > When attempting to build a Debian kernel package, the "scripts/gcc-plugins" > directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y. > To avoid errors when not defined, this wraps the failing "find" in a config > test. > > Reported-by:

Re: [PATCH] kbuild: do not add srctree to sysroot relative includes

2016-08-16 Thread Michal Marek
On 2016-08-16 13:40, Lars Persson wrote: > We need to filter out also -I=/path to allow sysroot relative > include paths in the makefiles of external modules. > > Signed-off-by: Lars Persson > --- > scripts/Kbuild.include | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/

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

2016-08-17 Thread Michal Marek
On 2016-08-17 03:44, Stephen Rothwell wrote: > Hi Michal, > > After merging the kbuild tree, today's linux-next build (powerpc > ppc64_defconfig) produced these warnings: > > WARNING: 25 bad relocations > c0cf2570 R_PPC64_ADDR64__crc___arch_hweight16 [...] > Introduced by commit > >

Re: [PATCH 0/2] Moving runnable code from Documentation (last 2 patches)

2016-10-01 Thread Michal Marek
an (2): >>> samples: move blackfin gptimers-example from Documentation >>> Doc: update 00-INDEX files to reflect the runnable code move >>> >> >> Hi Jon and Michal, >> >> Do these patches look good to you? I can get these into 4.9-rc1 >> with your Ack. > > Seems good to me. > > Acked-by: Jonathan Corbet Likewise, Acked-by: Michal Marek Michal

Re: [PATCH] Coccinelle: limit memdup_user transformation to GFP_KERNEL case

2016-10-01 Thread Michal Marek
Dne 21.9.2016 v 17:48 Julia Lawall napsal(a): > Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so > only allow this flag in the original code. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Thanks, Michal

Re: [PATCH] Coccinelle: pm_runtime: ensure relevance of pm_runtime reports

2016-10-01 Thread Michal Marek
Dne 22.9.2016 v 10:28 Julia Lawall napsal(a): > pm_runtime.cocci starts with one rule that searches for a variety of > functions calls, followed by various rules that report errors. Previously, > the only connection between the first rule and the rest was to check that > the first rule had matched

<    6   7   8   9   10   11