[GIT] kbuild fix for v3.9-rc2

2013-03-06 Thread Michal Marek
Hi Linus, there is one for for make headers_install/headers_check to not require make 3.81. The requirement has been accidentally introduced in 3.7. Thanks, Michal The following changes since commit 0ca7ffb356063c5ece847687da457dfe748612a2: Merge branch 'kbuild' of git://git.kernel.org/pub/s

Re: linux-next: comment on the kbuild tree

2013-05-15 Thread Michal Marek
On 15.5.2013 01:25, Stephen Rothwell wrote: > Hi Michal, > > Since the kbuild tree now consists only of merge commits (relative to > v3.10-rc1), you might as well just reset it to v3.10-rc1 and have a nice > clean tree to start from. I thought I would newer rebase the for-next branch to allow peo

Re: [PATCH] package: Makefile: unbreak binrpm-pkg target

2013-05-16 Thread Michal Marek
On Wed, May 15, 2013 at 12:06:26PM -0400, Luiz Capitulino wrote: > Commit 6501320311664e11ad5489fedb17ea1f817c2617 dropped the rpm spec as a > prerequisite for the binrpm-pkg target but forgot to update $< usage, > which causes the rule to break. Oops :) > This commit fixes that by replacing $<

Re: [PATCH 1/2] deb-pkg: split debug symbols in their own package

2013-04-08 Thread Michal Marek
On 22.3.2013 11:06, Anisse Astier wrote: > This can reduce almost 3 times the size of the linux-image package, > while keeping the debug symbols available for this particular build, in > their own package. > > This mimics the way kernels are built in debian, ubuntu, or with > make-kpkg, and comes

Re: [PATCH] doc: change example to existing Makefile fragment

2013-04-08 Thread Michal Marek
On 26.3.2013 01:40, Rob Landley wrote: > On 03/25/2013 05:16:24 AM, Paul Bolle wrote: >> Signed-off-by: Paul Bolle >> --- >> Documentation/kbuild/makefiles.txt | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) > > Acked-by: Rob Landley > > Please send through the kbuild tree. Paul

Re: [PATCH v2] doc: change example to existing Makefile fragment

2013-04-08 Thread Michal Marek
On 8.4.2013 12:51, Paul Bolle wrote: > Signed-off-by: Paul Bolle > Acked-by: Rob Landley > --- > v2: added Rob's ACK and send to Michal e.a., for the kbuild tree. Thanks, applied to kbuild.git#misc. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 1/1] scripts/package/Makefile: compare objtree with srctree instead of test KBUILD_OUTPUT

2013-04-08 Thread Michal Marek
On Thu, Mar 14, 2013 at 09:30:32AM +0800, Bin Wang wrote: > Hi, Michal > > Is there any comments on this? Sorry, I missed this one. I applied it to kbuild.git#misc now. Michal > > 2013/2/25 Bin Wang : > > KBUILD_OUTPUT is always empty here, so it is useless to test it. But > > while use O=.., o

Re: [PATCH 1/4] Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2)

2013-04-08 Thread Michal Marek
On 2.3.2013 22:36, Nicolas Palix wrote: > A recent patch have introduce the VERBOSE variable and comments > now depend on it. However, the message printed for each cocci file > such not be printed when the ONLINE mode is active, whatever is > the value of VERBOSE. > > Signed-off-by: Nicolas Palix

Re: [PATCH] buildtar: Add ARCH to the archive name

2013-04-08 Thread Michal Marek
On 7.3.2013 12:09, Borislav Petkov wrote: > On Thu, Mar 07, 2013 at 12:06:59PM +0100, Joerg Roedel wrote: >> Good idea, but I already hear people yelling about their scripts that >> break with this change :) > > They better fix them then. :-) OK, I applied the patch to kbuild.git#misc. Let's see

Re: [PATCH] scripts/mod: add device table offsets file to list of files to clean

2013-04-08 Thread Michal Marek
On 19.3.2013 08:00, Fernando Luis Vazquez Cao wrote: > Hi Michal, > > On 2013/03/04 18:57, Fernando Luis Vázquez Cao wrote: >> From: Fernando Luis Vázquez Cao >> >> This file is generated so it does not get cleaned automagically. In >> other words >> we need to added to the clean-files list. >> >

Re: [PATCH 3/3] convert headers_install.pl to headers_install.sh

2013-04-09 Thread Michal Marek
On 28.2.2013 09:19, Michal Marek wrote: > On 27.2.2013 06:58, Rob Landley wrote: >> From: Rob Landley >> >> Remove perl from make headers_install by replacing a perl script (doing >> a simple regex search and replace) with a smaller, faster, simpler, >> POSIX

Re: [PATCH] kbuild: generate generic headers before recursing into scripts

2013-04-10 Thread Michal Marek
On 9.4.2013 19:57, Andreas Schwab wrote: > The headers are now needed inside scripts/mod since 6543bec > ("mod/file2alias: make modalias generation safe for cross compiling"). > > Signed-off-by: Andreas Schwab > --- > Prabhakar Lad writes: > >> Whats the status of it ? > > I think it has suffi

Re: [RFC PATCH] kbuild: avoid some unnecessary rebuild

2013-04-10 Thread Michal Marek
On 17.3.2013 23:08, Christopher Li wrote: > On Sun, Mar 17, 2013 at 2:58 PM, Sam Ravnborg wrote: >> >> We got no patch - just some git help stuff. >> Seems you mistyped somthing.. >> > > Oops, sorry about that. I reattach the patch here. Can you send a patch that only fixes scripts/mod? The EFI_

Re: [PATCH] merge_config.sh: Avoid creating unnessary source softlinks

2013-04-10 Thread Michal Marek
there is no -O specified > > to merge_config.sh, we don't pass one on to make. > > > > Cc: Zhangfei Gao > > Cc: Viresh Kumar > > Cc: Michal Marek > > Cc: Bruce Ashfield > > Cc: Darren Hart > > Reported-by: Viresh Kumar > > Tested-by

Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

2013-04-10 Thread Michal Marek
(Added Andi to CC) On 10.4.2013 11:24, Geert Uytterhoeven wrote: [...] > E.g. gcc turned > > strncat(name, "%d", 2); > > into a call to strlen() and a 16-bit store, causing a link failure, as > arch/m68k/include/asm/string.h provides strlen() using a macro: > > ERROR: "strlen" [net/ipv4

Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

2013-04-10 Thread Michal Marek
On Wed, Apr 10, 2013 at 12:59:44PM +0200, Geert Uytterhoeven wrote: > On Wed, Apr 10, 2013 at 12:18 PM, Michal Marek wrote: > > On 10.4.2013 11:24, Geert Uytterhoeven wrote: > > My understanding is, that with -fnobuiltin, the compiler is not allowed > > to make assumptions

Re: [RFC PATCH] Use target compiler for user binaries in samples/

2013-04-10 Thread Michal Marek
On 31.3.2013 18:53, Sam Ravnborg wrote: > The user-space binaries build in samples/ uses the installed > headers for the kernel. > Therefore it is wrong that they use the host compiler > to build the samples. > > Following is an attempt to create some infrastructure > for building user-space binar

Re: [PATCH/RFC] m68k: Add -ffreestanding to KBUILD_CFLAGS

2013-04-10 Thread Michal Marek
n Sep 17 00:00:00 2001 From: Michal Marek Date: Wed, 10 Apr 2013 16:45:21 +0200 Subject: [PATCH] m68k: Remove inline strlen() implementation GCC can replace a strncat() call with constant second argument into a strlen + store, which results in a link error: ERROR: "strlen" [net/ipv4/ip_t

Re: [pull request] Pull request for branch yem-kconfig-for-next

2013-05-02 Thread Michal Marek
On 29.4.2013 19:59, Yann E. MORIN wrote: > The following changes since commit 23a5dfdad22a574d19d7cc19b391f9ce0d3c2f21: > > Revert "kconfig: fix randomising choice entries in presence of > KCONFIG_ALLCONFIG" (2013-04-26 23:21:59 +0200) > > are available in the git repository at: > > git://g

Re: [PATCH 001/001] kconfig: fix pointer conversion error when running make xconfig

2013-05-02 Thread Michal Marek
On 30.4.2013 19:38, Steve Russo wrote: > From: Steve Russo mailto:svrus...@gmail.com>> > > I could not compile "make xconfig" on the linux-next git, as of > 20130430, due to a pointer type conversion in line 128/129 of list.h > (couldn't convert from void* to struct list_head). Thanks for the pat

Re: [tip:x86/urgent] x86/kconfig: Add a Kconfig shortcut for building working KVM guest kernels

2013-05-03 Thread Michal Marek
On 3.5.2013 17:08, Borislav Petkov wrote: > On Fri, May 03, 2013 at 07:54:36AM -0700, Randy Dunlap wrote: >> Could you alternately have a kvm_guest.config that should always work >> for you? > > I could, and I do. The idea, however, is to have this option upstream > so that people don't have to go

Re: [PATCH 1/2] deb-pkg: split debug symbols in their own package

2013-05-03 Thread Michal Marek
On 3.5.2013 17:08, Anisse Astier wrote: > On Fri, 19 Apr 2013 10:05:19 +0200, Anisse Astier wrote : > >> On Tue, 9 Apr 2013 12:05:47 +0200, Anisse Astier wrote : >> >>> >>> >>> From: Anisse Astier >>> Subject: [PATCH v3] deb-pkg: split debug symbols in their own package >>> >>> This can reduce

Re: [PATCH] Fix cleaning in scripts/mod

2013-05-06 Thread Michal Marek
On Sun, May 05, 2013 at 10:24:43AM +0200, Geert Uytterhoeven wrote: > On Sat, May 4, 2013 at 4:32 PM, Andreas Schwab wrote: > > Make sure devicetable-offsets.h is cleaned in the scripts/mod directory > > > > Signed-off-by: Andreas Schwab > > Tested-by: Geert Uytterhoeven Applied to kbuild.git#

[GIT] kbuild changes for v3.10-rc1

2013-05-07 Thread Michal Marek
Hi Linus, please pull these kbuild commits for v3.10-rc1: * Fix make mrproper after mod/file2alias rework * Fix ld-option Makefile function * Rewrite headers_install to shell to drop Perl dependency. There are some more patches I have to look at, so I might send another pull request later. Or ju

[GIT] kconfig changes for v3.10-rc1

2013-05-07 Thread Michal Marek
tionally use pkg-config to detect ncurses libs kconfig: optionally use pkg-config to detect ncurses libs Michal Marek (1): Merge branch 'yem-kconfig-rc-fixes' of git://gitorious.org/linux-kconfig/linux-kconfig into kbuild/kconfig Yann E. MORIN (8): kconfig/lxdialo

[GIT] kbuild misc change for v3.10-rc1

2013-05-07 Thread Michal Marek
): scripts/tags.sh: Add magic for OFFSET and DEFINE Michal Marek (4): rpm-pkg: Do not package the whole source directory rpm-pkg: Do not write to the parent directory rpm-pkg: Always regenerate the specfile rpm-pkg: Remove pointless set -e statements Nicolas Palix (4

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
On 7.5.2013 15:21, Yann E. MORIN wrote: > Li, All, > > On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: >> Searching PPC_EFIKA results segmentation fault, and it's because >> get_symbol_prop() returns NULL. >> >> In this case CONFIG_PPC_EFIKA is defined in arch/powerpc/platforms/ >> 52xx/

[PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
Borislav Petkov Signed-off-by: Li Zefan Tested-by: Libo Chen Reviewed-by: "Yann E. MORIN" Signed-off-by: Michal Marek --- This is a fix for a commit that is not in my kconfig branch, therefore I am sending it directly. Michal --- scripts/kconfig/menu.c | 16 ++-- 1 fil

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Michal Marek
Dne 7.5.2013 16:06, Yann E. MORIN napsal(a): > It's strange that a kconfig-related change did not land in your tree > before getting mainline... It's quite simple. I wanted to look at the patch, but Andrew beat me to it. I am not saying that I would have spotted the null pointer deref myself :-).

Re: [PATCH 8/8] kconfig: implement KCONFIG_PROBABILITY for randconfig

2013-04-25 Thread Michal Marek
On 25.4.2013 00:29, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Currently the odds to set each symbol is (rounded): > booleans: y: 50% n: 50% > tristates: y: 33% m: 33% n: 33% > > Introduce a KCONFIG_PROBABILITY environment variable to tweak the > probabilities (in per

Re: linux-next: Tree for Apr 26

2013-04-26 Thread Michal Marek
Added Yann, from whom I merged couple of kconfig changes yesterday. On 26.4.2013 11:42, Sedat Dilek wrote: > [ CC linux-kbuild folks ] > > I am always doing a ... > >$ cd linux-next/ > >$ yes "" | make oldconfig > > ... before starting a kernel-build. > > Today, I see this ... > > $

Re: linux-next: Tree for Apr 26

2013-04-26 Thread Michal Marek
On 26.4.2013 12:49, Sedat Dilek wrote: > On Fri, Apr 26, 2013 at 12:37 PM, Sedat Dilek wrote: >> On Fri, Apr 26, 2013 at 12:35 PM, Sedat Dilek wrote: >>> On Fri, Apr 26, 2013 at 12:04 PM, Michal Marek wrote: >>>> On Fri, Apr 26, 2013 at 11:58:25AM +0200, Michal Mar

Re: linux-next: Tree for Apr 26

2013-04-26 Thread Michal Marek
On 26.4.2013 13:08, Michal Marek wrote: > On 26.4.2013 12:49, Sedat Dilek wrote: >> With reverting all kbuild-next commits I was able to build again. >> >> Revert "kconfig: implement KCONFIG_PROBABILITY for randconfig" >> Revert "kconfig

Re: linux-next: Tree for Apr 26

2013-04-26 Thread Michal Marek
On 26.4.2013 13:45, Sedat Dilek wrote: > On Fri, Apr 26, 2013 at 1:23 PM, Sedat Dilek wrote: >> On Fri, Apr 26, 2013 at 1:13 PM, Michal Marek wrote: >>> On 26.4.2013 13:08, Michal Marek wrote: >>>> On 26.4.2013 12:49, Sedat Dilek wrote: >>>>> With re

Re: linux-next: Tree for Apr 26

2013-04-26 Thread Michal Marek
Dne 27.4.2013 00:01, Yann E. MORIN napsal(a): > Michal, Sedat, All, > > On Fri, Apr 26, 2013 at 01:13:33PM +0200, Michal Marek wrote: >> On 26.4.2013 13:08, Michal Marek wrote: >>> On 26.4.2013 12:49, Sedat Dilek wrote: >>>> With reverting all kbuild-ne

Re: [pull request] Pull request for branch yem-kconfig-for-next

2013-04-29 Thread Michal Marek
On 27.4.2013 00:17, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Michal, > > Please pull this to revert: > 422c809: fix randomising choice entries in presence of KCONFIG_ALLCONFIG Pulled, thanks! Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH 24/27] kbuild: Introduce KCONFIG_AUTOCONFIGDEP variable for conf tool

2013-04-11 Thread Michal Marek
On 1.4.2013 21:18, Jiri Olsa wrote: > Introducing KCONFIG_AUTOCONFIGDEP variable for conf tool > allowing to specify custom auto.conf.cmd file. I suggest to just append .cmd to the auto.conf name, instead of introducing a new environment variable. (I haven't looked at the rest of the patches yet)

Re: [PATCH 3/3] convert headers_install.pl to headers_install.sh

2013-04-11 Thread Michal Marek
Dne 11.4.2013 18:25, Rob Landley napsal(a): > On 04/09/2013 05:52:32 AM, Michal Marek wrote: >> I forgot to do it right after rc1, but I took the patch from the mm tree >> now. I also added Sam's Ack from the earlier submission. > > Yay! > > Is this for 3.10? Ye

[PATCH] input: Export matrix_keypad_parse_of_params()

2013-04-15 Thread Michal Marek
Couple of input drivers depend on this symbol: ERROR: "matrix_keypad_parse_of_params" [drivers/input/keyboard/tca8418_keypad.ko] undefined! ERROR: "matrix_keypad_parse_of_params" [drivers/input/keyboard/cros_ec_keyb.ko] undefined! Reported-by: Randy Dunlap Signed-

[PATCH 1/4] rpm-pkg: Do not package the whole source directory

2013-04-15 Thread Michal Marek
KBUILD_ALLDIR variable in the top-level Makefile. The upside is that the behavior is more predictable. Signed-off-by: Michal Marek --- Makefile |2 ++ scripts/package/Makefile |6 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index

[PATCH 2/4] rpm-pkg: Do not write to the parent directory

2013-04-15 Thread Michal Marek
Now that we only package explicitly listed files to the tarball, there is no need to abuse the parent directory. Signed-off-by: Michal Marek --- scripts/package/Makefile | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/package/Makefile b/scripts

[PATCH 3/4] rpm-pkg: Always regenerate the specfile

2013-04-15 Thread Michal Marek
the old kernel release string Signed-off-by: Michal Marek --- scripts/package/Makefile | 19 ++- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index ab203c2..08e4e2f 100644 --- a/scripts/package/Makefile ++

[PATCH 4/4] rpm-pkg: Remove pointless set -e statements

2013-04-15 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/package/Makefile |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 08e4e2f..84a4060 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile @@ -49,9 +49,7

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-16 Thread Michal Marek
On 15.4.2013 23:54, Yann E. MORIN wrote: > So, unless Michal really wants to pull this one and push it to Linus > before he cuts v3.9 final, I'll merge this later in my -for-next branch. That's fine with me. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH] input: Export matrix_keypad_parse_of_params()

2013-04-16 Thread Michal Marek
try Torokhov Signed-off-by: Michal Marek --- drivers/input/matrix-keymap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/matrix-keymap.c b/drivers/input/matrix-keymap.c index 619b382..08b61f5 100644 --- a/drivers/input/matrix-keymap.c +++ b/drivers/input/matrix-keymap.c @

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-16 Thread Michal Marek
On 16.4.2013 10:21, Michal Marek wrote: > On 15.4.2013 23:54, Yann E. MORIN wrote: >> So, unless Michal really wants to pull this one and push it to Linus >> before he cuts v3.9 final, I'll merge this later in my -for-next branch. > > That's fine with me. BTW,

[GIT] kbuild fix for v3.9

2013-04-16 Thread Michal Marek
Hi Linus, please pull this fix for a missing dependency when generating scripts/mod/devicetable-offsets.h. This dependency got introduced in v3.9-rc1. Thanks, Michal The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are ava

[PATCH] [media] em28xx: Put remaining .vidioc_g_chip_info instance under ADV_DEBUG

2013-04-16 Thread Michal Marek
deo.c:1830:26: error: 'vidioc_g_chip_info' undeclared here (not in a function) Signed-off-by: Michal Marek --- drivers/media/usb/em28xx/em28xx-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-

[GIT] kbuild fix for v3.10-rc2

2013-05-17 Thread Michal Marek
Hi Linus, In an attempt to improve make rpm-pkg, I broke make binrpm-pkg. Please pull the fix below. Thanks, Michal The following changes since commit f722406faae2d073cc1d01063d1123c35425939e: Linux 3.10-rc1 (2013-05-11 17:14:08 -0700) are available in the git repository at: git://git.kern

Re: [GIT] kbuild fix for v3.10-rc2

2013-05-20 Thread Michal Marek
On Sat, May 18, 2013 at 10:35:40AM -0700, Linus Torvalds wrote: > On Fri, May 17, 2013 at 12:36 PM, Michal Marek wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for-next > > > > Luiz Capitulino (1): > > package: Ma

Re: [PATCH] kbuild: Don't assume dts files live in arch/*/boot/dts

2013-05-23 Thread Michal Marek
On 18.5.2013 20:41, Matthijs Kooijman wrote: > Hi Michal, > > On Wed, May 08, 2013 at 08:50:49AM -0600, Stephen Warren wrote: >> On 05/08/2013 04:59 AM, Matthijs Kooijman wrote: >>> In commit b40b25ff (kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp), >>> dts building was changed to always

Re: Blocking allmodconfig with missing defaults (was: Re: kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new)

2013-05-23 Thread Michal Marek
On 23.5.2013 11:52, Geert Uytterhoeven wrote: > On Wed, Feb 27, 2013 at 9:37 PM, Linux Kernel Mailing List > wrote: >> Gitweb: >> http://git.kernel.org/linus/;a=commit;h=62dc989921df2a98d1a73aacd085abe941cb9828 >> >> According to Documentation/kbuild/kconfig.txt, the commands: >> >>

Re: [PATCH] gitignore: ignore hz.bc

2013-03-26 Thread Michal Marek
On Sat, Mar 23, 2013 at 06:18:23PM +0100, Vincent wrote: > Signed-off-by: Vincent Stehlé > --- > kernel/.gitignore |1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/.gitignore b/kernel/.gitignore > index ab4f109..b3097bd 100644 > --- a/kernel/.gitignore > +++ b/kernel/.gitignore

Re: [PATCH] scripts/tags.sh: Add magic for OFFSET and DEFINE

2013-03-26 Thread Michal Marek
On Sat, Mar 23, 2013 at 02:58:20PM +0400, Kirill Tkhai wrote: > Add rules for definitions which is generally used in asm-offsets files. > > Signed-off-by: Kirill V Tkhai > CC: Michal Marek > CC: Andrew Morton > --- > scripts/tags.sh |4 +++- > 1 file changed, 3 i

Re: [PATCH] UAPI: Remove empty Kbuild files

2013-03-26 Thread Michal Marek
On 26.3.2013 22:27, David Howells wrote: > Andrew Morton wrote: > >> Obviously, I thought you were referring to build-time operations. > > I want to know whether I should extend my patch to remove include/Kbuild and > any refs to it. make headers_install starts at include/uapi, so include/Kbuil

[PATCH] MODSIGN: Discard previous signature when signing modules

2013-03-26 Thread Michal Marek
The format only supports one signature, so discard any previous signature before signing the module. Signed-off-by: Michal Marek --- scripts/sign-file | 62 1 files changed, 43 insertions(+), 19 deletions(-) diff --git a/scripts/sign-file

Re: [PATCH] UAPI: Remove empty Kbuild files

2013-03-26 Thread Michal Marek
On 26.3.2013 23:54, David Howells wrote: > Michal Marek wrote: > >>> I want to know whether I should extend my patch to remove include/Kbuild and >>> any refs to it. >> >> make headers_install starts at include/uapi, so include/Kbuild is not >> needed.

Re: [PATCH] MODSIGN: Discard previous signature when signing modules

2013-03-26 Thread Michal Marek
On 27.3.2013 00:34, David Howells wrote: > Michal Marek wrote: > >> The format only supports one signature, so discard any previous >> signature before signing the module. > > That's not totally true. The format does not preclude multiple signatures. > You can

Re: [PATCH] scripts/tags.sh: Add magic for OFFSET and DEFINE

2013-03-27 Thread Michal Marek
On 27.3.2013 12:59, Kirill Tkhai wrote: > 27.03.2013, 01:35, "Michal Marek" : >> The macro definitions in the asm-offsets.h file are ammended with a >> comment explaining what the value actually means. So you see both the >> value and the semantic of the m

Re: [PATCH] pciehp: Add pciehp_surprise module option

2013-03-27 Thread Michal Marek
On 27.3.2013 17:11, Oliver Neukum wrote: > On Friday 22 March 2013 10:20:43 Alex Williamson wrote: > >>> (*) It would probably make more sense to have a list of dmi strings, >>> because it's the PCIe controller that does not set the capability bit >>> when it should. The device (Realtek card reade

Re: [PATCH][update] Makefile: allow no update .config build

2013-03-29 Thread Michal Marek
On 29.3.2013 01:46, liguang wrote: > if we pull some commits from other git repo > which bring in a few CONFIG_* options, then > we have to build all again, but we do assure > these options are not interesting for us, > so the long waiting build will be offending. > this change help us to avoid all

[PATCH] MODSIGN: Support for signing_key.{x509,priv} in the M= directory

2013-03-11 Thread Michal Marek
Allow for the module signing keypair to be supplied when building an external module. Signed-off-by: Michal Marek --- Makefile |5 + 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a05ea42..a0c5436 100644 --- a/Makefile +++ b/Makefile @@ -721,8 +721,13 @@ export

Re: [PATCH 2/4] Input: cyttsp4 - core driver for Cypress TMA4XX touchscreen devices

2012-08-24 Thread Michal Marek
Dne 7.8.2012 15:09, Ferruh Yigit napsal(a): > +static int __init cyttsp4_core_init(void) > +{ > + int rc = 0; > + > + rc = cyttsp4_register_core_driver(&cyttsp4_core_driver); > + pr_info("%s: Cypress TTSP v4 core driver (Built %s @ %s) rc=%d\n", > +__func__, __DATE

Re: [PATCH v2] Bluetooth: Another vendor specific ID for BCM20702A0 [0a5c:21f1]

2012-08-08 Thread Michal Marek
On 6.8.2012 20:40, Gustavo Padovan wrote: > Author: Gustavo Padovan > Date: Mon Aug 6 15:36:49 2012 -0300 > > Bluetooth: Use USB_VENDOR_AND_INTERFACE_INFO() for Broadcom devices > > Many Broadcom devices has a vendor specific devices class, with this rule > we match all existen

Re: [RFC PATCH] ARM Fix /usr/bin/xargs: etags: Argument list too long

2012-08-08 Thread Michal Marek
Dne 8.8.2012 16:32, David Cullen napsal(a): > Patch applies to > > commit 42a579a0f960081cd16fc945036e4780c3ad3202 > > When running "make ARCH=arm TAGS" in a chroot using qemu-arm-static, > the following message is emitted: > > [user@host:/home/work/linux]: make ARCH=arm TAGS > GEN

Re: "Inconsistent kallsyms data" error

2012-08-10 Thread Michal Marek
On Fri, Aug 10, 2012 at 02:02:33AM +0200, Jan Engelhardt wrote: > > On Saturday 2012-07-07 23:40, Michal Marek wrote: > >index cd9c6c6..4629038 100644 > >--- a/scripts/link-vmlinux.sh > >+++ b/scripts/link-vmlinux.sh > >@@ -210,8 +210,8 @@ if [ -n "${CONFIG_

[PATCH 1/4] MODSIGN: Simplify Makefile with a Kconfig helper

2013-01-23 Thread Michal Marek
Signed-off-by: Michal Marek --- init/Kconfig|9 + kernel/Makefile | 24 ++-- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index 6fdd6e3..ba7d1c1 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1634,6 +1634,15

[PATCH 3/4] MODSIGN: Add -s option to sign-file

2013-01-23 Thread Michal Marek
This option allows to append an externally computed singature to the module. This is needed in setups, where the private key is not directly available, but a service exists that returns signatures for given files. Signed-off-by: Michal Marek --- scripts/sign-file | 92

[PATCH 4/4] MODSIGN: Add option to not sign modules during modules_install

2013-01-23 Thread Michal Marek
ned-off-by: Michal Marek --- Makefile |2 +- init/Kconfig | 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 860dc21..e3a00de 100644 --- a/Makefile +++ b/Makefile @@ -719,7 +719,7 @@ endif # INSTALL_MOD_STRIP export mod_strip_cmd

[PATCH 2/4] MODSIGN: Specify the hash algorithm on sign-file command line

2013-01-23 Thread Michal Marek
Make the script usable without a .config file. Signed-off-by: Michal Marek --- Makefile |2 +- scripts/sign-file | 53 - 2 files changed, 17 insertions(+), 38 deletions(-) diff --git a/Makefile b/Makefile index 51a9bda..860dc21

[PATCH 0/4] MODSIGN: Allow to sign modules outside build

2013-01-23 Thread Michal Marek
Hi, This series allows to sign modules outside of the build tree and / or without direct access to the private key. Thanks, Michal Michal Marek (4): MODSIGN: Simplify Makefile with a Kconfig helper MODSIGN: Specify the hash algorithm on sign-file command line MODSIGN: Add -s option to

Re: [PATCH] fix: build aborts if SPACE characters are found in path.

2013-02-15 Thread Michal Marek
On 18.1.2013 15:33, Sunil Beta Baskar wrote: > Signed-off-by: Sunil Beta > --- > Makefile |4 > 1 file changed, 4 insertions(+) > > diff --git a/Makefile b/Makefile > index 07bc925..48bfd8e 100644 > --- a/Makefile > +++ b/Makefile > @@ -10,6 +10,8 @@ NAME = "Divemaster Edition" > # Com

Re: [RFC 1/2] Makefile: Add arch/arch/$(hdr-arch)/boot in header include path

2013-02-18 Thread Michal Marek
On 15.2.2013 17:25, Stephen Warren wrote: > On 02/15/2013 01:52 AM, Hiroshi Doyu wrote: >> This patch allows kernel source to include those DT >> headers. For example: >> >> + #include >> >> Signed-off-by: Hiroshi Doyu >> --- >> Makefile |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH] scripts/coccinelle/tests/odd_ptr_err.cocci: semantic patch for IS_ERR/PTR_ERR inconsistency

2012-10-11 Thread Michal Marek
On Sat, Aug 25, 2012 at 10:42:45PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Signed-off-by: Julia Lawall > > --- > scripts/coccinelle/tests/odd_ptr_err.cocci | 65 > + Looks like I missed this one. I applied it to kbuild.git#misc now. thanks, Michal --

Re: [PATCH 1/3] Coccicheck: Add the rep+ctxt mode

2012-10-11 Thread Michal Marek
On Thu, Sep 20, 2012 at 10:30:46PM +0200, Nicolas Palix wrote: > This adds a 'rep+ctxt' mode which prints the warning > message followed by the context. > > Signed-off-by: Nicolas Palix > --- > scripts/coccicheck | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/coccicheck b/s

Re: [PATCH 3/3 v2] Update SmPL/Coccinelle section of MAINTAINERS

2012-10-11 Thread Michal Marek
On Thu, Sep 20, 2012 at 10:57:33PM +0200, Julia Lawall wrote: > On Thu, 20 Sep 2012, Nicolas Palix wrote: > > >This patch updates some email addresses and the new > >mailing list address. > > > >Signed-off-by: Nicolas Palix > >--- > >v2: I changed the email address of Julia to use the capitalized

Re: [PATCH][RESEND] ignore generated binary file scripts/basic/hash

2012-10-11 Thread Michal Marek
Dne 11.10.2012 19:04, Yang Bai napsal(a): > Signed-off-by: Yang Bai > --- > scripts/basic/.gitignore |1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/basic/.gitignore b/scripts/basic/.gitignore > index a776371..b372870 100644 > --- a/scripts/basic/.gitignore > +++ b/scripts/ba

Re: [PATCH 1/3] Coccicheck: Add the rep+ctxt mode

2012-10-11 Thread Michal Marek
Dne 11.10.2012 15:46, Nicolas Palix napsal(a): > Hi, > > On Thu, Oct 11, 2012 at 3:34 PM, Michal Marek wrote: >> On Thu, Sep 20, 2012 at 10:30:46PM +0200, Nicolas Palix wrote: >>> This adds a 'rep+ctxt' mode which prints the warning >>> message fol

Re: Documentation of kconfig language differs from implementation regarding existence of symbols

2012-10-11 Thread Michal Marek
Dne 10.10.2012 02:17, Martin Walch napsal(a): > The file linux/Documentation/kbuild/kconfig-language.txt says: > >> The following two methods produce the same kconfig symbol >> dependencies but differ greatly in kconfig symbol existence >> (production) in the generated config file. >> >> case 1:

Re: [PATCH 1/10] compiler-gcc4.h: correct verion check for __compiletime_error

2012-10-11 Thread Michal Marek
any gcc bugs pertaining to it, I'm presuming that it > > has functioned as advertised since 4.3.0. > > > > Signed-off-by: Daniel Santos > > Cc: Michal Marek > > Signed-off-by: Andrew Morton > > Tested-by: David Rientjes > > Works with 4.3.6. App

[GIT] kbuild changes for v3.7

2012-10-11 Thread Michal Marek
Hi Linus, The main part of kbuild for v3.7 contains: * Fix for scripts/Makefile.modpost to not choke on a '.ko' substring in the build directory path * Two warning fixes (modpost and main Makefile) * __compiletime_error works also with gcc 4.3 * make tar{gz,bz2,xz}-pkg uses default compression s

[GIT] kconfig changes for v3.7

2012-10-11 Thread Michal Marek
Hi Linus, kconfig in v3.7 is going to * initialize ncurses only once in menuconfig * be able to jump to a search result in menuconfig * change the misnomer oldnoconfig to a more meaningful name olddefconfig, keeping the old name as alias Please pull from the below branch. Thanks, Michal The f

[GIT] kbuild misc changes for v3.7

2012-10-11 Thread Michal Marek
Hi Linus, in the non-critical part of kbuild, I have * Some make coccicheck improvements and two new tests * Support for a cleaner html output in scripts/kernel-doc, named html5 (no, it does not play videos, yet) BTW, Randy wants to route further kernel-doc patches through the kbuild tree. Tha

Re: commit fe04ddf7c2910362f3817c8156e41cbd6c0ee35d reverts unrelated changes

2012-10-15 Thread Michal Marek
Dne 15.10.2012 17:26, Jan Beulich napsal(a): > Michal, > > is there any reason why that commit reverts two other changes > (to arch/x86/Makefile and scripts/Makefile.fwinst) without any > mention of the reason for this in the description? Oh, I don't know how this could have happened. It seems th

[PATCH] kbuild: Fix accidental revert in commit fe04ddf

2012-10-15 Thread Michal Marek
ation rule matching with make 3.80) Reported-by: Jan Beulich Cc: Signed-off-by: Michal Marek --- arch/x86/Makefile |2 +- scripts/Makefile.fwinst |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 58790bd..05afcca 1

Re: [PATCH] modpost: Add flag -f for making section mismatches fatal

2013-01-12 Thread Michal Marek
On 3.1.2013 22:39, Jonathan Kliegman wrote: > I'm not sure what you mean about configs failing. After adding this > option to init/Kconfig I was able to build fine using old and new > configs with and without the option set. Is there something specific > you'd like me to test for? We still have

Re: [PATCH] scripts: kconfig: qconf.cc: fix a compiliation error when using make xconfig

2013-01-13 Thread Michal Marek
On 13.1.2013 04:28, Tiana Rakotovao Andriamahefa wrote: > When using make xconfig, the following compilation error appears : >/usr/include/qt3/qvaluelist.h:427:13: error: ‘ptrdiff_t’ does not name a > type > Including stddef.h in scripts/kconfig/qconf.cc permits to avoid this error. This is a

Re: [PATCH] scripts/tags.sh: Fix regex syntax for etags

2013-01-13 Thread Michal Marek
On Sat, Dec 29, 2012 at 12:22:44AM +0100, Jesper Juhl wrote: > On Sat, 29 Dec 2012, Andreas Schwab wrote: > > > Signed-off-by: Andreas Schwab > > --- > > scripts/tags.sh | 50 +- > > 1 file changed, 25 insertions(+), 25 deletions(-) [...] > This w

Re: [PATCH] Makefile: Make checkstack work with O= builds

2013-01-13 Thread Michal Marek
On 22.12.2012 02:58, Stephen Boyd wrote: > The vmlinux doesn't always live in the same directory as the > source files and so 'make O=obj checkstack' fails with a missing > vmlinux file. Fix checkstack so that this is possible. It works for me even without your patch. With O=, a second make is run

Re: [PATCH] scripts: kconfig: qconf.cc: fix a compiliation error when using make xconfig

2013-01-15 Thread Michal Marek
On 14.1.2013 01:54, Tiana Rakotovao Andriamahefa wrote: > Le dimanche 13 janvier 2013 à 09:50:52, Michal Marek a écrit : >> On 13.1.2013 04:28, Tiana Rakotovao Andriamahefa wrote: >>> When using make xconfig, the following compilation error appears : >>>/usr/incl

Re: [PATCH] menuconfig:inputbox: support navigate input position

2013-01-15 Thread Michal Marek
On 17.12.2012 19:22, Yann E. MORIN wrote: > Wang, All, > > On Monday 17 December 2012 Wang YanQing wrote: >> This patch add support navigate input position *inside* the input >> field with LEFT/RIGHT, so it is possible to modify the text in place. >> >> Signed-off-by: Wang YanQing > > Tested-by:

Re: [PATCH 4/5] ktest: Fix breakage from change of oldnoconfig to olddefconfig

2012-12-13 Thread Michal Marek
d to build lots of >> older kernels (and for bisects), it forgoes the oldnoconfig completely. >> >> Cc: Adam Lee >> Cc: Michal Marek >> Signed-off-by: Steven Rostedt > > This makes sense, we should provide a backup for older kernels. Sorry > for not noticin

Re: [PATCH 1/1] scripts/config: Fix wrong "shift" for --keep-case

2012-12-14 Thread Michal Marek
On 14.12.2012 07:47, Hiroshi Doyu wrote: > Remove wrong "shift" for --keep-case. There is always "shift" at > beginning of while-loop. No need "shift" at --keep-case just before > "continue" to process next argument. > > Now the following works as expected: > > ./scripts/config -e aAa -k -e bBb -

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-17 Thread Michal Marek
On 14.12.2012 23:19, Cesar Eduardo Barros wrote: > This small script checks the file patterns in the MAINTAINERS file. > > For every file pattern, it checks if the pattern matches any file or > directory in the kernel tree, printing the patterns which do not have a > match. Can't this be added as

Re: [PATCH] Kbuild: use normal compression settings for tar*-pkg

2012-09-27 Thread Michal Marek
On 11.9.2012 02:46, Fengguang Wu wrote: > On Sat, Sep 08, 2012 at 12:47:59PM -0700, Andi Kleen wrote: >> From: Andi Kleen >> >> For large kernel configurations (like a distribution kernel) >> targz-pkg takes a quite long time to just do the compression. >> I clocked it at 15+mins for a SUSE kernel

Re: [PATCH v2 0/6] menuconfig: jump to search results

2012-09-27 Thread Michal Marek
On 23.8.2012 20:55, Benjamin Poirier wrote: > This patch series adds "jump to" keys (similar to the cscope interface) to the > search results of "make menuconfig" so that we can go directly to the menu > entry for a config option after searching for it. > > Patches 1-4 implement the basic function

Re: [PATCH v2 1/2] nconf: add keybindings for vi-style menu navigation, rewrite help texts

2013-01-16 Thread Michal Marek
On 15.1.2013 17:26, Roland Eggner wrote: >> From: Roland Eggner > > • Implemented vi-style navigation, based on initial work by >Dmitry Voytik. Using instead of for help related to > current >menu entry avoids conflict. It conflicts with previous behavior that people got used

Re: "Inconsistent kallsyms data" error

2012-07-07 Thread Michal Marek
llsyms bug yet, sorry. Michal >From 5369f55021feb27a1481267e7afefe14128d669f Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Sat, 7 Jul 2012 23:04:40 +0200 Subject: [PATCH] kbuild: Print errors to stderr ... at least in the top-level Makefile and scripts/link-vmlinux.sh. There are som

[PATCH] kconfig: Print errors to stderr in the Makefile

2012-07-07 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/kconfig/Makefile | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 7966265..b990e4f 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig

[patch 0/3] Fix for XFS compat ioctls

2007-05-30 Thread Michal Marek
Hi, it looks like the XFS compat ioctl interface (fs/xfs/linux-2.6/xfs_ioctl32.c) is quite incomplete. Attached patches fix some ioctls to make at least xfsdump work. Tested on x86_64 with an i386 xfsdump binary, I'll test on ppc64 later. -- have a nice day, Michal Marek - To unsubscribe

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