[PATCH 3/5] powerpc: Set CONFIG_NET=y in defconfigs

2014-09-23 Thread Michal Marek
...@lists.ozlabs.org Signed-off-by: Michal Marek --- arch/powerpc/configs/pmac32_defconfig | 1 + arch/powerpc/configs/ppc64_defconfig | 1 + arch/powerpc/configs/ppc64e_defconfig | 1 + arch/powerpc/configs/pseries_defconfig| 1 + arch/powerpc/configs/pseries_le_defconfig | 1 +

[PATCH 5/5] sparc: Set CONFIG_NET=y in defconfigs

2014-09-23 Thread Michal Marek
i...@vger.kernel.org Signed-off-by: Michal Marek --- arch/sparc/configs/sparc64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/configs/sparc64_defconfig b/arch/sparc/configs/sparc64_defconfig index 9d8521b..6b68f12 100644 --- a/arch/sparc/configs/sparc64_defconfig +++

Re: [PATCH 1/5] mips: Set CONFIG_NET=y in defconfigs

2014-09-23 Thread Michal Marek
On 2014-09-23 18:02, David Miller wrote: > From: Michal Marek > Date: Tue, 23 Sep 2014 17:44:00 +0200 > >> Commit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET >> instead of selecting NET") removed what happened to be the only instance >>

Re: [PATCH] kbuild, LLVMLinux: Add -Werror to cc-option to support clang

2014-09-24 Thread Michal Marek
On 2014-09-23 21:28, beh...@converseincode.com wrote: > From: Mark Charlebois > > Clang will warn about unknown warnings but will not return false You mean unknown options, right? > unless -Werror is set. GCC will return false if an unknown > warning is passed. > > Adding -Werror make both co

Re: [PATCH] kbuild, LLVMLinux: Add -Werror to cc-option to support clang

2014-09-25 Thread Michal Marek
On 2014-09-24 20:50, Behan Webster wrote: > On 09/24/14 05:07, Michal Marek wrote: >> On 2014-09-23 21:28, beh...@converseincode.com wrote: >>> From: Mark Charlebois >>> >>> Clang will warn about unknown warnings but will not return false >> You mean un

Re: [PATCH v2] coccinelle: misc: semantic patch to delete overly complex return code processing

2014-09-26 Thread Michal Marek
On Sat, Aug 23, 2014 at 07:34:45AM +0200, Julia Lawall wrote: > From: Julia Lawall > > This semantic patch simplifies cases where the effect of the processing of > a function call's return code is just to return the result of the function > directly. It may also delete a local return flag variab

Re: [PATCH v2] deb-pkg: Add support for powerpc little endian

2014-09-12 Thread Michal Marek
Mikey >>> >>> >> >> What about ppc64? >> >> Also, I sent that already a month ago. Both linuxppc-dev and Michal >> Marek were on cc. >> >> http://marc.info/?l=linux-kernel&m=140744360328562&w=2 > > Anyone using powerpc

Re: [PATCH 1/1] [RFC] kconfig: warn if an unknown symbol is selected

2014-09-29 Thread Michal Marek
et dependencies. Feel free to submit as a regular patch with Acked-by: Michal Marek Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v7] checkkconfigsymbols.sh: reimplementation in python

2014-09-29 Thread Michal Marek
On 2014-09-29 12:28, Paul Bolle wrote: >> +STMT = r"^\s*(?:if|select|depends\s+on)\s+" + EXPR > > Could please make that "depends on"? Yes, it seems the yacc grammar > accepts any amount of whitespace, but that doesn't make it right to use > anything other than a single space. But then lines that

Re: [PATCH 0/3] Implement /proc/built-in file similar to /proc/modules

2014-09-15 Thread Michal Marek
On 2014-09-14 17:38, Greg KH wrote: > On Sun, Sep 14, 2014 at 02:18:13PM +0400, Kirill Tkhai wrote: >> This series implements a possibility to show the list of built-in drivers >> to userspace. The names of drivers will be the same as when they are modules. > > Have you looked at /sys/modules/ ?

Re: [PATCH 0/3] Implement /proc/built-in file similar to /proc/modules

2014-09-15 Thread Michal Marek
On 2014-09-14 19:31, Kirill Tkhai wrote: > For example, when I compile "loop" module built-in and "loop" is in > /etc/modules, init script warns about this module is not present and > can't be autoloaded. The script does not store CONFIG_XXX <-> module_xxx > conformity. And nobody stores it. You m

[RFC] UAPI: Prevent kernel modules from using the exported headers

2014-04-25 Thread Michal Marek
Mandriva/Mageia and SUSE have been adding an #error statement to the /usr/include/linux/version.h header and it does trigger with broken out of tree modules occasionally. Adding it to all exported headers should not hurt and is easier to implement. Signed-off-by: Michal Marek --- scripts

[PATCH 1/5] firmware: Simplify directory creation

2014-04-29 Thread Michal Marek
ee). When installing the firmware blobs, call mkdir like in Makefile.modinst. Cc: David Woodhouse Signed-off-by: Michal Marek --- firmware/Makefile | 30 +- scripts/Makefile.fwinst | 24 +++- 2 files changed, 16 insertions(+), 38 deletions(-) di

[PATCH 3/5] kbuild: Use relative path for $(objtree)

2014-04-29 Thread Michal Marek
The main Makefile sets its working directory to the object tree and never changes it again. Therefore, we can use '.' instead of the absolute path. Signed-off-by: Michal Marek --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile ind

[PATCH 2/5] firmware: Use $(quote) in the Makefile

2014-04-29 Thread Michal Marek
The literal " confuses syntax highlighting in vim. Cc: David Woodhouse Signed-off-by: Michal Marek --- firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 6af62cf..5747417 100644 --- a/firmware/Makefile

[PATCH 0/5] kbuild: Use relative paths if possible

2014-04-29 Thread Michal Marek
s and Ooopses more readable by avoiding the full path to the source/object directory. Patch 2/5 is just an unrelated cleanup. Michal Michal Marek (5): firmware: Simplify directory creation firmware: Use $(quote) in the Makefile kbuild: Use relative path for $(objtree) kbuild: Use relative pa

[PATCH 5/5] kbuild: Use relative path when building in a subdir of the source tree

2014-04-29 Thread Michal Marek
When doing make O=, use '..' to refer to the source tree. This allows for more readable compiler messages, and, more importantly, it sets the VPATH to '..', so filenames in WARN_ON() etc. will be shorter. Signed-off-by: Michal Marek --- Makefile | 12 +++- 1 file ch

[PATCH 4/5] kbuild: Use relative path when building in the source tree

2014-04-29 Thread Michal Marek
When not using O=, $(srctree) refers to the same directory as $(objtree), so we can set it to '.' as well. This makes the default include path more compact and results in more readable messages from the compiler. Signed-off-by: Michal Marek --- Makefile | 2 +- 1 file changed, 1 inser

Re: [PATCH] kbuild: support simultaneous "make %config" and "make all"

2014-04-30 Thread Michal Marek
ig/conf > *** Default configuration is based on 'x86_64_defconfig' > # > # configuration written to .config > # > make: Nothing to be done for `all'. > > This commits allows "make %config all" and makes sure > mixed targets are built one by one in the giv

Re: [PATCH 02/34] kbuild: Introduce KCONFIG_AUTOCONFIGDEP variable for conf tool

2014-05-14 Thread Michal Marek
Cc: Ingo Molnar > Cc: Paul Mackerras > Cc: Corey Ashford > Cc: Frederic Weisbecker > Cc: Namhyung Kim > Cc: Borislav Petkov > Cc: Michal Marek > Cc: linux-kbu...@vger.kernel.org > Cc: Stephane Eranian > --- > scripts/kconfig/confdata.c | 11 ++- > scripts

Re: [PATCH] scripts/tags.sh: add regular expression replacement pattern for memcg

2014-05-14 Thread Michal Marek
On 2014-05-13 15:26, Jianyu Zhan wrote: > Currently, while using ctags to read code, we would get stumbled on > PageCgroup* symbols: no definition found. And it is quite dull to > manually dig it out. > > This patch adds regular expression replacement pattern for such symbols, > like what have don

Re: [PATCH v2 1/5] firmware: Simplify directory creation

2014-05-14 Thread Michal Marek
Dne 9.5.2014 18:51, Sam Ravnborg napsal(a): > On Fri, May 09, 2014 at 02:52:20PM +0200, Michal Marek wrote: >> When building the firmware blobs, use a simple loop to create >> directories in $(objtree), like in Makefile.build. This simplifies the >> rules and also mak

Re: [PATCH 0/5] kbuild: Use relative paths if possible

2014-05-08 Thread Michal Marek
On Wed, Apr 30, 2014 at 06:13:59PM +0200, Sam Ravnborg wrote: > On Tue, Apr 29, 2014 at 04:08:08PM +0200, Michal Marek wrote: > > Hi, > > > > This series changes the Makefile to use relative paths for $(objtree), > > always setting it to '.', and fo

[PATCH v2 1/5] firmware: Simplify directory creation

2014-05-09 Thread Michal Marek
ee). When installing the firmware blobs, call mkdir like in Makefile.modinst. Cc: David Woodhouse Cc: Sam Ravnborg Signed-off-by: Michal Marek --- v1->v2: No changes. firmware/Makefile | 30 +- scripts/Makefile.fwinst | 24 +++- 2 file

[PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-05-09 Thread Michal Marek
The main Makefile sets its working directory to the object tree and never changes it again. Therefore, we can use '.' instead of the absolute path. The only case where we need the absolute path is when creating the 'build' symlink in /lib/modules. Acked-by: Sam Ravnborg S

[PATCH v2 2/5] firmware: Use $(quote) in the Makefile

2014-05-09 Thread Michal Marek
The literal " confuses syntax highlighting in vim. Cc: David Woodhouse Acked-by: Sam Ravnborg Signed-off-by: Michal Marek --- v1->v2: No changes firmware/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index

[PATCH v2 5/5] kbuild: Use relative path when building in a subdir of the source tree

2014-05-09 Thread Michal Marek
When doing make O=, use '..' to refer to the source tree. This allows for more readable compiler messages, and, more importantly, it sets the VPATH to '..', so filenames in WARN_ON() etc. will be shorter. Acked-by: Sam Ravnborg Signed-off-by: Michal Marek --- v1->v2: No

[PATCH v2 0/5] kbuild: Use relative paths if possible

2014-05-09 Thread Michal Marek
es and Oopses more readable by avoiding the full path to the source/object directory. Patch 2/5 is just an unrelated cleanup. v1->v2: Fix the 'build' and 'source' symlinks in /lib/modules Michal Marek (5): firmware: Simplify directory creation firmware: Use $(quote) in t

[PATCH v2 4/5] kbuild: Use relative path when building in the source tree

2014-05-09 Thread Michal Marek
source' symlink in /lib/modules. Acked-by: Sam Ravnborg Signed-off-by: Michal Marek --- v1->v2: Fix the 'source' symlink Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 480503a..4da1c4b 100644 --- a/Makefile +++ b/Makefi

Re: linux-next: strange state of the kbuild tree

2014-04-08 Thread Michal Marek
On 2014-04-07 23:47, Stephen Rothwell wrote: > Hi Michal, > > I noticed that you have two copies of two commits in your tree ("Kbuild, > lto: Set TMPDIR for LTO v4" and "Kbuild, lto: Add Link Time Optimization > support v3"). I understan why you recommitted them (to add your > Signed-off-by), but

Re: [PATCH V3] scripts: objdiff: detect object code changes between two commits

2014-04-08 Thread Michal Marek
ges from V2: > > - use /path/to/linux/.tmp_objdiff instead of /tmp/objdiff (Michal Marek) > > - don't delete object files during record (Michal Marek) > > - remove .tmp_objdiff directory during 'make mrproper' (Michal Marek) Applied to kbuild.git#misc, thanks.

Re: [PATCH] Kbuild: move extra gcc check flags to the top Makefile

2014-04-08 Thread Michal Marek
On 2014-04-07 05:22, Masahiro Yamada wrote: > If W=... given to the command line, extra gcc check flags are added > to KBUILD_CFLAGS. > > If we have such code in scripts/Makefile.build, the same flags are > added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build > is invoked every tim

Re: [PATCH] modpost: Fix ressource leak in read_dump()

2014-04-08 Thread Michal Marek
On 2014-04-06 02:05, Andi Kleen wrote: > On Sun, Apr 06, 2014 at 12:36:49AM +0200, Christian Engelmayer wrote: >> Function read_dump() memory maps the input via grab_file(), but fails to call >> the corresponding unmap function. Add the missing call to release_file(). >> Detected by Coverity: CID 1

Re: [PATCH v2] scripts/bootgraph.pl: Add graphic header

2014-04-08 Thread Michal Marek
On Wed, Apr 02, 2014 at 09:39:52PM +0200, Fabian Frederick wrote: > Adding -header + help function like other .pl in /scripts. > > Cc: linux-kbu...@vger.kernel.org > Signed-off-by: Fabian Frederick > --- > v2: fix some typos Applied to kbuild.git#misc, thanks. Michal -- To unsubscribe from thi

Re: [PATCH] kbuild: create a build directory automatically for out-of-tree build

2014-04-08 Thread Michal Marek
On 2014-04-01 19:44, Randy Dunlap wrote: > On 03/31/2014 01:36 PM, Sam Ravnborg wrote: >> In the past I have rejected such patches - but today I fail to recall why. > > I believe that it was due this kind of patch allowing typos to cause > builds that one does not want to make. > > E.g., if I alr

Re: [PATCH] scripts/coccinelle: Use PTR_ERR_OR_ZERO

2014-04-08 Thread Michal Marek
On 2014-01-27 07:51, Sachin Kamat wrote: > PTR_RET is deprecated. Do not recommend its usage anymore. > Use PTR_ERR_OR_ZERO instead. > > Signed-off-by: Sachin Kamat Applied to kbuild.git#misc, sorry for the delay. But please always add lkml to the cc list. Thanks, Michal > --- > scripts/cocc

Re: [PATCH] x86: suppress "Nothing to be done for ..." messages

2014-04-09 Thread Michal Marek
variable. > diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile > index e812034..95e3ed7 100644 > --- a/arch/x86/tools/Makefile > +++ b/arch/x86/tools/Makefile > @@ -41,3 +41,4 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include > hostprogs-y += relocs > relocs-objs

[GIT] kbuild misc changes for v3.15-rc1

2014-04-09 Thread Michal Marek
Hi Linus, here is the non-critical part of kbuild: - One bogus coccinelle check removed, one check fixed not to suggest the obsolete PTR_RET macro - scripts/tags.sh does not index the generated *.mod.c files - new objdiff tool to list differences between two versions of an object file - A fix

Re: [GIT] kbuild misc changes for v3.15-rc1

2014-04-12 Thread Michal Marek
Dne 13.4.2014 03:33, Linus Torvalds napsal(a): > On Wed, Apr 9, 2014 at 8:59 AM, Michal Marek wrote: >> >> here is the non-critical part of kbuild: > > Michal, please make your pull request script clearly say both "git" > and "pull" somewhere. Your

Re: Hardware dependencies in Kconfig

2014-04-15 Thread Michal Marek
On 2014-04-15 06:52, Greg KH wrote: > On Mon, Apr 14, 2014 at 11:12:54PM +0200, Jean Delvare wrote: >> I'm very fine with USB drivers being architecture-agnostic. They really >> are. But in practice a lot of PCI and platform drivers are only useful >> of one architecture, of a few ones at best. >

Re: [bisected] broken make-kpkg kernel build in 3.15-rc1

2014-04-15 Thread Michal Marek
On 2014-04-15 15:43, Vince Weaver wrote: > > The following commit breaks building the kernel using the debian > make-kpkg command > > commit f4d4ffc03efc864645b990e1d579bbe1b8e358a4 > Author: Jason Cooper > Date: Sun Dec 1 23:56:28 2013 + > > kbuild: dtbs_install: new make target > >

Re: [bisected] broken make-kpkg kernel build in 3.15-rc1

2014-04-15 Thread Michal Marek
On 2014-04-15 18:49, Christoph Lameter wrote: > On Tue, 15 Apr 2014, Michal Marek wrote: > >> I fail to see how the above commit is responsible for this. make install >> starts /sbin/installkernel and the rest is the job of this script. To >> me, it looks more like a fak

Re: [PATCH] deb-pkg: Fix for relative paths

2014-06-18 Thread Michal Marek
Dne 18.6.2014 09:52, Ilya Dryomov napsal(a): > On Tue, Jun 17, 2014 at 6:47 AM, Alexei Starovoitov > wrote: >> On Mon, Jun 16, 2014 at 7:18 AM, Michal Marek wrote: >>> When $srctree or $objtree are relative paths, we cannot change directory >>> and refer to the

Re: relative objtree change broke tar builds?

2014-06-18 Thread Michal Marek
Dne 18.6.2014 14:20, J. Bruce Fields napsal(a): > On Wed, Jun 18, 2014 at 11:06:12AM +0200, Michal Marek wrote: >> Dne 18.6.2014 00:38, J. Bruce Fields napsal(a): >>> The changelog there says >>> >>> The main Makefile sets its working directory to the obje

[PATCH] kbuild: Fix tar-pkg with relative $(objtree)

2014-06-18 Thread Michal Marek
$(objtree). Reported-by: "J. Bruce Fields" Signed-off-by: Michal Marek --- scripts/package/buildtar | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/package/buildtar b/scripts/package/buildtar index 995c1ea..e046bff 100644 --- a/scripts/package/buildtar +++

Re: Regression: firmware: Simplify directory creation + b43 = fails to build

2014-06-18 Thread Michal Marek
Dne 18.6.2014 10:46, Ronald napsal(a): > Dear kernel developers, > > Latest git HEAD (from Torvalds): > > CC drivers/base/firmware_class.o > LD drivers/base/built-in.o > MK_FW firmware/b43/ucode5.fw.gen.S > /bin/sh: firmware/b43/ucode5.fw.gen.S: Bestand of map bestaat niet > (fi

[PATCH] Documentation: Fix DocBook build with relative $(srctree)

2014-06-18 Thread Michal Marek
symlinks from a subdirectory of the object tree to the source tree. Fix this by using a full path in this case. Reported-by: Randy Dunlap Signed-off-by: Michal Marek --- Documentation/DocBook/media/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation

Re: [PATCH] kbuild: Fix tar-pkg with relative $(objtree)

2014-06-18 Thread Michal Marek
Dne 18.6.2014 17:29, J. Bruce Fields napsal(a): > On Wed, Jun 18, 2014 at 04:26:23PM +0200, Michal Marek wrote: >> Commit 7e1c0477 (kbuild: Use relative path for $(objtree)) assumes that >> the build process does not change its working directory. make tar-pkg >> was a coute

Re: relative objtree change broke tar builds?

2014-06-18 Thread Michal Marek
Dne 18.6.2014 17:58, Randy Dunlap napsal(a): > On 06/18/14 06:14, J. Bruce Fields wrote: >> On Wed, Jun 18, 2014 at 02:33:22PM +0200, Michal Marek wrote: >>> Dne 18.6.2014 14:20, J. Bruce Fields napsal(a): >>>> On Wed, Jun 18, 2014 at 11:06:12AM +0200, Michal Marek wr

[GIT PULL] kbuild fixes for v3.16-rc2

2014-06-18 Thread Michal Marek
: kbuild: fix a typo in a kbuild document (2014-06-18 21:38:18 +0200) Fathi Boudra (1): builddeb: fix missing headers in linux-headers package Masahiro Yamada (1): kbuild: fix a typo in a kbuild document Michal Marek (3

Re: [PATCH] builddeb: fix errors caused by objtree redefinition

2014-06-19 Thread Michal Marek
On 2014-06-19 02:13, Darrick J. Wong wrote: > In commit 7e1c04779efd51154baf652e653ceb24ce68939b ("kbuild: Use > relative path for $(objtree)"), objtree was redefined from whatever > $(CURDIR) is to a simple ".". Unfortunately, this breaks builddeb, > which was relying on $objtree to be an absolut

Re: kbuild: support of new KBUILD_FULL_PATH

2014-06-19 Thread Michal Marek
On 2014-06-19 12:12, Boaz Harrosh wrote: > > The commit: > > commit 9da0763bdd82572be243fcf5161734f11568960f > Author: Michal Marek > Date: Fri Apr 25 23:25:18 2014 +0200 > > kbuild: Use relative path when building in a subdir of the source tr

Re: kbuild: support of new KBUILD_FULL_PATH

2014-06-19 Thread Michal Marek
Dne 19.6.2014 14:01, Boaz Harrosh napsal(a): > On 06/19/2014 01:41 PM, Michal Marek wrote: >>> Signed-off-by: Boaz Harrosh >>> -ifeq ($(KBUILD_SRC)/,$(dir $(CURDIR))) >>> +# if KBUILD_FULL_PATH is not empty then condition will fail >>

Re: [PATCH] Makefile: version.h macros KERNEL_EXTRAVERSION, LINUX_EXTRAVERSION_CODE

2014-06-20 Thread Michal Marek
Dne 19.6.2014 16:44, Kamal Mostafa napsal(a): > Adds new macro KERNEL_EXTRAVERSION(a,b,c,d) and value > LINUX_EXTRAVERSION_CODE to version.h, allowing ranged version checks of > extended-stable versions that use a numeric EXTRAVERSION value. > > The new KERNEL_EXTRAVERSION(a,b,c,d) works like KERN

Re: [PATCH] Makefile: version.h macros KERNEL_EXTRAVERSION, LINUX_EXTRAVERSION_CODE

2014-06-20 Thread Michal Marek
Dne 20.6.2014 17:47, Kamal Mostafa napsal(a): > On Fri, 2014-06-20 at 11:39 +0200, Michal Marek wrote: >> Why don't you guys simply increment the third digit in the extended >> stable tree and get support for KERNEL_VERSION() for free? You always >> start after the re

[PATCH] kbuild: make -s should be used with kernelrelease/kernelversion/image_name

2014-07-11 Thread Michal Marek
]: Entering directory `/dev/shm/mmarek/linux-2.6/build' 3.16.0-rc1+ Since these targets are often used in scripts, add a hint to use make -s to the help text. Suggested-by: Russell King Signed-off-by: Michal Marek --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH] Fix compiler message generation

2014-07-02 Thread Michal Marek
On Wed, Jul 02, 2014 at 11:56:46AM +0100, David Howells wrote: > The following commit: > > commit 9da0763bdd82572be243fcf5161734f11568960f > Author: Michal Marek > Date: Fri Apr 25 23:25:18 2014 +0200 > Subject: kbuild: Use relative path when building

Re: [PATCH 06/50] mars: add new file drivers/block/mars/brick_mem.c

2014-07-03 Thread Michal Marek
On 2014-07-01 23:46, Thomas Schoebel-Theuer wrote: > +#ifdef CONFIG_MARS_DEBUG_MEM_STRONG > +# define STRING_CANARY > \ > + "x" \ > + "y

Re: [PATCH] kbuild: Use symbolic link to the source tree for out-of-tree build

2014-07-09 Thread Michal Marek
On 2014-07-09 08:27, Masahiro Yamada wrote: > Since commit 9da0763bd, the variable 'srctree' is set as follows: > > [1] Building in the source tree > => srctree is set to '.' > [2] Building in a subdir right under the source tree > => srctree is set to '..' > [3] Other cases > =>

Re: v3.16-rc4 messes up make kernelrelease with additional output

2014-07-09 Thread Michal Marek
On 2014-07-09 14:59, Russell King - ARM Linux wrote: > 3.16-rc3 and all previous versions: > > $ make ARCH=arm CROSS_COMPILE=arm-linux- O=/tmp/build/ kernelrelease > 3.16.0-rc3+ > $ > > 3.16-rc4: > > $ make ARCH=arm CROSS_COMPILE=arm-linux- O=/tmp/build/ kernelrelease > make[1]: Entering directo

Re: v3.16-rc4 messes up make kernelrelease with additional output

2014-07-09 Thread Michal Marek
On 2014-07-09 15:20, Russell King - ARM Linux wrote: > Since my scripts run a full build before doing that, it's very unlikely > that there would be a silentoldconfig run. The -s requirement isn't > documented in the help - should it be? It should probably be. Michal -- To unsubscribe from this

[GIT] kbuild fixed for v3.16-rc5

2014-07-10 Thread Michal Marek
ernal firmware (2014-07-09 15:16:35 +0200) Michal Marek (3): kbuild: Do not print the build directory with make -s kbuild: Fix packaging targets with relative $(srctree) firmware: Create directories for external fir

Re: [PATCH] Fix compiler message generation

2014-07-17 Thread Michal Marek
On 2014-07-16 18:15, Boaz Harrosh wrote: > This patch by itself works with kdevelop so I hope you did not submit my crap > KBUILD_FULL_PATH patch at all and only added this one (and I know, the fix to > this > one with the -s) Yes, I did not merge the KBUILD_FULL_PATH patch, because the approach

Re: [PATCH] Documentation/make/headers_install.txt: update documentation

2014-07-03 Thread Michal Marek
Dne 30.6.2014 21:11, Yann Droneaud napsal(a): > Documentation in make/headers_install.txt is not > up to date regarding: > - way to list the various architectures; > - path where the headers are installed. > > This patch try to fix these issues. > > Cc: Kirill A. Shut

[GIT PULL] kbuild fix for v3.16-rc4

2014-07-03 Thread Michal Marek
build directory (2014-07-03 15:25:11 +0200) Michal Marek (1): kbuild: Print the name of the build directory Makefile | 3 +++ 1 file changed, 3 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] Fix compiler message generation

2014-07-04 Thread Michal Marek
On Wed, Jul 02, 2014 at 02:34:10PM +0100, David Howells wrote: > Michal Marek wrote: > > > From 5b59dcacf358f143b9fb39d2f788142ab9ba3e00 Mon Sep 17 00:00:00 2001 > > From: Michal Marek > > Date: Wed, 2 Jul 2014 14:28:26 +0200 > > Subject: [PATCH] kbuild: Print t

[PATCH] kbuild: Fix packaging targets with relative $(srctree)

2014-07-04 Thread Michal Marek
he source tree") Signed-off-by: Michal Marek --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a5f9f3..347d6c7 100644 --- a/Makefile +++ b/Makefile @@ -1176,7 +1176,7 @@ distclean: mrproper # Packaging of the kerne

Re: relative objtree change broke tar builds?

2014-07-04 Thread Michal Marek
Dne 18.6.2014 23:13, Randy Dunlap napsal(a): > On 06/18/14 12:52, Sam Ravnborg wrote: >> On Wed, Jun 18, 2014 at 09:47:28PM +0200, Michal Marek wrote: >>> Dne 18.6.2014 17:58, Randy Dunlap napsal(a): >>>> On 06/18/14 06:14, J. Bruce Fields wrote: >>>>

Re: relative objtree change broke tar builds?

2014-07-04 Thread Michal Marek
Dne 19.6.2014 03:21, Ken Moffat napsal(a): > On Wed, Jun 18, 2014 at 09:47:28PM +0200, Michal Marek wrote: >> >> The idea is that one should be able to compare as much as possible >> between the build of /usr/src/linux- built in >> /usr/src/linux-/build and /usr/src/

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

2014-07-04 Thread Michal Marek
Dne 13.6.2014 19:29, Andy Lutomirski napsal(a): > On Fri, Jun 13, 2014 at 2:45 AM, Michal Marek wrote: >> Dne 13.6.2014 11:39, Michal Marek napsal(a): >>> Based on a x86-only patch by Andy Lutomirski >>> >>> With modular kernels, 'make install' is g

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

2014-07-07 Thread Michal Marek
On 2014-07-05 01:45, Andy Lutomirski wrote: > On Fri, Jul 4, 2014 at 3:15 PM, Michal Marek wrote: >> Dne 13.6.2014 19:29, Andy Lutomirski napsal(a): >>> On Fri, Jun 13, 2014 at 2:45 AM, Michal Marek wrote: >>>> Dne 13.6.2014 11:39, Michal Marek napsal(a): >>&

Re: Regression: firmware: Simplify directory creation + b43 = fails to build

2014-07-08 Thread Michal Marek
On 2014-07-07 21:02, Torsten Kaiser wrote: > On Wed, Jun 18, 2014 at 6:25 PM, Ronald wrote: >> From my .config >> >> ==> cat /usr/src/config | grep -i b43 >> CONFIG_EXTRA_FIRMWARE="b43/ucode5.fw b43/b0g0initvals5.fw >> b43/b0g0bsinitvals5.fw b43/pcm5.fw" >> ... snip ... > > That might be rather

[PATCH] firmware: Create directories for external firmware

2014-07-08 Thread Michal Marek
for target 'firmware/amd-ucode/microcode_amd.bin.gen.S' failed It works with O= builds, because the directory is created by Makefile.build. Create the directory in firmware/Makefile in non-O builds. Reported-by: Ronald Reported-by: Torsten Kaiser Signed-off-by: Michal Marek --- Ca

Re: [PATCH] .gitignore: ignore Module.symvers in all directories

2014-04-16 Thread Michal Marek
On Mon, Apr 14, 2014 at 02:56:15PM +0800, Zhao, Gang wrote: > When using `make M=/path/to/driver modules` to build a module, file > Module.symvers will be created in that directory, so it's better to > ignore it in all directories. > > Slightly reordered, let specific file names behind general one

Re: [PATCH] scripts/tags.sh: add regular expression replacement pattern for memcg

2014-04-16 Thread Michal Marek
Dne 10.4.2014 14:58, Jianyu Zhan napsal(a): > Sorry, the comment in previous patch is somewhat misguiding, this patch > replaces that one. > > Currently, no regular expression replacement patterns for PageCgroup* > flag-ops are defined, which causes quite a few pain while reading code. > Just ge

Re: [PATCH] scripts/tags.sh: add pattern for DEFINE_HASHTABLE

2014-04-16 Thread Michal Marek
On Wed, Apr 16, 2014 at 11:13:34PM +0800, Jianyu Zhan wrote: > Signed-off-by: Jianyu Zhan > --- > scripts/tags.sh | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) Applied to kbuild.git#misc, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH v3] kbuild: move extra gcc checks to scripts/Makefile.extrawarn

2014-04-16 Thread Michal Marek
d descends into > the subdirectories. > > Since the top Makefile is already too cluttered, this commit moves > all of extra gcc check stuff to a new file scripts/Makefile.extrawarn, > which is included from the top Makefile. > > Signed-off-by: Masahiro Yamada &g

Re: [PATCH] scripts/tags.sh: ignore symlink'ed source files

2014-06-09 Thread Michal Marek
Dne 21.5.2014 15:32, Yann Droneaud napsal(a): > Since commit 22d651dcef536c75f75537290bf3da5038e68b6b ('selftests/powerpc: > Import Anton's memcpy / copy_tofrom_user tests'), some source files in the > tree appear as symlink. > Until commit 8c38a5328af8080bc69a25b3e4e144b03eeea95e ('scripts/tags.sh

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-09 Thread Michal Marek
On Wed, Jun 04, 2014 at 03:12:33PM +0200, Michal Marek wrote: > On 2014-06-04 11:43, Michal Marek wrote: > > On 2014-06-04 11:03, Richard Weinberger wrote: > >> To reproduce run: > >> make defconfig ARCH=um O=/mnt/o && make linux ARCH=um O=/mnt/ > >>

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-09 Thread Michal Marek
Dne 5.6.2014 17:56, Michal Marek napsal(a): > From d4bc590f8716f7dde6b7bca319097ac30a8cb0b4 Mon Sep 17 00:00:00 2001 > From: Michal Marek > Date: Thu, 5 Jun 2014 17:44:44 +0200 > Subject: [PATCH] um: Fix for relative objtree when generating x86 headers Oops, this email got trapped

Re: [PATCH] genksyms: Include scripts/Makefile.lib

2014-06-09 Thread Michal Marek
Dne 23.5.2014 15:15, Guido Günther napsal(a): > Otherwise when building out of tree like > > make V=1 O=/var/scratch/kernel/ > > it fails like > > make -f /home/agx/linux/scripts/Makefile.build obj=scripts > make -f /home/agx/linux/scripts/Makefile.build obj=scripts/genksyms > (cat /dev/null; )

Re: [PATCH] Makefile: Fix unrecognized cross-compiler command line options

2014-06-09 Thread Michal Marek
Dne 27.5.2014 09:54, Geert Uytterhoeven napsal(a): > On architectures that setup CROSS_COMPILE in their arch/*/Makefile > (arc, blackfin, m68k, mips, parisc, score, sh, tile, unicore32, xtensa), > cc-option and cc-disable-warning may check against the wrong compiler, > causing errors like > >

Re: [PATCH v2] coccinelle: Check for missing NULL terminators in of_device_id tables

2014-06-09 Thread Michal Marek
Dne 3.6.2014 20:25, Julia Lawall napsal(a): > From: Stephen Boyd > > Failure to terminate an of_device_id table can lead to confusing > failures depending on where the compiler places the array. Add a > check to make sure these tables are terminated. Thanks to Mitchel > Humpherys for coming up wi

Re: [PATCH] coccinelle/null: solve parse error

2014-06-09 Thread Michal Marek
(added the rest of the coccinelle gang to cc) Dne 28.5.2014 16:10, Himangi Saraogi napsal(a): > This patch solves the parse-error by adding @@ . This is necessary since > Coccinelle version 1.0.0-rc20. Also, the comment is added to use a > recent version of Coccinelle. > > Signed-off-by: Himangi

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-09 Thread Michal Marek
Dne 9.6.2014 23:23, Randy Dunlap napsal(a): > On 06/05/14 08:56, Michal Marek wrote: >> On Wed, Jun 04, 2014 at 03:12:33PM +0200, Michal Marek wrote: >>> On 2014-06-04 11:43, Michal Marek wrote: >>>> On 2014-06-04 11:03, Richard Weinberger wrote: >>>>>

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-09 Thread Michal Marek
On Mon, Jun 09, 2014 at 03:24:11PM -0700, Randy Dunlap wrote: > On 06/09/14 15:14, Michal Marek wrote: > > Dne 9.6.2014 23:23, Randy Dunlap napsal(a): > >> On 06/05/14 08:56, Michal Marek wrote: > >>> From d4bc590f8716f7dde6b7bca319097ac30a8cb0b4 Mon Sep 17 00:00:00

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-10 Thread Michal Marek
On 2014-06-10 09:40, Geert Uytterhoeven wrote: > Hi Michael, > > On Thu, Jun 5, 2014 at 5:56 PM, Michal Marek wrote: >> --- a/arch/um/Makefile >> +++ b/arch/um/Makefile >> @@ -111,8 +111,7 @@ endef >> KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig >> >

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-10 Thread Michal Marek
On 2014-06-10 01:47, Randy Dunlap wrote: > sure. I did mkdir /tmp/O then > make ARCH=um SUBARCH=i386 O=/tmp/O defconfig > make ARCH=um SUBARCH=i386 V=1 O=/tmp/O So I tried with the exact same paths and it worked for me: $ mkdir -p /local/lnx/next/linux-next-20140606 $ git archive d4bc590f8716f7dd

Re: possible typo

2014-06-10 Thread Michal Marek
On 2014-06-09 10:07, Warren Turkal wrote: > commit 4ce2f36b4b06b7df569b1875c7ab834270786882 > Author: Warren Turkal > Date: Sun Jun 8 22:19:29 2014 -0700 > > Fix a typo. > > Signed-off-by: Warren Turkal Thanks, I applied the patch to kbuild.git#misc. But please write a more meaning

Re: [PATCH V2] coccicheck: Add unneeded return variable test

2014-06-10 Thread Michal Marek
On 2014-06-01 20:12, Peter Senna Tschudin wrote: > This semantic patch looks for variables that are initialized with a > constant, are never updated, and are only used as parameter of return. > Return the constant instead of using a variable. > > Signed-off-by: Peter Senna Tschudin Applied to kb

Re: [PATCH v2 3/5] kbuild: Use relative path for $(objtree)

2014-06-10 Thread Michal Marek
On 2014-06-10 16:09, Randy Dunlap wrote: > I'm not using git, just tarballs. I don't have an include/generated > subdirectory at all in my source tree. > > However, today's linux-next builds OK for me (both i386 and x86_64), > so let's go with your patch. OK, then let's hope this does not reoccu

[PATCH v2] powerpc: Avoid circular dependency with zImage.%

2014-06-11 Thread Michal Marek
only the images from $(image-y) as the target of the rule, to avoid the circular dependency. Signed-off-by: Michal Marek --- v2: - Filter out duplicates in the target list - fix the platform argument to cmd_wrap arch/powerpc/boot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v2] powerpc: Avoid circular dependency with zImage.%

2014-06-12 Thread Michal Marek
Dne 12.6.2014 04:07, Mike Qiu napsal(a): > This v2 patch is good, > > Tested-by: Mike Qiu Thanks. In kbuild.git it goes. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ke

Re: [PATCH] x86,build: Fix make -jN modules_install install

2014-06-12 Thread Michal Marek
Dne 11.6.2014 21:41, Andy Lutomirski napsal(a): > Every few months, I forget why I type: > > $ sudo make -j12 modules_install && sudo make -j12 install > > instead of just: > > $ sudo make -j12 modules_install install > > I try the latter, it appears to work, and then my machine won't boot > be

[GIT PULL] kbuild changes for v3.16-rc1

2014-06-12 Thread Michal Marek
al - remove trailing spaces kbuild: trivial - fix comment block indent kbuild: do not add "selinux" to subdir- twice kbuild: do not create include/linux directory kbuild: create include/config directory in scripts/kconfig/Makefile Michal Marek (7): firmwar

[GIT PULL] kbuild misc changes for v3.16-rc1

2014-06-12 Thread Michal Marek
Hi Linus, this is the non-critical part of kbuild for v3.16-rc1: - make deb-pkg can do s390x and arm64 - New patterns in scripts/tags.sh - scripts/tags.sh skips userspace tools' sources (which sometimes have copies of kernel structures) and symlinks - Improvements to the objdiff tool - Two new c

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

2014-06-13 Thread Michal Marek
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 generate the initramfs. Signed-off-by: Michal Marek --- Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Make

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

2014-06-13 Thread Michal Marek
Dne 13.6.2014 11:39, Michal Marek napsal(a): > 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 generate the initramfs. > > Signed-off-by: Michal Marek > --- > Mak

Re: [PATCH] kbuild: unconditionally clobber include/linux/version.h on distclean

2014-03-29 Thread Michal Marek
ion > ifdefs) failing to build. > > Since it is a subtle mode of failure, lets always clobber the old > file when doing a distclean. > > Cc: Michal Marek > Cc: David Howells > Signed-off-by: Paul Gortmaker Applied to kbuild.git, sorry for the delay. I'm curious

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-29 Thread Michal Marek
Dne 19.3.2014 17:48, Greg Kroah-Hartman napsal(a): On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: > The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look > for opportunities to replace a call to memcpy by a struct assignment. > This patch removes me

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