Re: [PATCH] builddeb: remove unneeded explicit Architecture

2012-09-05 Thread Michal Marek
On 5.9.2012 15:05, Tzafrir Cohen wrote: > Hi, > > Thanks for your reply, > > On Fri, Aug 31, 2012 at 03:50:10PM +0200, Michal Marek wrote: >> Adding Max to CC. >> >> On 14.8.2012 12:44, Tzafrir Cohen wrote: >>> Architecture was set explicitly in debian

[GIT] kbuild rc fixes for v3.6 (v2)

2012-09-06 Thread Michal Marek
: fix directory creation rule matching with make 3.82 Michal Marek (1): link-vmlinux.sh: Fix stray "echo" in error message scripts/Makefile.fwinst |2 +- scripts/link-vmlinux.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: sen

Re: [GIT] kbuild rc fixes for v3.6

2012-09-06 Thread Michal Marek
On 6.9.2012 07:19, Stephen Rothwell wrote: > On Wed, 5 Sep 2012 20:32:00 -0700 Linus Torvalds > wrote: >> >> On Mon, Sep 3, 2012 at 12:18 PM, Michal Marek wrote: >>> are available in the git repository at: >>> git://git.kernel.org/pub/scm/li

[GIT] kbuild fixes

2012-10-07 Thread Michal Marek
-23 18:10:57 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git rc-fixes Jean Delvare (1): kbuild: Fix gcc -x syntax Michal Marek (1): kbuild: Do not package /boot and /lib in make tar-pkg arch/mips/Makef

Re: [PATCH 2/2] scripts/tags.sh: Support compiled source

2012-12-03 Thread Michal Marek
On 3.12.2012 17:22, Joonsoo Kim wrote: > We usually have interst in compiled files only, > because they are strongly related to individual's work. > Current tags.sh can't select compiled files, so support it. > > We can use this functionality like below. > "make cscope O=. SRCARCH= SUBARCH=com

[PATCH 1/3] MODSIGN: Fix comparison erros in scripts/sign-file

2012-12-04 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/sign-file |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/sign-file b/scripts/sign-file index 87ca59d..974a20b 100755 --- a/scripts/sign-file +++ b/scripts/sign-file @@ -156,12 +156,12 @@ sub asn1_extract

[PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread Michal Marek
From: Takashi Iwai Using the asm .incbin statement in C sources breaks any gcc wrapper which assumes that preprocessed C source is self-contained. Use a separate .S file to include the siging key and certificate. Tested-by: Michal Marek Signed-off-by: Takashi Iwai --- kernel/Makefile

[PATCH 3/3] MODSIGN: Drop ccache hack

2012-12-04 Thread Michal Marek
The __TIME__ macro is not needed anymore, because the pubkey is included in a separate .S file. Signed-off-by: Michal Marek --- kernel/modsign_pubkey.c |6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/modsign_pubkey.c b/kernel/modsign_pubkey.c index 045504f..df27eca 100644

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-05 Thread Michal Marek
On Wed, Dec 05, 2012 at 08:39:11AM +0100, Takashi Iwai wrote: > At Wed, 05 Dec 2012 10:28:48 +1030, > Rusty Russell wrote: > > > > David Howells writes: > > > > > Michal Marek wrote: > > > > > >> Using the asm .incbin statement in C so

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-05 Thread Michal Marek
Dne 5.12.2012 11:30, David Howells napsal(a): > Takashi Iwai wrote: > >> +#ifndef SYMBOL_PREFIX > > This comes via the command line? Yes, see scripts/Makefile.lib: ifdef CONFIG_SYMBOL_PREFIX _sym_flags = -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) _cpp_flags += $(_sym_flags) _a_f

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-05 Thread Michal Marek
Dne 5.12.2012 11:30, James Hogan napsal(a): > However I think it's unfortunate having to stringify from C as it's > pretty much always required to be in string form when used from a C > file, usually in an asm block. Any objection to defining SYMBOL_PREFIX > with the quotes around it for _c_flags o

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-19 Thread Michal Marek
On 19.10.2012 14:10, Tetsuo Handa wrote: > Yann E. MORIN wrote: >> So, switch to using TAILQ instead, which are more portable. [...] > Excuse me, but your patch does not solve my problem because kconfig started > using macros which does not exist in "@(#)queue.h 8.3 (Berkeley) 12/13/93". > Kconfig

Re: [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix

2012-10-19 Thread Michal Marek
On 18.10.2012 21:50, Yann E. MORIN wrote: > -#ifndef CONFIG_ > -#define CONFIG_ "CONFIG_" > +/* Those two defines copied from include/linux/stringify.h */ > +#define __stringify_1(x...) #x > +#define __stringify(x...)__stringify_1(x) > +static inline const char *CONFIG_prefix(void) > +{ > +

Re: [PATCHv2 2/2] scripts/kernel-doc: check that non-void fcts describe their return value

2012-12-06 Thread Michal Marek
On 27.11.2012 02:43, Randy Dunlap wrote: > On 11/26/2012 01:22 PM, Yacine Belkadi wrote: > >> If a function has a return value, but its kernel-doc comment doesn't contain >> a >> "Return" section, then emit the following warning: >> >>Warning(file.h:129): No description found for return value

Re: [PATCH] scripts/coccinelle/misc/warn.cocci: use WARN

2012-12-09 Thread Michal Marek
On Sat, Nov 03, 2012 at 09:02:09PM +0100, Julia Lawall wrote: > From: Julia Lawall > > Use WARN(1,...) rather than printk followed by WARN(1). > > Signed-off-by: Julia Lawall > > --- > scripts/coccinelle/misc/warn.cocci | 109 > + Applied to kbuild.git#mi

Re: [PATCH] kbuild: Do not remove vmlinux when cleaning external module

2012-12-09 Thread Michal Marek
On Sat, Nov 10, 2012 at 01:59:21PM +0100, Romain Francoise wrote: > Pawel Moll writes: > > > Since commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 "kbuild: > > link of vmlinux moved to a script" make clean with M= > > argument (so cleaning external module) removes vmlinux, > > System.map and coup

Re: [PATCH] kbuild: Unbreak cleaning external module build directory

2012-12-09 Thread Michal Marek
On 18.11.2012 16:01, Bart Van Assche wrote: > Avoid that "$(MAKE) -C $(KDIR) M=$(PWD) clean" triggers the following > error message when invoked from inside the Makefile of an external > kernel module: > > rm: cannot remove 'System.map': Permission denied > make[1]: *** [clean] Error 1 I just app

Re: [PATCH 3/5] add eboot.o and efi_stub_$(BITS).o to $(targets)

2012-12-09 Thread Michal Marek
Signed-off-by: Peter Foley Acked-by: Michal Marek BTW, it might be a good idea to split the $(targets) assignment into multiple lines. Michal > --- > arch/x86/boot/compressed/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/boot/co

Re: [PATCH 4/5] silence 'arch/x86/realmode/rm/realmode.bin' is up to date message

2012-12-09 Thread Michal Marek
sited by the Makefile already. > Remove the realmode.bin target to eliminate the 'up to date' > message. > > Signed-off-by: Peter Foley Acked-by: Michal Marek Michal > --- > arch/x86/realmode/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [PATCH 5/5] x86: add dummy rules to avoid 'nothing to be done' messages

2012-12-09 Thread Michal Marek
Added x...@kernel.org Michal On 18.11.2012 21:05, pefol...@verizon.net wrote: > From: Peter Foley > > Add do-nothing rules to archheaders and archscripts targets to avoid > 'nothing to be done' messages. > > Signed-off-by: Peter Foley > --- > arch/x86/syscalls/Makefile | 1 + > arch/x86/tool

Re: [PATCH 2/5] kbuild: silence rule for extra_certificates

2012-12-09 Thread Michal Marek
being used, in case the user used a wrong filename or similar. How about this? Subject: MODSIGN: Fix kbuild output when using default extra_certificates Signed-off-by: Michal Marek diff --git a/kernel/Makefile b/kernel/Makefile index 0dfeca4..8c708e4 100644 --- a/kernel/Makefile +++ b/kernel/Mak

Re: [PATCH 1/5] kbuild: remove deprecated use of defined in timeconst.pl

2012-12-09 Thread Michal Marek
On 18.11.2012 21:05, pefol...@verizon.net wrote: > From: Peter Foley > > Fix this warning by removing a unneeded use of defined An identical fix for this is in the -mm tree already. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: nouveau driver fails to build

2012-12-09 Thread Michal Marek
On 23.11.2012 18:49, Paul Bolle wrote: > The puzzling part > is that ACPI_VIDEO will only be selected (ie, made into a 'y') if all > dependencies of that select statement are 'y' too. (Note that these > dependencies are identical to the dependencies of ACPI_VIDEO's config > entry. That can be no co

Re: [PATCH] merge_config.sh: Add option to specify output dir

2012-12-09 Thread Michal Marek
On Mon, Dec 03, 2012 at 09:05:26AM -0800, John Stultz wrote: > On 12/02/2012 11:36 PM, Zhangfei Gao wrote: >> Provide a -O option to specify dir to put generated .config >> Then merge_config.sh does not need to be copied to target dir, >> for easy re-usage in other script >> >> Signed-off-by: Zhang

Re: [PATCH v2 1/2] scripts/tags.sh: Support subarch for ARM

2012-12-09 Thread Michal Marek
On Tue, Dec 04, 2012 at 03:04:32AM +0900, Joonsoo Kim wrote: > +elif [ "${SRCARCH}" = "arm" -a "${SUBARCH}" != "" ]; then > + subarchdir=$(find ${tree}arch/$SRCARCH/ -name mach-* -type d -o \ > + -name plat-* -type d); Please quote the patter

Re: [PATCH v2 2/2] scripts/tags.sh: Support compiled source

2012-12-09 Thread Michal Marek
On Tue, Dec 04, 2012 at 03:04:33AM +0900, Joonsoo Kim wrote: > We usually have interst in compiled files only, > because they are strongly related to individual's work. > Current tags.sh can't select compiled files, so support it. > > We can use this functionality like below. > "make cscope O=. SR

Re: Makefile race between jobs

2012-12-10 Thread Michal Marek
On Mon, Dec 10, 2012 at 11:02:25AM +0200, Noam Camus wrote: > Target "scripts_basic" by itself is indeed not creating the dependency issue. > The relevant target is "scripts". > Sorry for the confusion, thanks for the example. > So I call target "defconfig" and then I call target "vmlinux" which by

Re: Makefile race between jobs

2012-12-10 Thread Michal Marek
On 10.12.2012 11:11, Vineet Gupta wrote: > ARC Port caches current task pointer in a register - thus we have a > global asm register definition in current.h > In the past, a customer ran into issue when porting some "really > portable" code to kernel - such that asm/current.h didn't make it into >

Re: [PATCH v3 2/2] scripts/tags.sh: Support compiled source

2012-12-11 Thread Michal Marek
Dne 10.12.2012 16:11, Joonsoo Kim napsal(a): > We usually have interst in compiled files only, > because they are strongly related to individual's work. > Current tags.sh can't select compiled files, so support it. > > We can use this functionality like below. > "make cscope O=. SRCARCH= COMPI

[GIT] menuconfig portability fix

2012-11-12 Thread Michal Marek
Hi Linus, Here is a fix for v3.7 that makes menuconfig compile again on systems whose C library is lacking CIRCLEQ_* macros. I thought I sent it earlier, but apparently I did not. Michal The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:

Re: [PATCH v2] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-11-12 Thread Michal Marek
Dne 12.11.2012 13:26, Willy Tarreau napsal(a): > On Sun, Nov 11, 2012 at 05:02:24PM +0100, Yann E. MORIN wrote: >> Michal, All, >> >> On Thursday 25 October 2012 Michal Marek wrote: >>> On 22.10.2012 21:38, Yann E. MORIN wrote: >>>> On Sunday 21 October

[PATCH] X.509: Do not rely on implicit time.h include

2012-11-15 Thread Michal Marek
x509_parser.h needs struct tm, so include the header that declares it. Signed-off-by: Michal Marek --- crypto/asymmetric_keys/x509_parser.h |1 + 1 file changed, 1 insertion(+) diff --git a/crypto/asymmetric_keys/x509_parser.h b/crypto/asymmetric_keys/x509_parser.h index f86dc5f..9383923

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

2013-01-03 Thread Michal Marek
Dne 3.1.2013 00:56, Rusty Russell napsal(a): > Jonathan Kliegman writes: >> The section mismatch warning can be easy to miss during the kernel build >> process. Allow it to be marked as fatal to be easily caught and prevent >> bugs from slipping in. >> >> Signed-off-by: Jonathan Kliegman > > Hm

[GIT] kbuild changes for v3.8-rc1

2012-12-20 Thread Michal Marek
Hi Linus, the kbuild changes are minimal this time: * scripts/pnmlogo fix for some newer format * minor top-level Makefile cleanup * fix for a v3.5 regression with make clean M= Please pull for v3.8-rc1, thanks. Michal The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37:

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

2012-12-20 Thread Michal Marek
Hi Linus, this is the non-critical part of kbuild * scripts/kernel-doc requires a "Return:" section for non-void functions * ARCH=arm SUBARCH=... support for make tags * COMPILED_SOURCE=1 support for make tags (only indexes .c files for which a .o exists) * New coccinelle check * Option parsing

Re: [PATCH 2/2] scripts/kernel-doc: check that non-void fcts describe their return value

2012-11-20 Thread Michal Marek
On 30.9.2012 23:32, Yacine Belkadi wrote: > If a function has a return value, but its kernel-doc comment doesn't contain a > "Return" section, then emit the following warning: > >Warning(file.h:129): No description found for return value of 'fct' > > Note: This check emits a lot of warnings a

Re: [PATCH] menuconfig: fix extended colors ncurses support

2012-11-20 Thread Michal Marek
On Mon, Oct 08, 2012 at 06:18:22PM +0200, Krzysztof Mazur wrote: > The ncurses library allows for extended colors. The support for extended > colors support depends on wide-character support. ncurses headers > enable extended colors (NCURSES_EXT_COLORS) only when wide-character > support is enabled

Re: [PATCH] Coccicheck: Improvement for online checking with 'make C=[12]'

2012-11-20 Thread Michal Marek
Hi Nicolas, sorry for the delay. On 12.10.2012 10:48, Nicolas Palix wrote: > +# The ignore_unknown_options flag requires Coccinelle >= 0.2.3 > +FLAGS="-ignore_unknown_options -very_quiet" > +if [ "$KBUILD_EXTMOD" = "" ] ; then > +OPTIONS="-dir $srctree $*" Why is -Iinclude no

Re: [PATCH] kbuild: Remove reference to uninitialised variable

2012-11-20 Thread Michal Marek
On Mon, Oct 15, 2012 at 01:49:12PM +0100, Charles Keepax wrote: > Verbose output variable is unnecessary because the command's echo is > already surpressed. Additionally because the block defines skip-makefile > the variable Q is not defined within the makefile, which can cause > problems if Q is d

Re: [PATCH] scripts/pnmtologo: fix for plain PBM

2012-11-20 Thread Michal Marek
On Thu, Oct 18, 2012 at 11:08:49AM +0200, Andreas Bießmann wrote: > PBM generated with current tools do not have a whitespace between the digits. > Therefore the pnmtologo tool fails to gernerate the required C-Array for these > images. This patch fixes that behaviour and can handle both 'old styl

Re: [PATCH] malloc: Fix malloc handling in conf tools

2012-11-20 Thread Michal Marek
On Tue, Nov 06, 2012 at 02:32:08PM +, Alan Cox wrote: > From: Alan Cox > > (and get them out of the noise in the audit work) > > Signed-off-by: Alan Cox Applied to kbuild.git#kconfig, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: make rpm-pkg fails for all kernels with "spec file not found in .tar.gz

2013-04-18 Thread Michal Marek
On 17.4.2013 22:06, Thomas Schweikle wrote: > make O=/home/sct-muc/dev/obj/3.8.8 defconfig > make O=/home/sct-muc/dev/obj/3.8.8 bzImage > make O=/home/sct-muc/dev/obj/3.8.8 rpm-pkg make rpm does not work with O=. There was a bug that it does not detect this early enough to give a meaningful error

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

2013-04-18 Thread Michal Marek
On 15.4.2013 22:35, Michal Marek wrote: > The source tree can contain lots of uninteresting data like tag or > cscope files, packaging which slows down make rpm needlessly. It can > also break the build, if the tree contains an unrelated file named > *.spec. The downside of this change

[PATCH] mfd: MFD_TPS65912 needs MFD_CORE

2013-04-19 Thread Michal Marek
s' Signed-off-by: Michal Marek --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 60611cd..5faf7c2 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -805,6 +805,7 @@ config MFD_TPS65910 config MFD_TPS65912

Re: [PATCH RESEND] Makefile.lib: align DTB quiet_cmd

2013-06-13 Thread Michal Marek
On 13.6.2013 12:53, James Hogan wrote: > The unaligned dtb.S filename in make output started to irritate me: > DTC arch/metag/boot/dts/skeleton.dtb > DTBarch/metag/boot/dts/skeleton.dtb.S > AS arch/metag/boot/dts/skeleton.dtb.o > LD arch/metag/boot/dts/built-in.o > > Add

Re: [PATCH] scripts: Coccinelle script for pci_free_consistent()

2013-06-14 Thread Michal Marek
On 8.5.2013 23:03, strna...@fel.cvut.cz wrote: > Created coccinelle script for reporting missing pci_free_consistent() calls. > > Signed-off-by: Petr Strnad Julia, Nicolas, any comments about this patch? Thanks, Michal > --- > diff --git a/scripts/coccinelle/free/pci_free_consistent.cocci >

Re: [PATCH 1/2] Coccinelle: Make 'report' the default mode

2013-06-14 Thread Michal Marek
ept and the 'patch' mode > is still the first tried in that case. > > Signed-off-by: Nicolas Palix On Thu, Jun 06, 2013 at 11:39:53PM +0200, Nicolas Palix wrote: > Add Michal Marek and the misc branch of the kbuild tree > in the Coccinelle section of MAINTAINERS. &

Re: [PATCH] scripts/coccinelle: check for field address argument to kfree

2013-06-14 Thread Michal Marek
On Sat, Jun 08, 2013 at 06:21:42PM +0200, Julia Lawall wrote: > From: Julia Lawall > > The argument to kfree should not be the address of a structure field. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: [pull request v2] Pull request for branch yem-kconfig-rc-fixes

2013-06-04 Thread Michal Marek
On 30.5.2013 00:24, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Hello Michal, All, > > Please pull these three rc-fixes: > - fix key handling in empty menus in mconf > - fix reference to eliminated duplicate expression in kconfig > - fix scripts/config wrt short --*-after options Sor

[GIT] kbuild fixes for v3.10-rc5

2013-06-05 Thread Michal Marek
s in empty dialogs kconfig/menu.c: fix multiple references to expressions in menu_add_prop() Matthijs Kooijman (1): kbuild: Don't assume dts files live in arch/*/boot/dts Michal Marek (1): Merge branch 'yem-kconfig-rc-fixes' of git://gitorious.org/linux-kconfig/lin

Re: [PATCH] Kbuild: pass headers to headers_install.sh on stdin

2013-06-06 Thread Michal Marek
Dne 6.6.2013 19:05, Kyle McMartin napsal(a): > While using make V=1 to test some things, I noticed on our builders that > headers_install was failing because the argument list to /bin/sh was too > long. Working around it is slightly kludgy... This is already fixed with commit c0ff68f1611d6855a06

Re: [PATCH] Kbuild: pass headers to headers_install.sh on stdin

2013-06-06 Thread Michal Marek
Dne 6.6.2013 19:59, Josh Boyer napsal(a): > On Thu, Jun 6, 2013 at 1:55 PM, Kyle McMartin wrote: >> On Thu, Jun 06, 2013 at 07:41:57PM +0200, Michal Marek wrote: >>> Dne 6.6.2013 19:05, Kyle McMartin napsal(a): >>>> While using make V=1 to test some things,

Re: [PATCH] build some drivers only when compile-testing

2013-06-17 Thread Michal Marek
Dne 17.6.2013 22:05, Jiri Slaby napsal(a): > On 05/23/2013 05:09 AM, Jeff Mahoney wrote: >> On 5/22/13 10:23 PM, Greg Kroah-Hartman wrote: >>> On Wed, May 22, 2013 at 11:18:46AM +0200, Jiri Slaby wrote: Some drivers can be built on more platforms than they run on. This causes users and di

Re: [PATCH] build some drivers only when compile-testing

2013-06-18 Thread Michal Marek
Dne 18.6.2013 10:34, Felipe Balbi napsal(a): > Hi, > > On Tue, Jun 18, 2013 at 10:24:40AM +0200, Jiri Slaby wrote: > Sam Ravnborg (the kconfig ex-maintainer) once wrote that > he doesn't want to extend the kconfig language for this > purpose (which I support). That a config option is f

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

2013-06-19 Thread Michal Marek
Dne 19.6.2013 00:44, Yann E. MORIN napsal(a): > From: "Yann E. MORIN" > > Hello Michal, All! > > These are the patches against kconfig that I have accumulated for 3.11, > and for which I plan to later send a proper pull-request. > > Note-whorthy this time: > - fix values of tristates that are

Re: [PATCH] scripts: Don't run find across mountpoints

2013-06-23 Thread Michal Marek
Hi Gabriel, sorry for the late feedback. Dne 10.6.2013 17:28, Gabriel de Perthuis napsal(a): > Use RCS_FIND_IGNORE in more places. Can you split it into two parts - one adding the missing RCS_FIND_IGNORE to some find invocations, and other adding the -xdev option? While the first change is obvio

Re: [PATCH] scripts/setlocalversion on write-protected source tree

2013-06-23 Thread Michal Marek
On Fri, Jun 14, 2013 at 06:04:34PM -0700, Christian Kujau wrote: > I just stumbled across another[0] issue when scripts/setlocalversion > operates on a write-protected source tree. Back then[0] the source tree > was on an read-only NFS share, so "test -w" was introduced before "git > update-inde

Re: [PATCH 12/14] kconfig: sort found symbols by relevance

2013-06-24 Thread Michal Marek
On 24.6.2013 09:57, Jean Delvare wrote: > Hi Yann, > > Sorry for the late reply... > > Le Wednesday 19 June 2013 à 00:45 +0200, Yann E. MORIN a écrit : >> From: "Yann E. MORIN" >> >> When searching for symbols, return the symbols sorted by relevance. >> >> Sorting is done as thus: >> - first,

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

2013-06-24 Thread Michal Marek
Dne 24.6.2013 20:11, Yann E. MORIN napsal(a): > From: "Yann E. MORIN" > > Hello Michal, All! > > > │ > Michal, pl

Re: linux-next: Tree for Jun 25

2013-06-25 Thread Michal Marek
On 25.6.2013 11:26, Sedat Dilek wrote: > On Tue, Jun 25, 2013 at 11:21 AM, Yann E. MORIN > wrote: > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=a11650e11093ed57dca78bf16e7836517c599098 > >> - for tristate choices, it is possible to select zero, one or more of the

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Michal Marek
Added David Daney to CC. On 9.6.2013 04:33, Daniel Tang wrote: > The pointer passed to the _r() macro does not always match the type > of the function that it is aliasing and raises several of the following > warnings at compile time: > > warning: passing argument 1 of ‘r8’ from incompatible poin

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Michal Marek
On 3.7.2013 14:06, Michal Marek wrote: > Added David Daney to CC. Second attempt, sorry. > On 9.6.2013 04:33, Daniel Tang wrote: >> The pointer passed to the _r() macro does not always match the type >> of the function that it is aliasing and raises several of the follow

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Michal Marek
On 3.7.2013 14:12, Daniel Tang wrote: >> On 3.7.2013 14:06, Michal Marek wrote: >>> On 9.6.2013 04:33, Daniel Tang wrote: >>>> The pointer passed to the _r() macro does not always match the >>>> type of the function that it is aliasing and raises several of

Re: [PATCH 2/2] Fix a build warning in scripts/mod/file2alias.c

2013-07-03 Thread Michal Marek
On 9.6.2013 04:33, Daniel Tang wrote: > On some systems, __used is already defined in sys/cdefs.h and causes > a build warning: > > scripts/mod/file2alias.c:85:1: warning: "__used" redefined > In file included from /usr/include/stdio.h:64, > from scripts/mod/modpost.h:1, >

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Michal Marek
On 3.7.2013 14:37, Daniel Tang wrote: > Hi, > > On 03/07/2013, at 10:28 PM, Michal Marek wrote: >> >> >> What is the type of Elf64_Shdr::sh_offset in OS X's ? In >> glibc, this is Elf64_Off, which is a typedef name for uint64_t. > > Huh, that'

Re: [PATCH] Makefile: Fix install error with make -j option

2013-07-03 Thread Michal Marek
On Wed, Jun 12, 2013 at 12:13:47PM +0200, Robert Richter wrote: > Michal, > > please apply this fix, ideally for v3.10 if possible. I applied it to kbuild.git#kbuild now, with Cc: . Michal > > Thanks, > > -Robert > > > On 02.05.13 08:50:37, Robert Richter wrote: > > From: Robert Richter > >

Re: [PATCH 1/2] Fix a build warning in scripts/sortextable.h

2013-07-03 Thread Michal Marek
On 3.7.2013 14:57, Michal Marek wrote: > On 3.7.2013 14:37, Daniel Tang wrote: >> Hi, >> >> On 03/07/2013, at 10:28 PM, Michal Marek wrote: >>> >>> >>> What is the type of Elf64_Shdr::sh_offset in OS X's ? In >>> glibc, this is Elf6

Re: [PATCH v3] coccicheck: span checks across CPUs

2013-07-03 Thread Michal Marek
On 18.6.2013 23:51, Nicolas Palix wrote: > On Tue, Jun 18, 2013 at 11:49 PM, Kees Cook wrote: >> This adds parallelism by default to the "coccicheck" target using >> spatch's "-max" and "-index" arguments. >> >> Signed-off-by: Kees Cook > > Signed-off-by: Nicolas Palix Applied to kbuild.git#mi

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

2013-07-03 Thread Michal Marek
On Thu, Jun 20, 2013 at 01:10:55PM +0200, Nicolas Palix wrote: > Add Documentation/coccinelle.txt in the COCCINELLE section. > > Signed-off-by: Nicolas Palix Applied to kbuild.git#misc. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH 3/3] Coccinelle: Update the options used to the new option scheme

2013-07-03 Thread Michal Marek
On 20.6.2013 13:10, Nicolas Palix wrote: > spatch has changed its option scheme. > E.g., --no_show_diff is now --no-show-diff > > This patch updates: > - scripts/coccicheck > - Semantic patches under scripts/coccinelle/ Will the new syntax work with older spatch versions? I mean, it's probably

Re: [PATCH] Coccinelle: Update the documentation

2013-07-03 Thread Michal Marek
On Thu, Jun 20, 2013 at 02:00:19PM +0200, Nicolas Palix wrote: > - The new default mode is 'report'. > - The available modes are detailed a bit more. > - Some information about the use of spatch options are >also given concerning the use of indexing tools. > > Signed-off-by: Nicolas Palix

Re: [PATCH] scripts: Coccinelle script for pci_free_consistent()

2013-07-03 Thread Michal Marek
On 25.6.2013 15:03, Nicolas Palix wrote: > On Wed, May 8, 2013 at 11:03 PM, wrote: >> Created coccinelle script for reporting missing pci_free_consistent() calls. >> >> Signed-off-by: Petr Strnad > > Signed-off-by: Nicolas Palix Applied to kbuild.git#misc. BTW, the patch was malformed at seve

Re: [Cocci] [PATCH 3/3] Coccinelle: Update the options used to the new option scheme

2013-07-03 Thread Michal Marek
On 3.7.2013 15:52, Nicolas Palix wrote: > Hi, > > On Wed, Jul 3, 2013 at 3:36 PM, Michal Marek wrote: >> On 20.6.2013 13:10, Nicolas Palix wrote: >>> spatch has changed its option scheme. >>> E.g., --no_show_diff is now --no-show-diff >>> >>

Re: [PATCH] let kbuild mkdir for dir/file.o

2013-07-03 Thread Michal Marek
Dne 30.6.2013 11:09, 张忠山 napsal(a): > When add a obj with dir to obj-y, like this > > obj-y += dir/file.o > > The $(obj)/dir not created, this patch fix this. > > When try to add a file(which in a subdir) to my board's obj-y, the build > progress crashed. > > For example, I use at91rm9200ek

Re: [PATCH] Coccinelle: Update information about the minimal version required

2013-07-03 Thread Michal Marek
Dne 3.7.2013 16:41, Nicolas Palix napsal(a): > The naming convention of options has changed one year ago. > The options have been recently updated in the cocci file > and in scripts/coccicheck. This patch also adds this information > in the documentation. > > Signed-off-by: Nicolas Palix I appli

Re: [RFC PATCH] Allow optional module parameters

2013-07-03 Thread Michal Marek
Dne 1.7.2013 18:33, Jonathan Masters napsal(a): > One caveat. Sometimes we have manufactured parameters intentionally > to cause a module to fail. We should standardize that piece. You have: blacklist foo to prevent udev from loading a module and install foo /bin/true to prevent modprobe f

Re: [RFC PATCH] Allow optional module parameters

2013-07-03 Thread Michal Marek
Dne 3.7.2013 23:17, Andy Lutomirski napsal(a): > On Wed, Jul 3, 2013 at 2:03 PM, Michal Marek wrote: >> Dne 1.7.2013 18:33, Jonathan Masters napsal(a): >>> One caveat. Sometimes we have manufactured parameters intentionally >>> to cause a module to fail. We sh

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

2013-07-04 Thread Michal Marek
On 4.7.2013 06:43, Andrew Morton wrote: > On Thu, 4 Jul 2013 14:33:53 +1000 Stephen Rothwell > wrote: > >> Hi Andrew, >> >> Today's linux-next merge of the akpm tree got conflicts in >> tools/include/tools/be_byteshift.h and tools/include/tools/le_byteshift.h >> between commit b35310627f39 ("too

Re: [PATCH] scripts/mod: Spelling s/DEVICEVTABLE/DEVICETABLE/

2013-06-27 Thread Michal Marek
Dne 17.5.2013 14:18, Geert Uytterhoeven napsal(a): > Signed-off-by: Geert Uytterhoeven > --- > scripts/mod/Makefile |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Added to kbuild.git#kbuild. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [PATCH] let kbuild mkdir for dir/file.o

2013-06-28 Thread Michal Marek
Hi, sorry for the late feedback. Dne 4.6.2013 10:45, 张忠山 napsal(a): > when add a obj with dir to obj-y, like this > > obj-y += dir/file.o > > the $(obj)/dir not created, this patch fix this > > this bug caused by commit >f5fb976520a53f45f8bbf2e851f16b3b5558d485 Please also include the

Re: 3.10.0-rc7: rtc_cmos.o: No linking because of missing CONFIG_HPET

2013-07-01 Thread Michal Marek
Adding RTC and HPET maintainers to CC. Michal On 29.6.2013 22:42, Bjarni Ingi Gislason wrote: > The file "drivers/rtc/rtc_cmos.c" needs CONFIG_HPET to get linked. > > Compiling shows this as last output: > > LD init/built-in.o > > Corresponding error output: > > drivers/bui

Re: [PATCH] pciehp: Add pciehp_surprise module option

2013-03-22 Thread Michal Marek
On 20.3.2013 20:08, Takashi Iwai wrote: > At Wed, 20 Mar 2013 12:09:13 -0600, > Alex Williamson wrote: >> >> On Wed, 2013-03-20 at 15:02 +0100, Takashi Iwai wrote: >>> We encountered a problem that on some HP machines the Realtek PCI-e >>> card reader device appears only when you inserted a card be

Re: [PATCH] pciehp: Add pciehp_surprise module option

2013-03-22 Thread Michal Marek
On 22.3.2013 17:16, Matthew Garrett wrote: > On Fri, Mar 22, 2013 at 05:15:04PM +0100, Michal Marek wrote: > >> Alex, Matthew, would it work for you to have this debug / band-aid >> option _and_ have a list of either machines' dmi strings that have this >> problem,

Re: [PATCH] scripts/coccinelle/misc/warn.cocci: use WARN

2013-08-15 Thread Michal Marek
On 12.8.2013 15:21, Julia Lawall wrote: > From: Julia Lawall > > Use WARN(1,...) rather than printk followed by WARN(1). > > Signed-off-by: Julia Lawall > > --- > scripts/coccinelle/misc/warn.cocci | 109 > + > 1 file changed, 109 insertions(+) Hi Julia,

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

2013-08-16 Thread Michal Marek
On 15.8.2013 23:17, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Hello Michal, > > Please pull a few more changes queued for 3.12 since your last pull: > > - POSIX compliance when using sed in scripts/config(CLément) > - use 'long long' to represent hex and ranges, so their width >

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

2013-08-16 Thread Michal Marek
On 11.8.2013 23:39, Yann E. MORIN wrote: > On 2013-08-09 13:42 +0200, Sam Ravnborg spake thusly: >> If we drop the special handling of "MODULES" and introduced >> the following in we may fix it - hopefully: >> >> config MODULES >> option modules >> >> The option handling is already in place. I

Re: howto make define seen in all files?

2013-08-19 Thread Michal Marek
Dne 18.8.2013 05:56, l...@tigusoft.pl napsal(a): > Hi, I want to provide a general defined macro like __MY__TIME__ (for > determinictic build) and that symbol should be seen as #define or -D... to > gcc > in all files; > > Value of __MY_TIME__ is determined once, at start of build. > > I was u

Re: [PATCH] arm, kbuild: make "make install" not depend on vmlinux

2013-07-18 Thread Michal Marek
t the first time. > > So Michal (or ARM people - whoever wants to take the patch), just take > my ack. No objections. I can add it to the kbuild tree if needed. Otherwise you can add Acked-by: Michal Marek . Michal -- To unsubscribe from this list: send the line "unsubscribe li

Warnings from silentoldconfig (Re: [GIT PULL] PCI updates for v3.11)

2013-08-05 Thread Michal Marek
m' invalid for > HOTPLUG_PCI > > but that may be a build system issue with stale data from the > *previous* "make allmodconfig". Regardless, that makes me worried. > > Adding Michal Marek to the discussion. I'm currently doing a new "make > allmodconfig

Re: Warnings from silentoldconfig (Re: [GIT PULL] PCI updates for v3.11)

2013-08-06 Thread Michal Marek
On 6.8.2013 00:58, Yann E. MORIN wrote: > On 2013-08-05 10:39 +0200, Michal Marek spake thusly: >> Added Yann and the linux-kbuild list to CC. Reproducer: >> >> git checkout 1fe0135 >> make mrproper >> make allmodconfig >> make silentoldcon

Re: Problem using gtags target

2013-07-23 Thread Michal Marek
On 8.7.2013 19:22, Punit Agrawal wrote: > Hi, > > I am trying to use GNU global for kernel source browsing but have run > into a problem when using "gtags" target in Makefile. The index > files(GTAGS, GSYMS, GPATH, GRTAGS) don't work and on further > investigation turned out to be 16kb each in siz

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

2013-07-23 Thread Michal Marek
On 17.7.2013 11:59, Jean Delvare wrote: > Le Tuesday 16 July 2013 à 22:39 +0200, Yann E. MORIN a écrit : >> From: "Yann E. MORIN" >> >> Hello Michal, >> >> Please pull these post-rc1 kconfig cleanups, all after >> review and comments by Jean: >> - simplify and cleanup the symbol-search code >>

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

2013-07-23 Thread Michal Marek
Yann E. MORIN wrote: > Michal, All, > > On Tuesday 23 July 2013 15:37:37 Michal Marek wrote: >> It does look good indeed. But I am wondering if it's necessary for 3.11. >> AFAICS the only user-visible changes are >> >> [PATCH 1/6] Documentation/kco

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver

2013-07-25 Thread Michal Marek
On 25.7.2013 10:28, Frank Haverkamp wrote: > + dev_info(&pci_dev->dev, "GenWQE driver version: %s (build %s) %s%u\n", > + DRV_VERS_STRING, __DATE__, GENWQE_DEVNAME, cd->card_idx); [...] > + len += scnprintf(&buf[len], PAGE_SIZE - len, > + "GenWQE driver ver

Re: [PATCH] scripts: remove unused function in sortextable.c

2013-07-25 Thread Michal Marek
On Mon, Jul 15, 2013 at 09:55:56AM -0700, David Daney wrote: > On 07/10/2013 11:03 AM, Ramkumar Ramachandra wrote: > >Cc: David Daney > >Cc: Michal Marek > >Signed-off-by: Ramkumar Ramachandra > > I haven't tested it, but it looks plausible. > > Acked-b

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver

2013-07-26 Thread Michal Marek
On 26.7.2013 14:20, Frank Haverkamp wrote: > Hi Michael, > > Am Donnerstag, den 25.07.2013, 15:21 +0200 schrieb Michal Marek: >> On 25.7.2013 10:28, Frank Haverkamp wrote: >>> + dev_info(&pci_dev->dev, "GenWQE driver version: %s (build %s) %s%u\n", &

Re: [PATCH] Handle non ABS crc symbols

2013-08-13 Thread Michal Marek
Added Rusty to CC. Dne 9.8.2013 21:45, Andi Kleen napsal(a): > From: Andi Kleen > > For some reason I managed to trick gcc into create CRC symbols that > are not absolute anymore, but weak. > > Make modpost handle this case. > > Andrew, this should fix the bizarre warning. Seems like a toolcha

Re: [PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool

2013-08-13 Thread Michal Marek
Dne 11.8.2013 23:05, Rasmus Villemoes napsal(a): > This semantic patch replaces "return {0,1};" with "return > {false,true};" in functions returning bool. > > Signed-off-by: Rasmus Villemoes > --- > v2: Simplified script, and eliminate whitespace mangling at the same > time. Thanks to Julia Lawal

Re: [PATCH] menuconfig: use config scripts to detect ncurses libs

2013-03-01 Thread Michal Marek
On 28.2.2013 19:16, Yann E. MORIN wrote: > On Thursday 28 February 2013 j...@gentoo.org wrote: >> This patch replaces the old heuristic for detection of ncurses libs for >> linking the ncurses menuconfig dialog by the use of the config scripts. >> This results in the requirement of ncurses version

Re: [PATCH - Regression] kbuild: fix make headers_check with make 3.80

2013-03-05 Thread Michal Marek
On 4.3.2013 21:36, Sam Ravnborg wrote: > Commit 10b63956 ("UAPI: Plumb the UAPI Kbuilds into the user header > installation and checking") introduced a dependency of make 3.81 > due to use of $(or ...) > > We do not want to lift the requirement to gmake 3.81 just yet... > Included are a straightfo

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