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

2012-11-27 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: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

2013-04-03 Thread Michal Marek
On 1.4.2013 11:28, Chris Clayton wrote: > Ping! > > This is still happening with 3.9-rc5. > > [chris:~/kernel/linux]$ make bzImage > ... > Kernel: arch/x86/boot/bzImage is ready (#14) > [chris:~/kernel/linux]$ make kernelrelease > scripts/kconfig/conf --silentoldconfig Kconfig > 3.9.0-rc5 > [chr

Re: [PATCH V7 REPOST] kbuild: create a rule to run the pre-processor on *.dts files

2013-01-29 Thread Michal Marek
en Warren > Acked-by: Simon Glass > Acked-by: Jean-Christophe PLAGNIOL-VILLARD > --- > Grant, back in mid-November, you said you'd make a decision on this in > the next couple of days, but I think this got overlooked. You can add Acked-by: Michal Marek . Or I can add it t

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

2013-01-30 Thread Michal Marek
On Thu, Jan 24, 2013 at 04:20:39PM +, Tiana Rakotovao Andriamahefa wrote: > Le jeudi 24 janvier 2013 à 11:36:31, Michal Marek a écrit : > > On 16.1.2013 13:26, Tiana Rakotovao Andriamahefa wrote: > > > I have checked it and found that the error was effectively fixed

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-01-31 Thread Michal Marek
On 31.1.2013 10:41, James Hogan wrote: > On architectures which have symbol prefixes, depmod emits lots of false > warnings like this: > > WARNING: $module.ko needs unknown symbol $symbol > > This is because depmod isn't being passed the -P > arguments to specify the symbol prefix to ignore. Thi

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-01-31 Thread Michal Marek
On 31.1.2013 11:50, James Hogan wrote: > Hi Michal, > > On 31/01/13 10:37, Michal Marek wrote: >> On 31.1.2013 10:41, James Hogan wrote: >>> On architectures which have symbol prefixes, depmod emits lots of false >>> warnings like this: >>> >>&g

Re: qt3 and ptrdiff_t build error

2013-01-24 Thread Michal Marek
On 16.1.2013 13:26, Tiana Rakotovao Andriamahefa wrote: > I have checked it and found that the error was effectively fixed in the last > maintained upload of Qt3 in 2011. However, the correction is not yet in Wheezy > (Debian testing) which I have used for more than a year. It might be > included t

Re: [PATCH] Add Intel Ivy bridge CPU flags

2013-01-24 Thread Michal Marek
On Wed, Jan 23, 2013 at 06:43:17PM +0100, Alec Bickerton wrote: > Hi, > > I'd like to submit the attached patch to add Ivy Bridge processor support to > the > processor type menu in menuconfig. Setting this configures the appropriate > CFLAGS (core-avx-i) for ivy bridge. > > As this is my first

Re: [PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2013-01-24 Thread Michal Marek
On 23.1.2013 22:41, Peter Senna Tschudin wrote: > ping pong I added the patch to kbuild.git#misc now, sorry for the delay. 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.k

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

2013-01-24 Thread Michal Marek
Dne 24.1.2013 16:17, David Howells napsal(a): > Michal Marek wrote: > >> +our ($opt_v, $opt_a); > > Should this be 'our' or 'my'? These are global variables set by getopts(), so they need to be declared 'our'. But I can change it to use the tw

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

2013-01-24 Thread Michal Marek
Make the script usable without a .config file. Signed-off-by: Michal Marek --- v2: Add the hash algorithm as the first positional argument --- Makefile |2 +- scripts/sign-file | 53 - 2 files changed, 17 insertions(+), 38

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

2013-01-24 Thread Michal Marek
ned-off-by: Michal Marek --- No changes in v2 --- Makefile |2 +- init/Kconfig | 11 +++ 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0e7e736..e2027b2 100644 --- a/Makefile +++ b/Makefile @@ -719,7 +719,7 @@ endif # INSTALL_MOD_STR

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

2013-01-24 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 --- v2: Use two-argument version of getopts to avoid

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

2013-01-24 Thread Michal Marek
Signed-off-by: Michal Marek --- v2: Check in kernel/Makefile that CONFIG_MODULE_SIG_HASH is set --- init/Kconfig|9 + kernel/Makefile | 22 +++--- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index 6fdd6e3

Re: [PATCH] mod/file2alias: make modalias generation safe for cross compiling

2013-01-24 Thread Michal Marek
Dne 20.1.2013 17:58, Andreas Schwab napsal(a): > Use the target compiler to compute the offsets for the fields of the > device_id structures, so that it won't be broken by different alignments > between the host and target ABIs. > > This also fixes missing endian corrections for some modaliases. >

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

2013-01-25 Thread Michal Marek
David Howells wrote: >Michal Marek wrote: > >> 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 &

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

2013-02-24 Thread Michal Marek
On Mon, Dec 17, 2012 at 05:12:51PM -0800, r...@landley.net 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-2008 shell script implementation. The new shell script i

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

2013-02-25 Thread Michal Marek
On 25.2.2013 00:56, Stephen Rothwell wrote: > Hi Michal, > > After merging the kbuild tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > scripts/link-vmlinux.sh: line 135: .: .config: file not found > > Presumably caused by commit 03b25b47e0f4 ("scripts/link-vmlinux

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

2013-02-25 Thread Michal Marek
On 25.2.2013 11:58, Stephen Rothwell wrote: > -- > $ ls -l /bin/sh > lrwxrwxrwx 1 root root 4 Jul 7 2010 /bin/sh -> bash > $ bash --version > GNU bash, version 4.2.20(1)-release (x86_64-pc-linux-gnu) [...] > But bash in sh mode d

[PATCH] kbuild: Fix reading of .config in link-vmlinux.sh

2013-02-25 Thread Michal Marek
The shell '.' command is not required to search the current directory as a fallback and in fact newer versions of bash in sh-mode do not do this. Force reading the file from the current directory if $KCONFIG_CONFIG contains no '/'. Reported-by: Stephen Rothwell Signed-

Re: [PATCH] kbuild: Fix reading of .config in link-vmlinux.sh

2013-02-25 Thread Michal Marek
On 25.2.2013 13:54, Michal Marek wrote: > The shell '.' command is not required to search the current directory as > a fallback and in fact newer versions of bash in sh-mode do not do this. > Force reading the file from the current directory if $KCONFIG_CONFIG > contains no

Re: [PATCH 1/1] scripts/package/builddeb: build perftools package.

2013-02-26 Thread Michal Marek
Added Maximilian to CC. Michal On 26.2.2013 02:30, Gary Lowell wrote: > This will build a linux-tools-$version package for each build that includes > perf. We've been using this for internal builds and other folks might find > it helpful. > > Signed-off-by: Gary Lowell > --- > scripts/package

[GIT] kbuild changes for v3.9-rc1

2013-02-27 Thread Michal Marek
(1): scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG Michal Marek (1): kbuild: Fix reading of .config in link-vmlinux.sh Makefile |6 +- include/linux/mod_devicetable.h | 58 +--- kernel/Makefile | 16 +- kernel

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

2013-02-27 Thread Michal Marek
Hi Linus, these are the non-critical kbuild changes for v3.9-rc1: * Fix for make TAGS * Fix for make rpm * Some new coccinelle semantic patches Please pull, thanks. Michal The following changes since commit a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565: Linux 3.8-rc1 (2012-12-21 17:19:00 -0800)

[GIT] kconfig changes for v3.9-rc1

2013-02-27 Thread Michal Marek
1:57 +0100) Alan Cox (1): kconfig: Fix malloc handling in conf tools Ben Hutchings (1): kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new Krzysztof Mazur (1): menuconfig: fix extended colors ncurses support Michal Marek (3)

Re: [PATCH 1/3] kbuild, deb-pkg: Try to determine distribution

2013-02-27 Thread Michal Marek
Sorry I missed this series. Max, can you have a look? I don't know the policies for debian package changelogs. The full series is at http://lkml.indiana.edu/hypermail/linux/kernel/1204.2/index.html#04252, but the remaining two patches are obvious. Michal On 24.4.2012 00:16, Sedat Dilek wrote: > S

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

2013-02-28 Thread Michal Marek
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-2008 shell script implementation. The new shell script is a single > for loop calli

Re: [PATCH 0/3] build linux-next without perl

2013-02-28 Thread Michal Marek
On 27.2.2013 22:51, Andrew Morton wrote: > It'll need to be reasonably good motivation, too. Because not only do > we need to patch the kernel, we also need to *maintain* its > perl-freeness and fix up perlisms as they later get added by others. > > (Perhaps one way of doing this would be to disa

Re: [patch 1/2] kcmp: Make it to depend on CONFIG_KCMP

2013-02-19 Thread Michal Marek
On 19.2.2013 07:48, Cyrill Gorcunov wrote: > --- linux-2.6.git.orig/init/Kconfig > +++ linux-2.6.git/init/Kconfig > @@ -279,6 +279,15 @@ config FHANDLE > get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2) > syscalls. > > +config KCMP > + bool "kcmp syscall" > +

Re: [PATCH] Unset LANG in setlocalversion script

2013-02-21 Thread Michal Marek
Dne 21.2.2013 13:49, Christophe Leroy napsal(a): > This patch allows the use of setlocalversion script regardless of the LANG > parameter. Otherwise, the `svn info 2>/dev/null | grep '^Last Changed Rev'` > returns nothing because for instance, in French the text 'Last Changed Rev' > is replaced by

Re: [PATCH] scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG

2013-02-22 Thread Michal Marek
On Tue, Jan 08, 2013 at 07:05:26PM +0100, Michael Grzeschik wrote: > Its possible to superseed the config file with KCONFIG_CONFIG and have > completely no .config in the tree. The current script is sourcing > .config in every case, so the kernel will never build succesfully. This > patch fixes tha

Re: [PATCH] kbuild: clear KBUILD_SRC when calling 'make' in RPM spec

2013-02-22 Thread Michal Marek
On Sat, Jan 12, 2013 at 10:19:19AM -0500, David R. Bild wrote: > From: "David R. Bild" > > 'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is > read-only. Specifically, when the RPM spec generated by > scripts/package/mkspec is run, KBUILD_SRC happens to be set to the > source l

Re: [PATCH 1/1] scripts/package/Makefile: remove useless KBUILD_OUTPUT test

2013-02-22 Thread Michal Marek
On Mon, Jan 21, 2013 at 03:28:05PM +0800, Bin Wang wrote: > The test of KBUILD_OUTPUT in "rpm-pkg rpm" target is useless. > KBUILD_OUTPUT is always empty here. Right, but the error message is valid, make rpm-pkg does not work with O=. So I suggest to either fix make O=... rpm-pkg, or fix the test

Re: [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment

2013-02-22 Thread Michal Marek
On Wed, Jan 23, 2013 at 08:06:30PM -0200, Peter Senna Tschudin wrote: > There are error-prone memcpy() that can be replaced by struct > assignment that are type-safe and much easier to read. This semantic > patch looks for memcpy() that can be replaced by struct assignment. > > Inspired by patches

Re: [PATCH 2 1/2] coccicheck: Allow the user to give a V= (verbose) argument

2013-02-22 Thread Michal Marek
On Tue, Jan 29, 2013 at 05:03:37PM +0100, Bernd Schubert wrote: > Do not run with verbosity on/off depending on the ONLINE variable, > which gets set with C=1 or C=2, but allow the user to set the > verbosity using kernel default make V= paramemter. > Verbosity is off by default now. On Tue, Jan 2

Re: [PATCH] scripts/coccinelle: find constant additions that could be bit ors

2013-02-22 Thread Michal Marek
On Sat, Feb 02, 2013 at 05:19:55PM +0100, Julia Lawall wrote: > From: Julia Lawall > > Semantic patch (http://coccinelle.lip6.fr/) to check for constants that are > added but are used elsewhere as bitmasks. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Michal -- To unsubscribe f

Re: [PATCH] kbuild: Fix destination-y for installed headers

2013-02-22 Thread Michal Marek
t; > Just move the assignment of the variable that uses it below the include > of the Kbuild fragment. > > Signed-off-by: Jesper Nilsson > Cc: Michal Marek > Cc: David Howells > --- > Makefile.headersinst |6 +++--- > 1 file changed, 3 insertions(+), 3 deletion

Re: [PATCH v2 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-02-22 Thread Michal Marek
BOL_PREFIX)" to scripts/depmod.sh. > > If the provided symbol prefix is non-empty, scripts/depmod.sh checks if > depmod --version reports module-init-tools with a version number < 3.13 > otherwise it appends -P $SYMBOL_PREFIX to the depmod command line. > > Signed-off-by:

Re: [PATCH] Kbuild: Disable var tracking with CONFIG_DEBUG_INFO_REDUCED

2013-02-22 Thread Michal Marek
On Thu, Feb 07, 2013 at 01:58:40PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Newer gcc enables the var-tracking pass with -g to keep track which > registers contain which variables. This is one of the slower passes in gcc. > > With reduced debug info (aimed at objdump -S, but not using a f

Re: [PATCH v2] Unset langage specific variables in setlocalversion script

2013-02-22 Thread Michal Marek
On Fri, Feb 22, 2013 at 09:59:18AM +0100, Christophe Leroy wrote: > This patch allows the use of setlocalversion script regardless of the language > parameters. Otherwise, the `svn info 2>/dev/null | grep '^Last Changed Rev'` > returns nothing because for instance, in French the text 'Last Changed

Re: [RFC] kconfig/mconf.c: revision of curses initialization.

2012-08-30 Thread Michal Marek
On Mon, Aug 06, 2012 at 05:19:43PM +0200, Dirk Gouders wrote: > Hello, > > I noticed that in mconf, initscr() is called twice -- as far as I found > out since commit d0e1e09568. > > In case you see a need to fix that: > > I first thought about simply removing the call in init_dialog() in > util.

Re: [PATCH] firmware: fix directory creation rule matching with make 3.82

2012-08-30 Thread Michal Marek
On Wed, Aug 08, 2012 at 01:14:36PM -0400, Mark Asselstine wrote: > Attempting to run 'firmware_install' with CONFIG_USB_SERIAL_TI=y when > using make 3.82 results in an error > > make[2]: *** No rule to make target `/lib/firmware/./', needed by > `/lib/firmware/ti_3410.fw'. Stop. > > It turns ou

Re: Failure while make modules_install if kmod was compiled with --with-rootprefix set

2012-08-30 Thread Michal Marek
On 10.8.2012 23:50, Arokux B. wrote: > Dear Mr. Marek, dear all, > > I have detected a hidden failure while building the kernel. If > --with-rootprefix is set for kmod, then depmod will look for modules > installed at the location $ROOTPREFIX/lib/modules/. The > kernel build system does not know a

Re: [PATCH] Add mach-specific includes

2012-08-31 Thread Michal Marek
Adding Max. On 12.8.2012 11:47, Tzafrir Cohen wrote: > When building a deb package, the linux-headers package should also > add arch/$ARCH/mach-*/include Required for arm and probably some > other architectures: avr32 and blackfin. > > This is needed to allow building modules using the headers pa

Re: [PATCH] builddeb: remove unneeded explicit Architecture

2012-08-31 Thread Michal Marek
Adding Max to CC. On 14.8.2012 12:44, Tzafrir Cohen wrote: > Architecture was set explicitly in debian/control for one of the three > packages (linux-libc-dev) but not for the other two. When cross-building > it gives me an error: > > dpkg-gencontrol: error: current host architecture 'armhf' do

Re: [PATCH] kbuild: Remove useless warning while appending KCFLAGS

2012-08-31 Thread Michal Marek
On Tue, Aug 14, 2012 at 07:00:54PM +0300, Ozan Çağlayan wrote: > This is a respin of an older patch sent by Sam Ravnborg: > http://www.gossamer-threads.com/lists/linux/kernel/1530602 > > This patch removes the annoying warning: > > Makefile:708: "WARNING: Appending $KCFLAGS (-Wno-sign-compare)

Re: [PATCH 20/25] MODSIGN: Provide module signing public keys to the kernel

2012-08-31 Thread Michal Marek
On 16.8.2012 03:37, David Howells wrote: > +asm(".section .init.data,\"aw\"\n" > +"modsign_public_keys:\n" > +".incbin \"modsign.pub\"\n" > +"modsign_public_keys_end:" > +); > + > +/* > + * We need to make sure ccache doesn't cache the .o file as it doesn't notice > + * if modsign.p

Re: [Cocci] [PATCH] scripts/coccinelle: ptr_ret: Add ternary operator version

2012-08-31 Thread Michal Marek
On Tue, Aug 21, 2012 at 11:06:35AM +0200, Julia Lawall wrote: > > > On Tue, 21 Aug 2012, Lars-Peter Clausen wrote: > > > Add a ternary operator version of the open-coded PTR_RET(). > > > > Signed-off-by: Lars-Peter Clausen > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc, thanks.

Re: [PATCH] [Signed-off] kconfig: document oldnoconfig to what it really does in conf.c

2012-08-31 Thread Michal Marek
On Wed, Aug 22, 2012 at 09:45:19PM +0800, Adam Lee wrote: > On Fri, Aug 17, 2012 at 02:57:28PM +0800, Adam Lee wrote: > > As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, the make target > > 'oldnoconfig' is a misnomer. It doesn't set new symbols to 'n', but > > instead sets it to their default va

Re: scripts/tags.sh: Add magic for pci access functions

2012-08-31 Thread Michal Marek
On Fri, Aug 24, 2012 at 01:50:28PM +0400, Kirill Tkhai wrote: > scripts/tags.sh: Add magic for pci access functions > > Make [ce]tags find the pci_bus_read_config_* and pci_bus_write_config_* > definitions > > Signed-off-by: Kirill Tkhai Applied to kbuild.git#misc, thanks. Michal -- To unsubsc

Re: [PATCH] scripts/Makefile.modpost: error in finding modules from .mod files.

2012-08-31 Thread Michal Marek
On Wed, Aug 29, 2012 at 10:58:12PM +0900, 이건호 wrote: > This error may happen when the user's id or path includes .ko string. > For example, user's id is xxx.ko and building test.ko module, > the test.mod file lists ko name and all object files. >/home/xxx.ko/kernel_dev/device/drivers/test.ko >

Re: [PATCH 20/74] x86, lto: Change dotraplinkage into __visible on 32bit

2012-09-01 Thread Michal Marek
Dne 19.8.2012 04:56, Andi Kleen napsal(a): > From: Andi Kleen > > Mark 32bit dotraplinkage functions as __visible for LTO. > 64bit already is using asmlinkage which includes it. You can make it __visible on both 32bit and 64bit, the result is the same. Michal -- To unsubscribe from this list: s

Re: [PATCH 44/74] lto: Mark functions used by the vsyscall init code visible

2012-09-01 Thread Michal Marek
Dne 19.8.2012 04:56, Andi Kleen napsal(a): > From: Andi Kleen > > The vsyscall code is compiled without LTO. This also includes > its init function. The function which are called by it have > to be visible, otherwise they could be optimized away > > Signed-off-by: Andi Kleen > --- > drivers/ch

[GIT] kbuild rc fixes for v3.6

2012-09-03 Thread Michal Marek
..BRANCH.NOT.VERIFIED.. Mark Asselstine (1): firmware: 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 deletion

Re: [PATCH 01/10] Makefile: Add option CONFIG_DISABLE_GCC_AUTOMATIC_INLINING

2012-09-13 Thread Michal Marek
Dne 13.9.2012 02:30, Ezequiel Garcia napsal(a): > Hi, > > On Sun, Sep 9, 2012 at 6:25 PM, David Rientjes wrote: >> On Sat, 8 Sep 2012, Ezequiel Garcia wrote: >> >>> diff --git a/Makefile b/Makefile >>> index ddf5be9..df6045a 100644 >>> --- a/Makefile >>> +++ b/Makefile >>> @@ -561,6 +561,10 @@ el

Re: [PATCH v3] kbuild: Fix gcc -x syntax

2012-10-03 Thread Michal Marek
On 2.10.2012 16:42, Jean Delvare wrote: > The correct syntax for gcc -x is "gcc -x assembler", not > "gcc -xassembler". Even though the latter happens to work, the former > is what is documented in the manual page and thus what gcc wrappers > such as icecream do expect. > > This isn't a cosmetic c

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

2012-10-25 Thread Michal Marek
On 22.10.2012 21:38, Yann E. MORIN wrote: > Benjamin, Michal, All, > > On Sunday 21 October 2012 Benjamin Poirier wrote: >> From: Benjamin Poirier >> >> sys/queue.h and CIRCLEQ in particular have proven to cause portability >> problems (reported on Debian Sarge, Cygwin and FreeBSD) > > Benjamin,

Re: [PATCH] kbuild: fix xargs error on make distclean

2012-10-25 Thread Michal Marek
On 23.10.2012 03:32, Fengguang Wu wrote: > /usr/bin/xargs: unmatched single quote; by default quotes are special to > xargs unless you use the -0 option > > Signed-off-by: Fengguang Wu > --- > Makefile |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makef

Re: [PATCH] scripts/patch-kernel fix

2012-07-26 Thread Michal Marek
On 19.7.2012 23:49, Daniel Wisehart wrote: > diff --git a/scripts/patch-kernel b/scripts/patch-kernel > index d000ea3..a7672eb 100755 > --- a/scripts/patch-kernel > +++ b/scripts/patch-kernel > @@ -226,7 +226,7 @@ fi > > # This all assumes a 2.6.x[.y] kernel tree. > # Don't allow backwards/reve

Re: [PATCH v2 2/2] nconf: add u, d command keys in scroll windows

2012-07-26 Thread Michal Marek
On Tue, Jul 24, 2012 at 04:12:03PM -0400, Benjamin Poirier wrote: > They function just like they do in less(1). > Also correct some discrepancy between the help text and the code wrt > function keys. > > Signed-off-by: Benjamin Poirier Applied to kbuild.git#kconfig, thanks. Michal -- To unsubsc

Re: [PATCH v2 5/5] scripts/tags.sh: Teach [ce]tags about libtraceeevent error codes

2012-07-26 Thread Michal Marek
On Mon, Jun 18, 2012 at 11:50:51AM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > As we use a macro trick to sync each error codes with its > description string, teach [ce]tags to process them properly. > > Suggested-by: Steven Rostedt > Cc: Frederic Weisbecker >

Re: kbuild: Document oldnoconfig to what it really does

2012-07-26 Thread Michal Marek
On Fri, Jun 15, 2012 at 07:24:59PM -0400, Steven Rostedt wrote: > The make target 'oldnoconfig' is a misnomer. It doesn't set new symbols > to 'n', but instead sets it to their default values. > > Unfortunately, assuming that it actually did this, broke ktest in some > of its tests. For example, t

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

2012-07-27 Thread Michal Marek
0x0a5c Broadcom Corp. idProduct 0x21f1 bcdDevice1.12 iManufacturer 1 Broadcom Corp iProduct2 BCM20702A0 iSerial 3 9CB70DCFF833 bNumConfigurations 1 Signed-off-by: Michal Marek --- drivers/bluetooth/btusb.c

[GIT] kbuild fix for v3.6-rc1

2012-07-30 Thread Michal Marek
available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git kbuild Michal Marek (1): kbuild: Print errors to stderr Makefile| 24 scripts/link-vmlinux.sh |4 ++-- 2 files changed, 14 insertions(+), 14 deletions

[GIT] kconfig changes for 3.6-rc1

2012-07-30 Thread Michal Marek
in Poirier (2): menuconfig: add u, d, q command keys in text boxes nconf: add u, d command keys in scroll windows Cody Schafer (1): kconfig: allow long lines in config file Michal Marek (1): kconfig: Print errors to stderr in the Makefile Paul Bolle (1): kconf

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

2012-07-30 Thread Michal Marek
Hi Linus, this is the non-critical part of kbuild for v3.6-rc1: * Two new coccinelle semantic patches * New scripts/tags.sh regexp * scripts/config improvements that I mistakenly applied here instead of in the kconfig branch (but there are no conflicts) * Debian packaging fixes Thanks, Michal

[GIT] kbuild treewide cleanup

2012-07-30 Thread Michal Marek
Hi Linus, Paul Bolle did a cleanup of headers in various architectures. Because the patch touch several architectures at once, it was easiest for me to apply them to the kbuild tree. Thanks, Michal The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f: Linux 3.5-rc1 (2

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

2012-07-31 Thread Michal Marek
: Ad=84(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none) Signed-off-by: Michal Marek --- drivers/bluetooth/btusb.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btusb.c b

Re: [PATCH] x86/kbuild: archscripts depends on scripts_basic

2012-09-21 Thread Michal Marek
On Thu, Sep 20, 2012 at 10:28:45AM -0400, Jeff Mahoney wrote: > While building the SUSE kernel packages, which build the scripts, > make clean, and then build everything, we have been running into spurious > build failures. We tracked them down to a simple dependency issue: > > $ make mrproper >

[GIT] kbuild rc fixes

2012-09-23 Thread Michal Marek
Hi Linus, there are two more kbuild fixes for 3.6. One fixes a race between x86's archscripts target and the rule (re)building scripts/basic/fixdep. The second is a fix for the previous attempt at fixing make firmware_install with make 3.82. This new solution should work with any version of GNU ma

[PATCH] kbuild: Do not package /boot and /lib in make tar-pkg

2012-09-25 Thread Michal Marek
There were reports of users destroying their Fedora installs by a kernel tarball that replaces the /lib -> /usr/lib symlink. Let's remove the toplevel directories from the tarball to prevent this from happening. Reported-by: Andi Kleen Suggested-by: Ben Hutchings Signed-off-by: Mich

Re: IRQ subsystem menu

2012-10-29 Thread Michal Marek
(Adding lkml and Thomas as IRQ subsystem maintainer to CC) On Sun, Oct 21, 2012 at 03:40:16AM -0400, Paul Thompson wrote: > Hi; > > In menuconfig, General setup -> IRQ subsystem, there are two > possible menu-items. One depends partly on IRQ_DOMAIN, and the other > on MAY_HAVE_SPARSE_

[PATCH] kbuild: Do not overwrite include/config/kernel.release needlessly

2013-08-27 Thread Michal Marek
Use filechk to detect if the content changed or not. Signed-off-by: Michal Marek --- Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e3575c..3aa232f 100644 --- a/Makefile +++ b/Makefile @@ -794,10 +794,13 @@ PHONY += $(vmlinux-dirs

Re: [PATCH v2 4/5] scripts/checkkconfigsymbols.sh: replace echo -e with printf

2013-08-28 Thread Michal Marek
On Fri, Aug 23, 2013 at 12:25:24AM +0400, Max Filippov wrote: > -e is a non-standard echo option, echo output is > implementation-dependent when it is used. Replace echo -e > with printf as suggested by POSIX echo manual. > > Signed-off-by: Max Filippov > --- > scripts/checkkconfigsymbols.sh |

Re: Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it

2013-08-28 Thread Michal Marek
On 27.8.2013 21:05, Yang, Fei wrote: >>> From: Fei Yang >>> Date: Mon, 26 Aug 2013 11:21:48 -0700 >>> Subject: [PATCH] FIXDEP: error opening depfile >>> >>> Met a kernel build issue where fixdep fails to open a depfile, >>> fixdep: error opening depfile: drivers/driver-name/.driver-code.o.d: >>

Re: Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it

2013-08-28 Thread Michal Marek
On 28.8.2013 17:07, Michal Marek wrote: > Are you able to reproduce this with the vanilla kernel? If so, details > please. If not, then this can be something with your module's build > system. Are you using anything fancier than > > $ cat Makefile > obj-m += my-module.o &g

Re: [PATCH] kbuild: Do not overwrite include/config/kernel.release needlessly

2013-08-28 Thread Michal Marek
On 27.8.2013 15:53, Michal Marek wrote: > Use filechk to detect if the content changed or not. > > Signed-off-by: Michal Marek > --- > Makefile | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) I merged this to kbuild.git#kbuild now. Thanks, Michal -- To uns

Re: Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it

2013-08-28 Thread Michal Marek
Dne 28.8.2013 18:27, Yang, Fei napsal(a): > I thought fixdep is about finding module dependency, and it isn't > needed for built-in drivers. Please correct me if I'm wrong. fixdep filters the *.d files generated by gcc. These files record source -> object file dependencies, to not miss rebuilds.

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

2013-10-02 Thread Michal Marek
Dne 30.9.2013 19:01, Yann E. MORIN napsal(a): > From: "Yann E. MORIN" > > Michal, > > Please pull these two changes for 3.12-rc: > - a fix for "make install" on ARM, by Robert Richter, acked by Linus > and yourself; I cherry-picked this commit to kbuild.git#rc-fixes. > - a fix for "ma

[GIT] kconfig changes for v3.11-rc1

2013-07-10 Thread Michal Marek
Hi Linus, please pull these kconfig commit for v3.11-rc1: - dependency solver fix for make defconfig - randconfig fixes, one of which had to be reverted again - more user-friendly sorting of search results - hex and range keywords support longs - fix for [mn]conf not to rely on particular behavio

[GIT] kbuild changes for v3.11-rc1

2013-07-10 Thread Michal Marek
Hi Linus, please pull the kbuild bits for v3.11-rc1: - fix for make headers_install argv explosion with too long path - scripts/setlocalversion does not call git update-index needlessly - fix for the src.rpm produced by make rpm-pkg. The new make image_name can be useful also for other packagin

[GIT] coccinelle updates for v3.11-rc1

2013-07-10 Thread Michal Marek
Hi Linus, the misc branch is reserved for Coccinelle this time: - 'report' is the default mode - MAINTAINERS update for Coccinelle - documentation udate - use new option format for spatch(1) - J= variable to mimic make -j for coccicheck - check for missing pci_free_consistent() calls There are s

Re: [PATCH] menuconfig: Allow j/k to move down/up the menu

2013-07-10 Thread Michal Marek
Dne 9.7.2013 01:08, Sören Brinkmann napsal(a): > On Sat, Jul 06, 2013 at 06:00:05PM -0500, Rob Landley wrote: >> On 07/05/2013 06:32:59 AM, Ramkumar Ramachandra wrote: >>> Like in Vim. >>> >>> Cc: Michal Marek >>> Signed-off-by: Ramkumar Ramachandra

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

2013-07-11 Thread Michal Marek
Yeah. It also reveals another bug that we rewrite the kernel.release file each time. This patch should fix it, but please do not apply it yet: >From f522eef24216f229c82b6bbb55f326814db2bac0 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Thu, 11 Jul 2013 15:34:51 +0200 Subject: [PATCH] kbuild: Do not

Re: [PATCH] modpost: Fix secondary errors seen if a single module build fails

2013-09-17 Thread Michal Marek
Dne 15.9.2013 06:39, Guenter Roeck napsal(a): > Commit ea4054a23 (modpost: handle huge numbers of modules) added > support for building a large number of modules. > > Unfortunately, the commit changed the semantics of the makefile: Instead of > passing only existing object files to modpost, make n

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-04 Thread Michal Marek
Dne 3.9.2013 23:12, Yann E. MORIN napsal(a): > Doh... I forgot to send an intro mail first. Seems holidays really were > a good break! :-) :-) > Anyway, this series might be a bit late to go in for 3.12, but it has > previously been discussed with you and Sam. > > If you feel it's too touchy fo

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 3.9.2013 23:04, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > Currently, the 'MODULES' symbol is hard-coded to be the default symbol > that enables/disables tristates, if no other symbol was declared with > 'option modules'. > > While this used to be needed for the Linux kernel, we now hav

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-05 Thread Michal Marek
On 5.9.2013 11:38, Michal Marek wrote: > On 3.9.2013 23:04, Yann E. MORIN wrote: >> From: "Yann E. MORIN" >> This patch changes the way we enable/disable tristates: if a symbol was >> found with 'option modules' attached to it, then that symbol controls &g

Re: [PATCH 1/3] kconfig: do not special-case 'MODULES' symbol

2013-09-06 Thread Michal Marek
On 6.9.2013 11:47, Yann E. MORIN wrote: > Michal, All, > > On 2013-09-05 11:38 +0200, Michal Marek spake thusly: >> On 3.9.2013 23:04, Yann E. MORIN wrote: >>> From: "Yann E. MORIN" >>> >>> Currently, the 'MODULES' symbol is hard-code

[GIT] kbuild updates for v3.12-rc1

2013-09-06 Thread Michal Marek
) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git kbuild Michal Marek (1): kbuild: Do not overwrite include/config/kernel.release needlessly Ramkumar Ramachandra (1): scripts: remove unused function in sortextable.c Makefile

[GIT] kbuild misc updates for v3.12-rc1

2013-09-06 Thread Michal Marek
Hi Linus, in the kbuild misc branch, I have: - make rpm-pkg updates, most importantly the rpm package now calls /sbin/installkernel - make deb-pkg: debuginfo split, correct kernel image path for parisc, mips and powerpc and a couple more minor fixes - New coccinelle check Thanks, Michal The

[GIT] kconfig updates for v3.12-rc1

2013-09-11 Thread Michal Marek
ymbol to have 'option modules' (2013-09-05 11:10:08 +0200) Clement Chauplannaz (1): scripts/config: use sed's POSIX interface Kees Cook (1): kconfig: switch to "long long" for sanity Michal Mare

Re: [PATCH 2/4] scripts/config: use sed's POSIX interface

2013-09-13 Thread Michal Marek
Dne 13.9.2013 11:54, Clément Chauplannaz napsal(a): > On Sep 13, 2013, at 11:32 AM, Linus Walleij wrote: > >> On Fri, Sep 13, 2013 at 10:38 AM, Clément Chauplannaz >> wrote: >> >>> Thank you for this report. I was able to reproduce this bug and fix it. >> >> Thanks! Tested and works fine. > Glad

[GIT] kconfig fix for v3.12-rc1

2013-09-13 Thread Michal Marek
Hi Linus, there is a fix for a regression caused by my previous pull request. A sed command in scripts/config that used colons as separator was accidentally changed to use slashes, which fails when you use slashes in a value. Changing it back to colons is of course not a proper fix, but at least i

[GIT] kbuild fix for 3.12

2013-10-08 Thread Michal Marek
Hi Linus, Here is an ARM Makefile fix that you even acked. After nobody wanted to take it, it ended up in the kbuild tree. Michal The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at:

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

2013-10-09 Thread Michal Marek
On 9.10.2013 09:18, Geert Uytterhoeven wrote: > On Mon, Sep 30, 2013 at 6:31 PM, Yann E. MORIN > wrote: >> On 2013-09-30 10:49 +0200, Robert Richter spake thusly: >>> On 18.07.13 11:22:24, Michal Marek wrote: >>>>> So Michal (or ARM people - whoever wants to

Re: Can anyone suggest a better fix? Not sure if I understand the problem, but the patch fixed it

2013-08-30 Thread Michal Marek
On 29.8.2013 19:55, Sam Ravnborg wrote: > Magic happens in Kbuild.include, Makefile.lib and Makefile.build. > But it make take some cup of coffee to grasp it. > > For find and fix whatever race condition you hit. BTW, there is a fix in 3.11 that might be relevant for you: commit 4d47dde47f7dd950

Re: [PATCH] kconfig: Make diffconfig work with Python 3

2013-09-03 Thread Michal Marek
On 29.8.2013 17:10, Johannes Thumshirn wrote: > On Wed, Aug 28, 2013 at 07:29:53AM -0700, Tim Bird wrote: >> On Fri, Aug 9, 2013 at 5:27 AM, Johannes Thumshirn >> wrote: >>> Adjust diffconfig to run cleanly on Python 3 (Tested with 3.3.2) and >>> Python 2 (2.7.5) >>> >>> Signed-off-by: Johannes Th

Re: [RFC V4 PATCH 00/15] Signature verification of hibernate snapshot

2013-09-26 Thread Michal Marek
On 26.9.2013 14:06, Pavel Machek wrote: > Actually... > > Is not it as simple as storing hash of hibernation image into NVRAM > and then verifying the hash matches the value in NVRAM on next > startup? No encryption needed. I think that part of the exercise is to minimize the number of writes to

Re: [PATCH] modpost: Fix secondary errors seen if a single module build fails

2013-09-25 Thread Michal Marek
On 18.9.2013 16:05, Guenter Roeck wrote: > To follow up on this - are you at the Linux Plumbers conference ? > If yes maybe we can meet briefly and discuss how to proceed. > I'd volunteer to create a patch to add the above functionality if > people think it is valuable, but I would like to keep it

  1   2   3   4   5   6   7   8   9   10   >