[PATCH 4/4] SunRPC: Kill RPC_IFDEBUG() and NFS_IFDEBUG()

2013-09-26 Thread David Howells
Kill RPC_IFDEBUG() and NFS_IFDEBUG() as they're no longer used. Signed-off-by: David Howells --- include/linux/nfs_fs.h |2 -- include/linux/sunrpc/debug.h |2 -- 2 files changed, 4 deletions(-) diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 3ea4cde..e0

[PATCH 2/4] SunRPC: Declare and use rpc_task_pid() to wrap task->tk_pid

2013-09-26 Thread David Howells
id'` perl -p -i -e 's/data->task.tk_pid/rpc_task_pid(&data->task)/g' `git grep -l 'data->task.tk_pid'` Signed-off-by: David Howells --- fs/lockd/clntproc.c|2 + fs/lockd/svc4proc.c|2 + fs/lockd/svcproc.c

Re: [PATCH 2/4] SunRPC: Declare and use rpc_task_pid() to wrap task->tk_pid

2013-09-26 Thread David Howells
David Howells wrote: > Declare and use rpc_task_pid() to wrap task->tk_pid (when it exists) and to > return 0 when it doesn't. This allows us to move towards using no_printk(). > > This was mostly achieved with: > >perl -p -i -e 's/task->tk_pid/rpc_task_

[PATCH 3/4] SunRPC: Use no_printk() for the null dprintk() and dfprintk()

2013-09-26 Thread David Howells
Use no_printk() for the null dprintk() and dfprintk() so that the compiler doesn't complain about unused variables for stuff that's just printed. Signed-off-by: David Howells --- fs/lockd/svc.c |6 -- fs/lockd/svclock.c |6 -- fs/nfs

Re: [RFC][PATCH 0/4] SunRPC/NFS: Use no_printk() in

2013-09-26 Thread David Howells
J. Bruce Fields wrote: > > Here's a series of patches to make SunRPC/NFS use no_printk() to implement > > its null dfprintk() macro (ie. when RPC_DEBUG is disabled). This prevents > > 'unused variable' errors from occurring when a variable is set only for > > use in debugging statements and rend

Re: [PATCH 3/4] SunRPC: Use no_printk() for the null dprintk() and dfprintk()

2013-09-26 Thread David Howells
Joe Perches wrote: > no_printk doesn't prevent any argument side-effects > from being optimized away by the compiler. > > ie: > dprintk("%d", func()) > func is now always called when before it wasn't. Yes, I know. There are half a dozen places where this is the case. Those I've wrapped

Re: [PATCH 3/4] SunRPC: Use no_printk() for the null dprintk() and dfprintk()

2013-09-26 Thread David Howells
Joe Perches wrote: > No code is eliminated by the preprocessor > with the #define I suggest. Sorry, I misunderstood. I assumed you meant comparing to: #ifdef RPC_DEBUG #define dfprintk(...) ... #else #define dfprintk(...) do {} while(0) #endif sort of t

Re: [GIT PULL] Keyrings patches

2013-09-27 Thread David Howells
James Morris wrote: > > Hi James, > > > > Could you pull these patches into the security tree? They're based on your > > next branch. > > > > Thanks, pulled. Nagyon köszönöm! David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord.

[GIT PULL] NFS/FS-Cache: Fix crash from accidentally starting caching whilst writing

2013-09-27 Thread David Howells
o control whether to get an fscache cookie in nfs_open() (2013-09-27 18:40:25 +0100) (from the branch description for fscache local branch) clone of "master" ----------

Re: [PATCH] mn10300/PCI: Remove pci_mem_start

2013-09-30 Thread David Howells
Myron Stowe wrote: > Remove unused 'pci_mem_start' variable. > > CC: David Howells > CC: Koichi Yasutake > Signed-off-by: Myron Stowe Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [GIT PULL] Keyrings patches

2013-09-24 Thread David Howells
James Morris wrote: > > There's a slight change upstream that means that my patchset needs > > regenerating (the initconst changes). Can you bring your -next branch up to > > date with linus/master so that I can rebase on top of it? > > I've merged my tree to -rc2 so you can rebase or merge (pr

Re: [PATCH 1/2] MPILIB: add module description and license

2013-09-25 Thread David Howells
I've imported these. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/1] X.509: remove possible code fragility: enumeration values not handled

2013-09-25 Thread David Howells
Imported. I wonder if it would be better to abort, though. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.

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

2013-09-25 Thread David Howells
I have pushed some keyrings patches that will likely affect this to: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-devel I intend to ask James to pull these into his next branch. If he's happy to do so, I can look at pulling at least your asymmetric keys

[GIT PULL] Keyrings patches

2013-09-25 Thread David Howells
h description for keys-devel local branch) clone of "master" Antonio Alecrim Jr (1): X.509: remove possible code fragility: enumeration values not handled David Howells (27): KEYS: Skip key state checks when checking for possession

[no subject]

2012-10-06 Thread David Howells
ting the changes to that particular header file. Signed-off-by: David Howells --- The following changes since commit 612a9aab56a93533e76e3ad91642db7033e03b69: Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux (2012-10-03 23:29:23 -0700) are available in the git rep

Re: [GIT PULL] Disintegrate UAPI for openrisc

2012-10-06 Thread David Howells
Jonas Bonn wrote: > I gave this a try and it all looks good for OpenRISC. I'll be happy, in > principle, to push this for 3.7... but it's a bit disconcerting that > there's a bunch of stuff here that shouldn't be going via the OpenRISC > tree. Any chance you could give a heads-up when everythin

Re: linux-next: manual merge of the ia64 tree with the asm-generic tree

2012-10-08 Thread David Howells
Stephen Rothwell wrote: > Today's linux-next merge of the ia64 tree got a conflict in > arch/ia64/include/asm/Kbuild between commit e7a570ff7dff ("asm-generic: > Add default clkdev.h") from the asm-generic tree and commit f68301fee715 > ("UAPI: (Scripted) Disintegrate arch/ia64/include/asm") from

[GIT PULL] Disintegrate UAPI for alpha [ver #2]

2012-10-09 Thread David Howells
integrate arch/alpha/include/asm (2012-10-09 09:46:29 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/alpha/include/asm ar

[GIT PULL] Disintegrate UAPI for ia64 [ver #2]

2012-10-09 Thread David Howells
te arch/ia64/include/asm (2012-10-09 09:47:00 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/ia64/include/asm a

[GIT PULL] Disintegrate UAPI for m68k [ver #2]

2012-10-09 Thread David Howells
te arch/m68k/include/asm (2012-10-09 09:47:06 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/m68k/include/asm a

[GIT PULL] Disintegrate UAPI for microblaze [ver #2]

2012-10-09 Thread David Howells
d) Disintegrate arch/microblaze/include/asm (2012-10-09 09:47:10 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/mi

[GIT PULL] Disintegrate UAPI for s390 [ver #2]

2012-10-09 Thread David Howells
te arch/s390/include/asm (2012-10-09 09:47:31 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/s390/include/asm a

[GIT PULL] Disintegrate UAPI for xtensa [ver #2]

2012-10-09 Thread David Howells
ntegrate arch/xtensa/include/asm (2012-10-09 09:47:57 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/xtensa/inclu

[GIT PULL] Disintegrate UAPI for parisc [ver #2]

2012-10-09 Thread David Howells
ntegrate arch/parisc/include/asm (2012-10-09 09:47:22 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/parisc/inclu

[GIT PULL] Disintegrate UAPI for unicore32 [ver #2]

2012-10-09 Thread David Howells
d) Disintegrate arch/unicore32/include/asm (2012-10-09 09:47:48 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/unicore3

[GIT PULL] Disintegrate UAPI for score [ver #2]

2012-10-09 Thread David Howells
integrate arch/score/include/asm (2012-10-09 09:47:35 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/score/include/asm ar

[GIT PULL] Disintegrate UAPI for x86 [ver #2]

2012-10-09 Thread David Howells
arch/x86/include/asm (2012-10-09 09:47:54 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/x86/include/asm arch/x8

[GIT PULL] Disintegrate UAPI for h8300 [ver #2]

2012-10-09 Thread David Howells
integrate arch/h8300/include/asm (2012-10-09 09:46:54 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/h8300/include/asm ar

[GIT PULL] Disintegrate UAPI for m32r [ver #2]

2012-10-09 Thread David Howells
te arch/m32r/include/asm (2012-10-09 09:47:03 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/m32r/include/asm a

[GIT PULL] Disintegrate UAPI for openrisc [ver #2]

2012-10-09 Thread David Howells
d) Disintegrate arch/openrisc/include/asm (2012-10-09 09:47:18 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/openris

[GIT PULL] Disintegrate UAPI for powerpc [ver #2]

2012-10-09 Thread David Howells
tegrate arch/powerpc/include/asm (2012-10-09 09:47:26 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/powerpc/includ

[GIT PULL] Disintegrate UAPI for tile [ver #2]

2012-10-09 Thread David Howells
te arch/tile/include/asm (2012-10-09 09:47:47 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (2): UAPI: (Scripted) Disintegrate arch/tile/include/arch

[GIT PULL] Disintegrate UAPI for sh [ver #2]

2012-10-09 Thread David Howells
arch/sh/include/asm (2012-10-09 09:47:37 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/sh/include/asm arch/s

[GIT PULL] Disintegrate UAPI for sparc [ver #2]

2012-10-09 Thread David Howells
integrate arch/sparc/include/asm (2012-10-09 09:47:43 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/sparc/include/asm ar

[GIT PULL] Disintegrate UAPI for mips [ver #2]

2012-10-09 Thread David Howells
te arch/mips/include/asm (2012-10-09 09:47:14 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/mips/include/asm a

[GIT PULL] Disintegrate UAPI for arm64 [ver #2]

2012-10-09 Thread David Howells
integrate arch/arm64/include/asm (2012-10-09 09:46:34 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/arm64/include/asm ar

[GIT PULL] Disintegrate UAPI for avr32 [ver #2]

2012-10-09 Thread David Howells
integrate arch/avr32/include/asm (2012-10-09 09:46:37 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/avr32/include/asm ar

[GIT PULL] Disintegrate UAPI for c6x [ver #2]

2012-10-09 Thread David Howells
arch/c6x/include/asm (2012-10-09 09:46:40 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/c6x/include/asm arch/c6

[GIT PULL] Disintegrate UAPI for arm [ver #2]

2012-10-09 Thread David Howells
arch/arm/include/asm (2012-10-09 09:46:32 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/arm/include/asm arch/ar

[GIT PULL] Disintegrate UAPI for hexagon [ver #2]

2012-10-09 Thread David Howells
tegrate arch/hexagon/include/asm (2012-10-09 09:46:55 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/hexagon/includ

[GIT PULL] Disintegrate UAPI for cris [ver #2]

2012-10-09 Thread David Howells
te arch/cris/include/asm (2012-10-09 09:46:45 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (3): UAPI: (Scripted) Disintegrate arch/cris/include/arch

[GIT PULL] Disintegrate UAPI for blackfin [ver #2]

2012-10-09 Thread David Howells
d) Disintegrate arch/blackfin/include/asm (2012-10-09 09:46:39 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate arch/blackfi

Re: [GIT PULL] Disintegrate UAPI for avr32 [ver #2]

2012-10-09 Thread David Howells
Hans-Christian Egtvedt wrote: > Neither Haavard or me have a GIT tree at kernel.org anymore, I hope to get my > key signed in Barcelona during ELCE. Could you ask Linus to pull directly, or > pass it through Andrew. I can ask Linus directly. Can I add your Acked-by to it? David -- To unsubscri

Re: [GIT PULL] Disintegrate UAPI for microblaze

2012-10-09 Thread David Howells
Michal Simek wrote: > I expect your intention is to merge this to mainline in current merge > window, right? It is preferred that it go through the maintainer's tree if possible. Note that I've posted a new version that doesn't have the dependencies any more as they've been merged upstream. Da

Re: [uclinux-dist-devel] [GIT PULL] Disintegrate UAPI for blackfin [ver #2]

2012-10-09 Thread David Howells
Bob Liu wrote: > Merged into my git tree: > git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin.git for-linus > > And what time i need to ask linus to pull? Next merge window? That's up to you now. There aren't any dependencies on the blackfin branch in my tree. Feel free to defer

[GIT PULL] Disintegrate UAPI for can

2012-10-09 Thread David Howells
09:48:41 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/can include/linux/can/Kbuild | 5 - include/uapi/linux/can/Kbuild | 5

[GIT PULL] Disintegrate UAPI for isdn

2012-10-09 Thread David Howells
09:48:45 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/isdn include/linux/isdn/Kbuild | 1 - include/uapi/linux/isdn/Kbuild

[GIT PULL] Disintegrate UAPI for tty

2012-10-09 Thread David Howells
09:48:44 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/hsi include/linux/hsi/Kbuild| 1 - include/uapi/linux/hsi/Kbuild | 1 + in

[GIT PULL] Disintegrate UAPI for sound

2012-10-09 Thread David Howells
09:49:13 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/sound include/sound/Kbuild| 10 - include/sound/asequencer.h

[GIT PULL] Disintegrate UAPI for usb

2012-10-09 Thread David Howells
09:49:07 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/usb include/linux/usb/Kbuild | 10 - include/linux/usb/audio.h

[GIT PULL] Disintegrate UAPI for wimax

2012-10-09 Thread David Howells
09:49:08 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/wimax include/linux/wimax/Kbuild | 1 - include/uapi/linux/wimax/Kbuild

[GIT PULL] Disintegrate UAPI for xen

2012-10-09 Thread David Howells
09:49:15 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/xen include/uapi/xen/Kbuild | 2 ++ include/{ => uapi}/xen/evtchn.h | 0 include/{ => uapi}/xen/p

[GIT PULL] Disintegrate UAPI for spi

2012-10-09 Thread David Howells
09:49:03 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/spi include/linux/spi/Kbuild | 1 - include/uapi/linux/spi/Kbuild | 1 + include/{

[GIT PULL] Disintegrate UAPI for fbdev

2012-10-09 Thread David Howells
11:15:01 +0100) (from the branch description for disintegrate-fbdev local branch) clone of "disintegrate-media" UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/v

[GIT PULL] Disintegrate UAPI for mmc

2012-10-09 Thread David Howells
09:48:45 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/mmc include/linux/mmc/Kbuild | 1 - include/uapi/linux/mmc/Kbuild| 1 + include/{

[GIT PULL] Disintegrate UAPI for media

2012-10-09 Thread David Howells
09:48:42 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/dvb include/linux/dvb/Kbuild| 8 - include/linux/dvb/dmx.h

[GIT PULL] Disintegrate UAPI for hdlc

2012-10-09 Thread David Howells
09:48:43 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/linux/hdlc include/linux/hdlc/Kbuild | 1 - include/uapi/linux/hdlc/Kbuild| 1 + in

[GIT PULL] Disintegrate UAPI for raid

2012-10-09 Thread David Howells
09:49:02 +0100) (from the branch description for disintegrate-raid local branch) clone of "disintegrate-scsi" UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/l

[GIT PULL] Disintegrate UAPI for rdma

2012-10-09 Thread David Howells
14:14:45 +0100) (from the branch description for disintegrate-rdma local branch) clone of "disintegrate-scsi" UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/r

[GIT PULL] Disintegrate UAPI for mtd

2012-10-09 Thread David Howells
09:49:09 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (1): UAPI: (Scripted) Disintegrate include/mtd include/mtd/Kbuild | 5 - include/uapi/mtd/Kbuild | 5 + include/{ =&g

[GIT PULL] Disintegrate UAPI for nfs

2012-10-09 Thread David Howells
09:49:04 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (2): UAPI: (Scripted) Disintegrate include/linux/nfsd UAPI: (Scripted) Disintegrate include/linux/sunrpc include/linux/nfsd/Kbuild |

[GIT PULL] Disintegrate UAPI for net

2012-10-09 Thread David Howells
09:49:06 +0100) UAPI Disintegration 2012-10-09 -------- David Howells (9): UAPI: (Scripted) Disintegrate include/linux/caif UAPI: (Scripted) Disintegrate include/linux/netfilter UAPI: (Scripted) Disin

[PATCH/GIT PULL] UAPI: (Scripted) Disintegrate include/scsi

2012-10-09 Thread David Howells
for the strictly kernel internal stuff. This patch can be pulled from: git://git.infradead.org/users/dhowells/linux-headers.git tags/disintegrate-scsi-20121009 Signed-off-by: David Howells Acked-by: Arnd Bergmann Acked-by: Thomas Gleixner Acked-by: Michael Kerrisk Acked-by: Paul E

[PATCH/GIT PULL] UAPI: (Scripted) Disintegrate include/scsi/fc

2012-10-09 Thread David Howells
for the strictly kernel internal stuff. This patch can be pulled from: git://git.infradead.org/users/dhowells/linux-headers.git tags/disintegrate-fc-20121009 Signed-off-by: David Howells Acked-by: Arnd Bergmann Acked-by: Thomas Gleixner Acked-by: Michael Kerrisk Acked-by: Paul E

Re: [GIT PULL] Disintegrate UAPI for usb

2012-10-09 Thread David Howells
Greg KH wrote: > > Can you merge the following branch into the usb tree please. > > Is this (and the other pull requests for other subsystems) for 3.7 or > for 3.8? I don't really mind. There are no dependencies on it. Getting it in 3.7 means there's more chance it'll just apply when Linus do

Re: [GIT PULL] Disintegrate UAPI for sound

2012-10-09 Thread David Howells
Takashi Iwai wrote: > > Can you merge the following branch into the sound tree please. > > The changes look OK, but is it targeted for 3.7 or 3.8 in general? > I assumed the latter. Either will do. There are no dependencies on the branch I gave you. David -- To unsubscribe from this list: sen

Re: [GIT PULL] Disintegrate UAPI for arm64 [ver #2]

2012-10-09 Thread David Howells
Catalin Marinas wrote: > It still fails on arm64. The reason is that I had a __SYSCALL_COMPAT > guard to provide either the 32-bit syscalls or the 64-bit (generic) ones > via asm/unistd.h. With this change: Hmmm. Why does asm/unistd.h get #included for the compat bits at all? Looking in arch/a

Re: [GIT PULL] Disintegrate UAPI for xen

2012-10-09 Thread David Howells
ey A7CB0B6B: "David Howells " not changed gpg: Total number processed: 1 gpg: unchanged: 1 David -- 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 h

Re: [GIT PULL] Disintegrate UAPI for media

2012-10-10 Thread David Howells
Mauro Carvalho Chehab wrote: > Hmm... last year, it was decided that we would be putting the DVB av7110-only > API files on a separate place, as the API there conflicts with V4L/alsa APIs > and are used only by one upstream driver (there were two drivers using them, > at that time). As you might

[GIT PULL] UAPI disintegration for MN10300, FRV and AVR32 arches

2012-10-10 Thread David Howells
nges up to 7190632b78de594f3dabe174e9df373bfc790d89: Merge branch 'disintegrate-avr32' into disintegrate-misc-arches (2012-10-10 12:34:45 +0100) UAPI Disintegration 2012-10-10 --

Re: [GIT PULL] Disintegrate UAPI for can

2012-10-10 Thread David Howells
Marc Kleine-Budde wrote: > On 10/09/2012 03:30 PM, David Howells wrote: > > Can you merge the following branch into the can tree please. > > > > This is to complete part of the Userspace API (UAPI) disintegration for > > which > > the preparatory patches w

[GIT PULL] UAPI: Disintegrate arch/x86/include/asm

2012-12-03 Thread David Howells
/asm (2012-12-03 12:32:55 +) UAPI disintegration 2012-12-03 David Howells (1): UAPI: (Scripted) Disintegrate arch/x86/include/asm arch/x86/include/asm/Kbuild

Re: [RFC][PATCH 1/2] modsig: add support to sign kernel modules using ephemeral keys

2012-12-04 Thread David Howells
Rusty Russell wrote: > > +PHONY += _newmodpubkey_ > > +_newmodpubkey_: > > + @rm -f $(MODSECKEY) $(MODPUBKEY) > > + $(Q)$(MAKE) -W kernel/modsign_pubkey.o Please don't do this. It can muck up the dependencies as make thinks it has already done this file at this point. Also, rebuilding bzI

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

2012-12-04 Thread David Howells
Michal Marek wrote: > Signed-off-by: Michal Marek If only perl gave you warnings for this as gcc does... Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

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

2012-12-04 Thread David Howells
up in generic code and the format of the assembly varies with the arch. However, you don't seem to have anything that should cause a problem - so: Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to m

Re: [PATCH 3/3] MODSIGN: Drop ccache hack

2012-12-04 Thread David Howells
Michal Marek wrote: > The __TIME__ macro is not needed anymore, because the pubkey is included > in a separate .S file. Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

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

2012-12-05 Thread David Howells
Takashi Iwai wrote: > +#ifndef SYMBOL_PREFIX This comes via the command line? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH 3.7-rc8] lib/Makefile: Fix oid_registry build dependency

2012-12-05 Thread David Howells
rrect lib/Makefile dependency. The compile error is completely > disingenuous. Good catch. This patch could go via Rusty's module signing tree. Acked-by: David Howells -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

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

2012-12-05 Thread David Howells
the siging key and certificate. > > Tested-by: Michal Marek > Signed-off-by: Takashi Iwai Acked-by: David Howells > +#define GLOBAL(name) \ > + .globl ASM_SYMBOL(name);\ > + ASM_SYMBOL(name): This should perhaps be moved into a global header. -- To unsub

[PATCH 00/10] UAPI: Fixes

2012-10-17 Thread David Howells
e can probably remove all the Kbuild files under include/ that aren't also under include/uapi/. The ones under arch/ are more of an issue because of the potential for generic-y and genhdr-y. David --- Catalin Marinas (1): uapi: Allow automatic generation of uapi/asm/ header files David

[PATCH 02/10] UAPI: Make uapi/linux/irqnr.h non-empty

2012-10-17 Thread David Howells
get this error when building x86_64 or usermode Linux (and probably others): include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or directory Reported-by: Randy Dunlap Reported-by: Alessandro Suardi Signed-off-by: David Howells cc: Randy Dunlap cc: Alessandro Suardi

[PATCH 03/10] UAPI: Remove empty conditionals from include/linux/Kbuild

2012-10-17 Thread David Howells
Remove empty conditionals from include/linux/Kbuild as the contents, with new conditionals, have moved to include/uapi/linux/Kbuild. Signed-off-by: David Howells --- include/linux/Kbuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/include/linux/Kbuild b/include/linux

[PATCH 05/10] UAPI: Place comments in empty arch Kbuilds to make them non-empty

2012-10-17 Thread David Howells
c-y or genhdr-y lines in future, so I'm keeping them around for the moment. Note that MIPS will compile happily if the file is deleted instead. I haven't tested TILE, but I suspect it will be the same there. Signed-off-by: David Howells cc: Ralf Baechle cc: Chris Metcalf --- arc

[PATCH 07/10] UAPI: Put a comment into uapi/asm-generic/kvm_para.h and use it from arches

2012-10-17 Thread David Howells
that the facility is unsupported on this arch? Signed-off-by: David Howells cc: Arnd Bergmann cc: Avi Kivity cc: Marcelo Tosatti cc: k...@vger.kernel.org --- arch/ia64/include/uapi/asm/Kbuild |2 ++ arch/ia64/include/uapi/asm/kvm_para.h |0 arch/s390/include/uapi/asm/Kbuild

[PATCH 01/10] uapi: Allow automatic generation of uapi/asm/ header files

2012-10-17 Thread David Howells
ned-off-by: David Howells Cc: Michal Marek Cc: Arnd Bergmann --- Makefile |4 +++- scripts/Makefile.asm-generic |2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5be2ee8..366d0ab 100644 --- a/Makefile +++ b/Makefile @@ -43

[PATCH 08/10] UAPI: Make arch/mn10300/include/uapi/asm/setup.h non-empty

2012-10-17 Thread David Howells
st stick a comment in there as a placeholder. Signed-off-by: David Howells --- arch/mn10300/include/uapi/asm/setup.h |4 1 file changed, 4 insertions(+) diff --git a/arch/mn10300/include/uapi/asm/setup.h b/arch/mn10300/include/uapi/asm/setup.h index e69de29..ae5704f 100644 --- a/ar

[PATCH 10/10] UAPI: Make arch/sparc/include/uapi/asm/sigcontext.h non-empty

2012-10-17 Thread David Howells
. So just stick a comment in there as a placeholder. Signed-off-by: David Howells cc: David S. Miller cc: sparcli...@vger.kernel.org --- arch/sparc/include/uapi/asm/sigcontext.h |4 1 file changed, 4 insertions(+) diff --git a/arch/sparc/include/uapi/asm/sigcontext.h b/arch/sparc/includ

[PATCH 06/10] UAPI: The tile arch uses the generic ucontext.h file

2012-10-17 Thread David Howells
Move the header-y and generic-y lines for ucontext.h from arch/tile/include/asm/Kbuild to the uapi/ Kbuild as the asm-generic variant is used. Signed-off-by: David Howells cc: Chris Metcalf --- arch/tile/include/asm/Kbuild |3 --- arch/tile/include/uapi/asm/Kbuild |3 +++ 2 files

[PATCH 09/10] UAPI: Make arch/sh/include/uapi/asm/hw_breakpoint.h non-empty

2012-10-17 Thread David Howells
. So just stick a comment in there as a placeholder. Signed-off-by: David Howells cc: Paul Mundt cc: linux...@vger.kernel.org --- arch/sh/include/uapi/asm/hw_breakpoint.h |4 1 file changed, 4 insertions(+) diff --git a/arch/sh/include/uapi/asm/hw_breakpoint.h b/arch/sh/includ

[PATCH 04/10] UAPI: Remove empty non-UAPI Kbuild files

2012-10-17 Thread David Howells
probably necessary to make the files non-empty to prevent the patch program from automatically deleting them when it reduces them to nothing. Signed-off-by: David Howells --- include/Kbuild|4 include/asm-generic/Kbuild|0 include/drm/Kbuild

Re: RFC: sign the modules at install time

2012-10-17 Thread David Howells
Linus Torvalds wrote: > This was based on the complaint from Davem that the "make > allmodconfig" build got way slower because module signing takes a > while. > > And quite frankly, the whole "extra strip and sign" thing at modpost > time was just nasty ugly code. > > Why don't we do something

[PATCH] UAPI: Make arch/ia64/include/asm/kvm_para.h generic

2012-10-18 Thread David Howells
0: error: redefinition of 'kvm_check_and_clear_guest_paused' include/asm-generic/kvm_para.h:11:20: note: previous definition of 'kvm_check_and_clear_guest_paused' was here This does not happen for ia64 defconfig. Reported-by: Yuanhan Liu Signed-off-by: David Howells cc: Yuanhan Liu cc: fengg

[PATCH] UAPI: S390 shouldn't've been changed to use uapi/asm-generic/kvm_para.h

2012-10-18 Thread David Howells
ommit 0420c87e648a3b623ad925038a0bcff2ef5a4bc9, ungenericising this file and just inserting a comment to prevent the patch program from deleting it. Reported-by: Yuanhan Liu Signed-off-by: David Howells cc: Yuanhan Liu cc: fengguang...@intel.com --- arch/s390/include/uapi/asm/Kbuild |2 -- arch/s390/include/uap

Re: RFC: sign the modules at install time

2012-10-19 Thread David Howells
Rusty Russell wrote: > > (Side note: I hope people realize that the random key is generated > > with a 100-year lifespan. So if you build a kernel today, you do > > potentially have a "year-2112 problem". I'm not horribly worried, but > > I *am* a bit worried about 32-bit time_t overflow and I ho

Re: RFC: sign the modules at install time

2012-10-19 Thread David Howells
Stephen Rothwell wrote: > So, this still generates the keys during the normal build, right? That > would be a problem for build servers that have limited randomness > available to them, I think. openssl uses /dev/urandom (unlike gpg), so that's less of a problem. David -- To unsubscribe from t

Re: [PATCH] perf: Fix UAPI fallout

2012-10-19 Thread David Howells
Ingo Molnar wrote: > What we want in .c files are not ../.. inclusions but the > 'seemless' inclusions. Which is the overwhelming > majority, gladly. Do we want to make that the 100% majority? I think this is going to be necessary for when x86 gets merged. x86's asm/unistd.h #includes uapi/a

[RFC][PATCH 0/5] tools, perf: Fix up for x86 UAPI disintegration

2012-10-19 Thread David Howells
d vector code to userspace suggests that at least the first two should be - though since it didn't modify Kbuild, this was not effective. I haven't tried building perf for other arches at this time. David --- David Howells (5): x86: UAPI Disintegrate asm/perf_regs.h x86: Dis

[PATCH 1/5] tools: Define a Makefile function to do subdir processing

2012-10-19 Thread David Howells
Define a Makefile function that can be called with $(call ...) to wrap the subdir make invocations in tools/Makefile. This will allow us in the next patch to insert bits in there to honour O= flags when called from the top-level Makefile. Signed-off-by: David Howells --- tools/Makefile

[PATCH 2/5] tools: Honour the O= flag when tool build called from a higher Makefile

2012-10-19 Thread David Howells
t already exist. Signed-off-by: David Howells --- Makefile |6 -- tools/scripts/Makefile.include | 12 +--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 366d0ab..e93ac4d 100644 --- a/Makefile +++ b/Makefile @@ -1

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