[tip:perf/core] tools build: Fix objtool build with clang

2016-12-06 Thread tip-bot for Peter Foley
Commit-ID: baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232 Gitweb: http://git.kernel.org/tip/baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232 Author: Peter Foley AuthorDate: Sun, 27 Nov 2016 21:43:46 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Dec 2016 15:51:42 -0300 tools build

Re: [PATCH v4] Fixes for compiling with clang

2016-12-01 Thread Peter Foley
On Tue, Nov 29, 2016 at 6:22 AM, Michal Marek wrote: > Dne 28.11.2016 v 07:44 Peter Foley napsal(a): > This adds new -Wno-* options also for the gcc case, is there a reason > for this? Also, the -Wno-missing-field-initializers option is not > available in some old gccs, so we would n

Re: [PATCHv3] tools build: Make fixdep parsing wait for last target

2016-12-01 Thread Peter Foley
_first_dep = 1; > - } else { > + has_target = 1; > + } else if (has_target) { > /* Save this token/filename */ > memcpy(s, m, p-m); > s[p - m] = 0; > -- > 2.7.4 > Acked-by: Peter Foley

Re: [PATCH v2] Fix objtool with clang

2016-11-28 Thread Peter Foley
On Mon, Nov 28, 2016 at 7:00 AM, Arnaldo Carvalho de Melo wrote: > After I applied this I started getting this: > > CC /tmp/build/perf/tests/sw-clock.o > /tmp/build/perf/.plugin_jbd2.o.cmd:3: *** empty variable name. Stop. > Makefile:192: recipe for target '/tmp/build/perf/plugin_jbd2-in.

[tip:x86/urgent] x86/build: Annotate die() with noreturn to fix build warning on clang

2016-11-27 Thread tip-bot for Peter Foley
Commit-ID: adee8705d2517f0e163ffc45e8d7f9e97a58f1f6 Gitweb: http://git.kernel.org/tip/adee8705d2517f0e163ffc45e8d7f9e97a58f1f6 Author: Peter Foley AuthorDate: Sat, 26 Nov 2016 17:22:29 -0500 Committer: Ingo Molnar CommitDate: Mon, 28 Nov 2016 07:47:22 +0100 x86/build: Annotate die

[PATCH v4] Fixes for compiling with clang

2016-11-27 Thread Peter Foley
ernel asm constructs. Changes from v1: * Move the $(cc-name) conditional below the definition of $(CC) Changes from v2: * Actually commit the changes in v2. Changes from v3: * HOSTCC is not guaranteed to be the same as CC, adjust accordingly. Signed-off-by: Peter Foley --- Makefile

[PATCH v2] Avoid nested function definition

2016-11-27 Thread Peter Foley
7;cmp' sort(p, n, sizeof(uint16_t), cmp, NULL); ^ 2 errors generated. v2: rename function to __bch_cache_cmp Signed-off-by: Peter Foley --- drivers/md/bcache/sysfs.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/

[PATCH v2] Fix objtool with clang

2016-11-27 Thread Peter Foley
Clang doesn't support multiple arguments being passed to -Wp, so split them. Fixes this error: HOSTCC tools/objtool/fixdep.o cat: tools/objtool/.fixdep.o.d: No such file or directory v2: rebased onto perf/core branch. Signed-off-by: Peter Foley --- tools/build/Build.include | 6 +++-

[PATCH] drivers/extcon: Fix incompatible pointer type warning

2016-11-27 Thread Peter Foley
const unsigned int *cable); ^ 1 error generated. Signed-off-by: Peter Foley --- include/linux/extcon/extcon-adc-jack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/extcon/extcon-adc-jack.h b/include/linux/

[PATCH] Fix multiple definition error under lto

2016-11-26 Thread Peter Foley
drivers/thermal/built-in.o: In function `type_show.lto_priv.33': (.text+0x3d80): multiple definition of `type_show.lto_priv.33' drivers/base/built-in.o:(.text+0x2a40): first defined here Signed-off-by: Peter Foley --- drivers/thermal/thermal_core.c | 4 ++-- 1 file changed, 2 insert

[PATCH] Avoid nested function definition

2016-11-26 Thread Peter Foley
7;cmp' sort(p, n, sizeof(uint16_t), cmp, NULL); ^ 2 errors generated. Signed-off-by: Peter Foley --- drivers/md/bcache/sysfs.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/md/bcache/sysfs.c b/drivers/md/bcac

[PATCH] Annotate die() with noreturn

2016-11-26 Thread Peter Foley
ize the variable 'do_reloc' to silence this warning const char *symname); ^ = NULL Signed-off-by: Peter Foley --- arch/x86/tools/relocs.h | 2 +- 1 file changed, 1 insertion(

[PATCH] Fix objtool with clang

2016-11-26 Thread Peter Foley
Clang doesn't support multiple arguments being passed to -Wp, so split them. Fixes this error: HOSTCC tools/objtool/fixdep.o cat: tools/objtool/.fixdep.o.d: No such file or directory Signed-off-by: Peter Foley --- tools/build/Build.include | 6 +++--- 1 file changed, 3 insertions(

[PATCH v3] Fixes for compiling with clang

2016-11-26 Thread Peter Foley
om v2: * Actually commit the changes in v2. Signed-off-by: Peter Foley --- Makefile | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 0ede48ba5aaf..94402cef6622 100644 --- a/Makefile +++ b/Makefile @@ -299,16 +299,6 @@ CONFIG_

[PATCH v2] Fixes for compiling with clang

2016-11-26 Thread Peter Foley
ff-by: Peter Foley --- Makefile | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 0ede48ba5aaf..b69ad7e4a6d2 100644 --- a/Makefile +++ b/Makefile @@ -299,16 +299,6 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; th

[PATCH] Fixes for compiling with clang

2016-11-25 Thread Peter Foley
Move definition of HOSTCC to allow use of cc-name. Suppress warnings about unsupported optimization options. Disable clang's integrated assembler which is incompatible with kernel asm constructs. Signed-off-by: Peter Foley --- Makefile | 23 +-- 1 file changed, 13 inser

Re: [PATCH] Documentation: Restrict TSC test code to x86

2014-10-27 Thread Peter Foley
On Mon, Oct 27, 2014 at 8:03 PM, Alexander Graf wrote: > The prctl test code in Documentation/ tries to show how to > use a call that only makes sense on x86. Restrict it there > so that other platforms don't try to call asm("rdtsc"). > > Signed-off-by: Alexande

Re: [PATCH] vdso: don't require 64-bit math in standalone test

2014-10-24 Thread Peter Foley
; > Commit adb19fb66ee (Documentation: add makefiles for more targets) is > now building this by default, so it's failing the kernel build entirely. > > Switching the declaration from uint64_t to time_t does the right thing > and handles the x32 case automatically. > > Signed-off

Re: [GIT PULL] doc for 3.18 merge window

2014-10-24 Thread Peter Foley
On Tue, Oct 21, 2014 at 10:45 AM, Jonathan Corbet wrote: > OK, I've applied the fix with the extra space suggested by Paul. You > should see it in the next linux-next. Thanks! Sorry for not respinning my patch sooner. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-22 Thread Peter Foley
On Wed, Oct 22, 2014 at 4:03 AM, Richard Cochran wrote: > In the mean time, I would like to restore the testptp.mk that *does* > cross compile, so that people may use the test program if they > want. In fact I use this all the time, and so I am a bit annoyed that > something working was deleted an

Re: [PATCH] Only build Documentation/ when not cross-compiling

2014-10-21 Thread Peter Foley
On Fri, Oct 17, 2014 at 9:53 AM, Peter Foley wrote: > Turns out this doesn't work if CROSS_COMPILE is set in the environment. > I'll send another version shortly. It seems there is more interested in cross-compiling Documentation than I anticipated, so please ignore this as

Re: [PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-21 Thread Peter Foley
On Tue, Oct 21, 2014 at 2:27 PM, Richard Cochran wrote: > On Tue, Oct 21, 2014 at 09:58:51AM -0700, David Daney wrote: >> What I don't understand is why we are using hostprogs in this >> Makefile. Isn't this a program that would run on the target, not >> the build host? > > Yes. > > Peter, could

Re: [PATCH] Only build Documentation/ when not cross-compiling

2014-10-17 Thread Peter Foley
On Wed, Oct 8, 2014 at 7:31 PM, Peter Foley wrote: > Don't build Documentation targets when cross-compiling. > They are only for build testing, and use the host headers and compiler > which can cause cross-compiles to fail. > Turns out this doesn't work if CROSS_COMPILE is

Re: [PATCH] arch/x86/purgatory/Makefile: supress kexec-purgatory.c is up to date message

2014-10-14 Thread Peter Foley
On Tue, Oct 14, 2014 at 12:46 AM, WANG Chao wrote: > Supress this unnecessary message during kernel re-build > (CONFIG_KEXEC_FILE=y): > > make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date. > > Signed-off-by: WANG Chao Acked-by: Peter Foley -- To unsubscribe f

[PATCH] scripts: don't source auto.conf for LOCALVERSION

2014-10-09 Thread Peter Foley
ibility of something like this happening is remote, use sed to avoid potential harm from untrusted .config files. Reported-by: Fox Wilson Signed-off-by: Peter Foley --- scripts/setlocalversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setlocalversion

[PATCH] Only build Documentation/ when not cross-compiling

2014-10-08 Thread Peter Foley
Don't build Documentation targets when cross-compiling. They are only for build testing, and use the host headers and compiler which can cause cross-compiles to fail. Signed-off-by: Peter Foley --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin wrote: > That we can't solve, but it is not okay to break the kernel build. Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=""? I'm not sure how much value would be added by implementing targetprogs in kbuild, simply to increase build

Re: [PATCH] Documentation: fix vdso_standalone_test_x86 on 32-bit

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 3:54 PM, H. Peter Anvin wrote: > This still has the cross-build problems, no? > Yes, but that issue is more general to CONFIG_BUILD_DOCSRC. This is just a build failure on x86-32. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

[PATCH] Documentation: fix vdso_standalone_test_x86 on 32-bit

2014-10-08 Thread Peter Foley
vdso_standalone_test_x86 needs -lgcc_s to build succesfully on 32bit. Signed-off-by: Peter Foley --- Documentation/vDSO/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile index 2b99e57..5e5ad9f 100644 --- a/Documentation

Re: vdso_standalone_test_x86.c build failure on Linus' tree

2014-10-08 Thread Peter Foley
On Wed, Oct 8, 2014 at 3:16 PM, Andy Lutomirski wrote: > It should build and work on 32-bit. > > Except that the makefile is totally bogus. vdso_standalone_test isn't > a hostprog at all. It's a target prog. But kbuild doesn't understand > that, so I have no idea what, if anything, that makefil

[PATCH] Documentation: update include path for mpssd

2014-10-02 Thread Peter Foley
sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc: sud

[PATCH] Documentation: update include path for mpssd

2014-10-02 Thread Peter Foley
sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc: sud

[PATCH] Make Documenation depend on headers_install

2014-09-24 Thread Peter Foley
Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc: sudeep.d...@intel.com Cc: nikhil@intel.com Cc: ashutosh.di...@intel.com Cc: a...@linux-foundation.org Cc: gre...@linuxfoundation.org Signed-off-by: Peter Foley --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Peter Foley
On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton wrote: > Can't we just fix the Makefiles? Cook up a rule which makes > headers_install (if needed) before building Documentation/? Currently, the ordering is enforced by http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile#n

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Peter Foley
On Tue, Sep 23, 2014 at 7:38 PM, Andrew Morton wrote: > This build error is caused by compiling mpssd prior to `make > headers_install'. > > There's really no reason to check the kernel version. If someone > transplants mpssd out of its distributed kernel and into some older > kernel then a misco

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Peter Foley
On Tue, Sep 23, 2014 at 6:59 PM, ashutosh dixit wrote: > Correct, if things in Documentation will be compiled against the headers > in the kernel source tree then this patch is not required. However, > Andrew had reported the following compile error: > >> In file included from Documentation/mic/mp

[PATCH] tools: add more endian.h macros

2014-09-23 Thread Peter Foley
Add some more macros to tools/endian.h to allow mpssd to be compiled against glibc < 2.9. Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc: sudeep.d...@intel.com Cc: nikhil@intel.com Cc: ashutosh.di...@intel.com Cc: a...@linux-foundation.org Cc:

[PATCH] Documentation: remove networking/.gitignore

2014-09-23 Thread Peter Foley
Remove empty networking/.gitignore Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org --- Documentation/networking/.gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Documentation/networking/.gitignore diff --git a/Documentation

Re: [PATCH linux-next] Documentation: mic: mpssd: Disable mpssd builds for kernels < 3.13

2014-09-23 Thread Peter Foley
On Tue, Sep 23, 2014 at 5:55 PM, Ashutosh Dixit wrote: > mpssd depends on headers available in kernels >= 3.13. Therefore > disable the build for kernels < 3.13. For kernels < 3.13, to avoid the > appearance of a build break simply print an error message and exit. > Everything in Documentation sho

[PATCH] Documentation: remove networking/.gitignore

2014-09-18 Thread Peter Foley
Remove empty networking/.gitignore Signed-off-by: Peter Foley --- Documentation/networking/.gitignore | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Documentation/networking/.gitignore diff --git a/Documentation/networking/.gitignore b/Documentation/networking

[PATCH] Documentation: disable vdso_test to avoid breakage with old glibc

2014-09-16 Thread Peter Foley
glibc versions older than 2.16 don't include sys/auxv.h which this executable uses. Since we don't have a good way to test for specific glibc versions in kbuild, just disable it for now. Signed-off-by: Peter Foley --- Documentation/vDSO/Makefile | 4 ++-- 1 file changed, 2 insert

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

2014-09-16 Thread Peter Foley
On Tue, Sep 16, 2014 at 7:38 PM, Randy Dunlap wrote: > I don't have a good answer to that, so yes, I suppose just > disable it. Please send a patch. Will do. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

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

2014-09-16 Thread Peter Foley
On Tue, Sep 16, 2014 at 7:00 PM, Stephen Rothwell wrote: > Hi Peter, > > My build machine runs Debian stable which only has libc6 version 2.13. Ok, depending on a specific glibc version seems kinda hacky. Maybe we should just disable auto-building vdso_test? Randy? -- To unsubscribe from this li

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

2014-09-16 Thread Peter Foley
On Tue, Sep 16, 2014 at 3:11 AM, Stephen Rothwell wrote: > Hi Randy, > > After merging the rd-docs tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > Documentation/vDSO/vdso_test.c:15:22: fatal error: sys/auxv.h: No such file > or directory > What glibc version are you

Re: [PATCH 1/3] kbuild: Make targets names tree-wide unique on x86

2014-09-14 Thread Peter Foley
On Sun, Sep 14, 2014 at 6:18 AM, Kirill Tkhai wrote: > diff --git a/init/Makefile b/init/Makefile > index 7bc47ee..566a9ff 100644 > --- a/init/Makefile > +++ b/init/Makefile > @@ -2,23 +2,28 @@ > # Makefile for the linux kernel. > # > > -obj-y := main.o version.o mounts.

[PATCH] Documentation: support glibc versions without htole macros

2014-09-10 Thread Peter Foley
glibc 2.9 introduced the htole<16/32/64> macros, add them to tools/include to support older versions of glibc. Reported-by: Andrew Morton Signed-off-by: Peter Foley --- Documentation/arm/SH-Mobile/Makefile | 2 +- Documentation/arm/SH-Mobile/vrl4.c | 1 + Documentation/mic/mpssd/Ma

Re: [PATCH resend] Kbuild: x86: Eliminate duplicate command line options

2014-09-10 Thread Peter Foley
four are supported. So also eliminate the > $(cc-option) wrap. > > Signed-off-by: Rasmus Villemoes Acked-by: Peter Foley -- 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.

Re: [PATCH] kbuild: simplify build, clean, modbuiltin shorthands

2014-09-09 Thread Peter Foley
ee). > > Now $(srctree) is "." when building in the source tree. > It would not be annoying to add "$(srctree)/" all the time. > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 1/3] kbuild: fake the "Entering directory ..." message more simply

2014-09-09 Thread Peter Foley
need to know > the exact message), moving --no-print-directory would be easier. > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH 3/3] kbuild: handle C=... and M=... after entering into build directory

2014-09-09 Thread Peter Foley
On Tue, Sep 9, 2014 at 7:02 AM, Masahiro Yamada wrote: > This commit avoids processing C=... and M=... twice > when O=... is also given. > > Besides, we can also remove KBUILD_EXTMOD="$(KBUILD_EXTMOD)" > in the sub-make target. > > Signed-off-by: Masahiro Yamada

Re: [PATCH 2/3] kbuild: use $(Q) for sub-make target

2014-09-09 Thread Peter Foley
gt; "$(if $(KBUILD_VERBOSE:1=),@)" with "$(Q)". > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- 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://

Re: [PATCH 2/3] kbuild: remove unnecessary variable initializaions

2014-09-09 Thread Peter Foley
also set to empty at the beginning > of scripts/Makefile.build) > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- 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

Re: [PATCH 1/3] kbuild: remove unnecessary "obj- := dummy.o" trick

2014-09-09 Thread Peter Foley
On Tue, Sep 9, 2014 at 6:26 AM, Masahiro Yamada wrote: > In these Makefiles, at least one of "obj-y" and "obj-" is non-empty, > hence built-in.o is always created without such a trick. > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- To unsubscri

Re: [PATCH 3/3] kbuild: remove obj-n and lib-n handling

2014-09-09 Thread Peter Foley
On Tue, Sep 9, 2014 at 6:26 AM, Masahiro Yamada wrote: > Kconfig never defines CONFIG_* as 'n'. > Now obj-n is only used in firmware/Makefile and it can be > replaced with obj-. No makefile uses lib-n. > > Let's rip off obj-n and lib-n. > > Signed-off-by: Mas

[PATCH 1/2] [PATCH] Documentation: update .gitignore files

2014-09-08 Thread Peter Foley
Add some missing files to .gitignore. Push Documentation/.gitignore down into subdirectories. Signed-off-by: Peter Foley --- Documentation/.gitignore | 7 --- Documentation/arm/SH-Mobile/.gitignore | 1 + Documentation/filesystems/.gitignore | 1

[PATCH 2/2] [PATCH] Documentation: update vDSO makefile to build portable examples

2014-09-08 Thread Peter Foley
Signed-off-by: Peter Foley --- Documentation/vDSO/Makefile | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile index 6cbd612..d87bb29 100644 --- a/Documentation/vDSO/Makefile +++ b/Documentation/vDSO/Makefile

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-09-03 Thread Peter Foley
On Tue, Sep 2, 2014 at 7:29 PM, Mark Brown wrote: > Your tree either wasn't in the control file that Stephen handed off or > got eaten by one off his scripts for some reason. I've tried adding it > back, we'll see if that works tomorrow. The patches still seem to be missing from the 20140903 -ne

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-09-02 Thread Peter Foley
On Mon, Aug 25, 2014 at 4:33 PM, Randy Dunlap wrote: > On 04/17/14 07:11, Peter Foley wrote: > Hi Peter, > > Sorry about the delay and thanks for the patches. > > I have now applied all 4 of these patches, with a few small changes in > Documentation/laptops/ to account for h

[PATCH 3/4] Documentation: make functions static to avoid prototype warnings

2014-04-17 Thread Peter Foley
Signed-off-by: Peter Foley --- Documentation/arm/SH-Mobile/vrl4.c| 6 +++--- Documentation/laptops/hpfall.c| 16 Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c | 11 ++- Documentation/prctl/disable-tsc-on-off-stress

[PATCH 4/4] Documentation: fix misc. warnings

2014-04-17 Thread Peter Foley
Fix a few warnings that gcc emits during a default build. Signed-off-by: Peter Foley --- Documentation/laptops/hpfall.c | 9 +++-- Documentation/mic/mpssd/mpssd.c | 4 ++-- Documentation/ptp/testptp.c | 6 +++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a

[PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-04-17 Thread Peter Foley
Change the Documentation makefiles from obj-m to subdir-y to avoid generating unnecessary built-in.o files since nothing in Documentation/ is ever linked in to vmlinux. Signed-off-by: Peter Foley --- Documentation/Makefile | 6 +++--- Documentation/accounting/Makefile

[PATCH 2/4] Documentation: add makefiles for more targets

2014-04-17 Thread Peter Foley
Add a bunch of previously unbuilt source files to the Documentation build machinery. Signed-off-by: Peter Foley --- Documentation/Makefile | 7 +++--- Documentation/arm/Makefile | 1 + Documentation/arm/SH-Mobile/Makefile | 11

[tip:x86/build] x86/build: Supress realmode.bin is up to date message

2014-04-16 Thread tip-bot for Peter Foley
Commit-ID: a9358bc3531901a15e2f7cd48550c9555fc0288f Gitweb: http://git.kernel.org/tip/a9358bc3531901a15e2f7cd48550c9555fc0288f Author: Peter Foley AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400 Committer: Ingo Molnar CommitDate: Wed, 16 Apr 2014 15:17:24 +0200 x86/build: Supress

[tip:x86/urgent] x86/build: Supress realmode.bin is up to date message

2014-04-16 Thread tip-bot for Peter Foley
Commit-ID: 96f4c760d99afae7da28628b30211cd3bf0958d5 Gitweb: http://git.kernel.org/tip/96f4c760d99afae7da28628b30211cd3bf0958d5 Author: Peter Foley AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400 Committer: Ingo Molnar CommitDate: Wed, 16 Apr 2014 08:57:18 +0200 x86/build: Supress

[PATCH] x86: suppress realmode.bin is up to date message

2014-04-15 Thread Peter Foley
suppress the below unnecessary message. make[3]: 'arch/x86/realmode/rm/realmode.bin' is up to date. Signed-off-by: Peter Foley --- arch/x86/realmode/rm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/realmode/rm/Makefile b/arch/x86/realmode/r

[PATCH] init: move the trusted keyring config option to general setup.

2014-04-15 Thread Peter Foley
The SYSTEM_TRUSTED_KEYRING config option is not in any menu, causing it to show up in the toplevel of the kernel configuration. Fix this by moving it under the General Setup menu. Signed-off-by: Peter Foley --- init/Kconfig | 24 1 file changed, 12 insertions(+), 12

[PATCH] ata: fix kconfig selection warning

2014-04-15 Thread Peter Foley
|| COMPILE_TEST)) Signed-off-by: Peter Foley --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 20e03a7..071f399 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -134,7 +134,7 @@ config AHCI

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

2014-04-09 Thread Peter Foley
On Wed, Apr 9, 2014 at 10:14 AM, Michal Marek wrote: > ccing x86 maintainers > > On 2014-04-09 09:15, Masahiro Yamada wrote: >> When we compiled again, arch/x86/syscalls/Makefile and >> arch/x86/tools/Makefile emitted "Nothing to be done for ..." messages. >> >> Here is the command log: >> >> $

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

2014-04-09 Thread Peter Foley
kefile > index e812034..95e3ed7 100644 > --- a/arch/x86/tools/Makefile > +++ b/arch/x86/tools/Makefile > @@ -41,3 +41,4 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include > hostprogs-y+= relocs > relocs-objs := relocs_32.o relocs_64.o relocs_common.o > relocs: $(obj)/relocs > +

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

2012-12-10 Thread Peter Foley
On Sun, Dec 9, 2012 at 7:08 PM, Rusty Russell wrote: > Michal Marek writes: >> Added David and Rusty. >> >> On Sun, Nov 18, 2012 at 03:05:14PM -0500, pefol...@verizon.net wrote: >>> From: Peter Foley >>> >>> Silence the touch extra_certifi