[PATCH 3.2 063/152] x86/tls: Don't validate lm in set_thread_area() after all

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 upstream. It turns out that there's a lurking ABI issue. GCC, when compiling this in a 32-bit program: struct user_desc desc =

Re: [PATCH] usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h

2015-02-16 Thread Greg KH
On Mon, Feb 16, 2015 at 06:45:53PM -0700, Joseph Kogut wrote: > Signed-off-by: Joseph Kogut You need a changelog description here please. -- 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

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 03:41:02PM +, Charles Keepax wrote: > arizona_extcon_do_magic does not lend a lot of clarity to the purpose > of the function, and as all the registers used are described in the > datasheet there is no need to obfuscate the code. This patch renames the > function to

[PATCH 3.2 109/152] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 237d28db036e411f22c03cfd5b0f6dc2aa9bf3bc upstream. If the function graph tracer traces a jprobe callback, the system will crash. This can easily be

[PATCH 3.2 030/152] Bluetooth: sort the list of IDs in the source code

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 0b8800623d3f12dd40a039aa191d52bfa4eef5b4 upstream. This will help to manage table of supported IDs. There is no functional change. Signed-off-by: Andy Shevchenko

[PATCH 3.2 042/152] ALSA: hda - using uninitialized data

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 69eba10e606a80665f8573221fec589430d9d1cb upstream. In olden times the snd_hda_param_read() function always set "*start_id" but in 2007 we introduced a new return and it

[PATCH 3.2 034/152] Bluetooth: Add support for Acer [13D3:3432]

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Anantha Krishnan commit fa2f1394fe9c1a217213f02df77812701de6362f upstream. Add support for the QCA6174 chip. T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 30 Spd=12 MxCh= 0 D: Ver=

[PATCH 3.2 033/152] Bluetooth: Ignore isochronous endpoints for Intel USB bootloader

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit d92f2df0565ea04101d6ac04bdc10feeb1d93c94 upstream. The isochronous endpoints are not valid when the Intel Bluetooth controller boots up in bootloader mode. So just mark

[PATCH 3.2 029/152] Bluetooth: btusb: Add IMC Networks (Broadcom based)

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jurgen Kramer commit 9113bfd82dc8ece9cbb898df8794f58a78a36e97 upstream. Add support for IMC Networks (Broadcom based) to btusb driver. Below the output of /sys/kernel/debug/usb/devices for

[PATCH 3.2 151/152] KVM: x86 emulator: reject SYSENTER in compatibility mode on AMD guests

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Avi Kivity commit 1a18a69b762374c423305772500f36eb8984ca52 upstream. If the guest thinks it's an AMD, it will not have prepared the SYSENTER MSRs, and if the guest executes SYSENTER in

Re: [PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 10:02:46PM +0100, Peter Rosin wrote: > I wasn't sure if I should add Documentation/* for these sysfs knobs > or not? A lot of knobs do not have docs... And I'm not sure how I > should name the doc-file since the pcm512x driver handles devices > connected with both i2c and

[PATCH 3.2 060/152] isofs: Fix infinite looping over CE entries

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit f54e18f1b831c92f6512d2eedb224cd63d607d3d upstream. Rock Ridge extensions define so called Continuation Entries (CE) which define where is further space with Rock Ridge data.

[PATCH 3.2 041/152] USB: adutux: NULL dereferences on disconnect

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit fc625960edecfb57e62c2975d1f155155e28e6ba upstream. Both "dev->udev" and "interface->dev" are NULL. These printks are not very interesting so I just deleted them. Fixes:

[PATCH 3.2 040/152] eCryptfs: Remove buggy and unnecessary write in file name decode routine

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Halcrow commit 942080643bce061c3dd9d5718d3b745dcb39a8bc upstream. Dmitry Chernenkov used KASAN to discover that eCryptfs writes past the end of the allocated buffer during encrypted

[PATCH 3.2 049/152] hp_accel: Add support for HP ZBook 15

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dominique Leuenberger commit 6583659e0f92e38079a8dd081e0a1181a0f37747 upstream. HP ZBook 15 laptop needs a non-standard mapping (x_inverted). BugLink:

[PATCH 3.2 050/152] ALSA: usb-audio: Don't resubmit pending URBs at MIDI error recovery

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 66139a48cee1530c91f37c145384b4ee7043f0b7 upstream. In snd_usbmidi_error_timer(), the driver tries to resubmit MIDI input URBs to reactivate the MIDI stream, but this causes

[PATCH 3.2 048/152] drm/vmwgfx: Don't use memory accounting for kernel-side fence objects

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 1f563a6a46544602183e7493b6ef69769d3d76d9 upstream. Kernel side fence objects are used when unbinding resources and may thus be created as part of a memory reclaim

[PATCH 3.2 064/152] ALSA: usb-audio: extend KEF X300A FU 10 tweak to Arcam rPAC

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Jaburek commit d70a1b9893f820fdbcdffac408c909c50f2e6b43 upstream. The Arcam rPAC seems to have the same problem - whenever anything (alsamixer, udevd, 3.9+ kernel from 60af3d037eb8c, ..)

[PATCH 3.2 051/152] KEYS: Fix stale key registration at error path

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b26bdde5bb27f3f900e25a95e33a0c476c8c2c48 upstream. When loading encrypted-keys module, if the last check of aes_get_sizes() in init_encrypted() fails, the driver just

[PATCH 3.2 053/152] Btrfs: fix fs corruption on transaction abort if device supports discard

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 678886bdc6378c1cbd5072da2c5a3035000214e3 upstream. When we abort a transaction we iterate over all the ranges marked as dirty in fs_info->freed_extents[0] and

[PATCH 3.2 052/152] fib_trie: Fix /proc/net/fib_trie when CONFIG_IP_MULTIPLE_TABLES is not defined

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck commit a5a519b2710be43fce3cf9ce7bd8de8db3f2a9de upstream. In recent testing I had disabled CONFIG_IP_MULTIPLE_TABLES and as a result when I ran "cat /proc/net/fib_trie" the

[PATCH 3.2 027/152] Bluetooth: Enable Atheros 0cf3:311e for firmware upload

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit b131237ca3995edad9efc162d0bc959c3b1dddc2 upstream. The device will bind to btusb without firmware, but with the original buggy firmware device discovery does not work. No

[PATCH 3.2 036/152] Add a new PID/VID 0227/0930 for AR3012.

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Vincent Zwanenburg commit 89d2975fa06e66ea0d3665d91f799fb1ce4b8bad upstream. usb devices info: T: Bus=01 Lev=02 Prnt=05 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon)

[PATCH 3.2 021/152] mfd: tc6393xb: Fail ohci suspend if full state restore is required

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 1a5fb99de4850cba710d91becfa2c65653048589 upstream. Some boards with TC6393XB chip require full state restore during system resume thanks to chip's VCC being cut

[PATCH 3.2 078/152] Revert "tcp: Apply device TSO segment limit earlier"

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 9f871e883277cc22c6217db806376dce52401a31, which was commit 1485348d2424e1131ea42efc033cbd9366462b01 upstream. It can cause connections to stall when a PMTU

[PATCH 3.2 011/152] KVM: s390: flush CPU on load control

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 2dca485f8740208604543c3960be31a5dd3ea603 upstream. some control register changes will flush some aspects of the CPU, e.g. POP explicitely mentions that for

RE: [PATCH RESEND 1/12] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
> On Tue, Feb 17, 2015 at 12:47:48AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > FALLOC_FL_INSERT_RANGE command is the opposite command of > > FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want > > to > > add some data in the middle of file.

RE: [PATCH RESEND 2/12] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
Hi Dave, I did totally check your review points. I will share the patch soon. Thanks for your review! > On Tue, Feb 17, 2015 at 12:47:49AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > > > 1) Make sure that both

[PATCH] usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h

2015-02-16 Thread Joseph Kogut
Signed-off-by: Joseph Kogut --- drivers/usb/dwc2/pci.c | 1 - drivers/usb/dwc3/dwc3-pci.c | 2 -- include/linux/pci_ids.h | 2 ++ 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c index a4e724b..6646adb 100644 ---

RE: [PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
> > On Tue, Feb 17, 2015 at 12:47:58AM +0900, Namjae Jeon wrote: > > From: Namjae Jeon > > > > This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. > > > > Signed-off-by: Namjae Jeon > > Signed-off-by: Ashish Sangwan > > Reviewed-by: Brian Foster > > --- > > ltp/fsx.c | 124 >

Re: [PATCH V6 03/10] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Peter Hung
Hello, Greg KH 於 2015/2/17 上午 03:41 寫道: + if (unlikely(data[i+0] & UART_LSR_BRK_ERROR_BITS)) { Never use unlikely() unless you can prove that it actually matters if you use it. Hint, it's almost impossible to prove, so don't use it, the compiler and processor look-ahead is

Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-02-16 Thread Viet Nga Dao
Hi Brian, Could you please help me to review through this 2nd version? On Wed, Feb 11, 2015 at 12:53 PM, Viet Nga Dao wrote: > From: Viet Nga Dao > > Altera EPCQ Controller is a soft IP which enables access to Altera EPCQ and > EPCS flash chips. This patch adds driver for these devices. > >

[PATCH] batman-adv: Remove uses of return value of seq_printf

2015-02-16 Thread Joe Perches
This function is soon going to return void so remove the return value use. Convert the return value to test seq_has_overflowed() instead. Signed-off-by: Joe Perches --- net/batman-adv/gateway_client.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git

[PATCH net-next] netfilter: Remove uses of return value of seq_printf/puts/putc

2015-02-16 Thread Joe Perches
These functions are soon going to return void so remove the return value uses. Convert the return value to test seq_has_overflowed() instead. Signed-off-by: Joe Perches --- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c | 4 +++- net/netfilter/nf_conntrack_acct.c |

Re: [PATCH RESEND 3/12] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:50AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical

Re: [PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:58AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan > Reviewed-by: Brian Foster > --- > ltp/fsx.c | 124 >

Re: [PATCH RESEND 4/12] xfsprog: xfsio: update xfs_io manpage for FALLOC_FL_INSERT_RANGE

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:51AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > Update xfs_io manpage for FALLOC_FL_INSERT_RANGE. > > Signed-off-by: Namjae Jeon > Signed-off-by: Ashish Sangwan Looks good. That'll fix up the complaining fstest ;) Reviewed-by: Dave Chinner -Dave --

Re: [PATCH RESEND 2/12] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:49AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical

Re: [RFC v2 01/10] fsl_bman: Add drivers for the Freescale DPAA BMan

2015-02-16 Thread Scott Wood
On Mon, 2015-02-16 at 09:46 -0600, Emil Medve wrote: > From: Geoff Thorpe > > Change-Id: I075944acf740dbaae861104c17a9ff7247dec1be > Signed-off-by: Geoff Thorpe Remove Change-Id. Provide a description of what BMan is. > diff --git a/drivers/soc/freescale/Kconfig

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 16:21:30 -0800 Linus Torvalds wrote: > On Mon, Feb 16, 2015 at 4:02 PM, Jeff Layton wrote: > > > > Now that I look, it may be best to just revert this whole set for now. > > Linus, are you amenable to doing that? > > Sure. But I'd prefer seeing how hard it would be to fix

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Linus Torvalds
On Mon, Feb 16, 2015 at 4:02 PM, Jeff Layton wrote: > > Now that I look, it may be best to just revert this whole set for now. > Linus, are you amenable to doing that? Sure. But I'd prefer seeing how hard it would be to fix things first. If this was at the end of the release cycle, I'd revert it

RE: [PATCH v3] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU.

2015-02-16 Thread Wang, Xiaoming
Dear Wilk > -Original Message- > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > Sent: Tuesday, February 17, 2015 6:13 AM > To: Wang, Xiaoming > Cc: r...@linux-mips.org; boris.ostrov...@oracle.com; > david.vra...@citrix.com; linux-m...@linux-mips.org; linux- >

Re: [git pull] drm pull for 3.20-rc1

2015-02-16 Thread Linus Torvalds
On Sun, Feb 15, 2015 at 10:43 PM, Dave Airlie wrote: > > This is the main drm pull, it has a shared branch with some alsa crossover > but everything should be acked by relevant people. Ugh. Your diffstat is crap, because you don't show the inexact renames that are very abundant in the nouveau

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 11:24:03 -0800 Linus Torvalds wrote: > On Mon, Feb 16, 2015 at 10:46 AM, Linus Torvalds > wrote: > > > > This code is so broken that my initial reaction is "We need to just > > revert the crap". > > How the hell is flock_lock_file() supposed to work at all, btw? > > Say we

Re: [PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-02-16 Thread Jan Engelhardt
On Tuesday 2015-02-17 00:05, Mikko Rapeli wrote: >Fixes userspace compilation errors like: > >error: field ‘in’ has incomplete type >struct in_addr in; > >+#include Patch 36/45 included linux/in.h instead of linux/if.h for addressing "in has incomplete type". Should this be used here too? --

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Chanwoo Choi
Hi Charles, On 02/17/2015 01:48 AM, Chanwoo Choi wrote: > Hi Charles, > > > On Tue, Feb 17, 2015 at 12:41 AM, Charles Keepax > wrote: >> arizona_extcon_do_magic does not lend a lot of clarity to the purpose >> of the function, and as all the registers used are described in the >> datasheet

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Rusty Russell
Andrey Ryabinin writes: > On 02/16/2015 05:58 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> This feature let us to detect accesses out of bounds of >>> global variables. This will work as for globals in kernel >>> image, so for globals in modules. Currently this won't work >>> for

Re: [PATCH] module: do not print allocation-fail warning on bogus user buffer size

2015-02-16 Thread Rusty Russell
"Kirill A. Shutemov" writes: > init_module(2) passes user-specified buffer length directly to > vmalloc(). It makes warn_alloc_failed() to print out a lot of info into > dmesg if user specified insane size, like -1. > > Let's silence the warning. It doesn't add much value to -ENOMEM return >

Re: [PATCH RESEND 1/12] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Dave Chinner
On Tue, Feb 17, 2015 at 12:47:48AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > FALLOC_FL_INSERT_RANGE command is the opposite command of > FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want to > add some data in the middle of file. FALLOC_FL_INSERT_RANGE will

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
On Mon, Feb 16, 2015 at 06:32:54PM -0500, Mike Snitzer wrote: > On Mon, Feb 16 2015 at 6:05pm -0500, > Mikko Rapeli wrote: > > > Fixes compilation error: > > > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ > > What userspace code are you compiling? Do you have a feel

Re: [PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mike Snitzer
On Mon, Feb 16 2015 at 6:05pm -0500, Mikko Rapeli wrote: > Fixes compilation error: > > linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ What userspace code are you compiling? Do you have a feel for when this stopped working? -- To unsubscribe from this list: send the line

[PATCH 02/45] scripts/headers.sh: add verbose option to make calls if defined

2015-02-16 Thread Mikko Rapeli
Useful when debugging the scripts. Signed-off-by: Mikko Rapeli --- scripts/headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/headers.sh b/scripts/headers.sh index 95ece06..aa62fd8 100755 --- a/scripts/headers.sh +++ b/scripts/headers.sh @@ -7,7 +7,7 @@ set

[PATCH 08/45] nouveau_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index 0d7608d..4baf959

[PATCH 06/45] drm_mode.h: include stdint.h and linux/types.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a0db2d4a..c55dfdf 100644 ---

[PATCH 10/45] r128_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/r128_drm.h

[PATCH 11/45] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index

[PATCH 16/45] hsi_char.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: linux/hsi/hsi_char.h:51:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/hsi/hsi_char.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/hsi/hsi_char.h

[PATCH 18/45] cld.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/nfsd/cld.h:40:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/nfsd/cld.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/nfsd/cld.h b/include/uapi/linux/nfsd/cld.h index f14a9ab..9f60f9c

[PATCH 15/45] dm-log-userspace.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/dm-log-userspace.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/dm-log-userspace.h

[PATCH 20/45] sctp.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/sctp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index ce70fe6..9fd31cf 100644 ---

[PATCH 28/45] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘__kernel_key_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/ipcbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/ipcbuf.h b/include/uapi/asm-generic/ipcbuf.h index 3dbcc1e..909f825

[PATCH 39/45] include/uapi/sound/asequencer.h: include sound/asound.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘snd_seq_client_type_t’ snd_seq_client_type_t type; /* client type */ Signed-off-by: Mikko Rapeli --- include/uapi/sound/asequencer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/sound/asequencer.h

[PATCH 26/45] gntdev.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/xen/gntdev.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntdev.h b/include/uapi/xen/gntdev.h index 5304bd3..f724f75 100644 ---

[PATCH 21/45] scsi_bsg_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h index

[PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

2015-02-16 Thread Mikko Rapeli
The DECLARE_BITMAP macro is not available in userspace headers. Fixes userspace compile error: error: expected specifier-qualifier-list before ‘DECLARE_BITMAP’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/emu10k1.h | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 34/45] include/uapi/asm-generic/signal.h: hide sigset_t definition in userspace

2015-02-16 Thread Mikko Rapeli
It is already defined by libc headers in /usr/include/i386-linux-gnu/sys/select.h Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index

[PATCH 36/45] include/uapi/linux/netfilter.h: include in.h and in6.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compile errors like: error: field ‘in’ has incomplete type error: field ‘in6’ has incomplete type Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/netfilter.h

[PATCH 23/45] scsi_netlink_fc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_netlink_fc.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/scsi/scsi_netlink_fc.h

[PATCH 22/45] scsi_netlink.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_netlink.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi/scsi/scsi_netlink.h

[PATCH 25/45] gntalloc.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Signed-off-by: Mikko Rapeli --- include/uapi/xen/gntalloc.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/xen/gntalloc.h b/include/uapi/xen/gntalloc.h index 76bd580..184df7e 100644 ---

[PATCH 24/45] hdspm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/hdspm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index d956c35..f799828 100644 ---

[PATCH 19/45] rds.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/rds.h:96:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/rds.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644 ---

[PATCH 37/45] include/uapi/linux/socket.h: include sys/socket.h in userspace

2015-02-16 Thread Mikko Rapeli
This libc header has sockaddr definition for userspace. Fixes compilation errors like: error: field ‘ifru_addr’ has incomplete type struct sockaddr ifru_addr; Signed-off-by: Mikko Rapeli --- include/uapi/linux/socket.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 42/45] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h always

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors in userspace like: error: unknown type name ‘__be32’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/rds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 7ff0c70..47b1ede 100644 ---

[PATCH 30/45] include/uapi/asm-generic/shmbuf.h: include fixes

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘shm_perm’ has incomplete type struct ipc64_perm shm_perm; /* operation perms */ error: unknown type name ‘size_t’ error: unknown type name ‘__kernel_time_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/shmbuf.h | 6 ++ 1

[PATCH 44/45] nf_conntrack_tuple_common.h: include linux/types.h and linux/netfilter.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: unknown type name ‘__be16’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter/nf_conntrack_tuple_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/netfilter/nf_conntrack_tuple_common.h

[PATCH 32/45] drm/i810_drm.h: include drm/drm.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: array type has incomplete element type struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/i810_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/i810_drm.h

[PATCH 38/45] include/uapi/linux/agpgart.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/agpgart.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/agpgart.h b/include/uapi/linux/agpgart.h index 4e828cf..f525104 100644 ---

[PATCH 35/45] include/uapi/sound/asound.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler errors like: error: field ‘trigger_tstamp’ has incomplete type error: invalid application of ‘sizeof’ to incomplete t ype ‘struct timespec’ Signed-off-by: Mikko Rapeli --- include/uapi/sound/asound.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 33/45] include/uapi/asm-generic/signal.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler warning: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/signal.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/asm-generic/signal.h b/include/uapi/asm-generic/signal.h index 9df61f1..8a341a2 100644 ---

[no subject]

2015-02-16 Thread Veneisha Johnson
Brauchen Sie Finanzierung? Brauchen Sie ein Darlehen für Geschäfts- oder persönliche Bedürfnisse und Projektfinanzierung? Wollen Sie Ihr Geschäft zu refinanzieren? Unser Unternehmen ist in den Vereinigten Staaten & Europa. Wir bieten Ihnen einen Kredit für jede Person oder Firma mit einem

[PATCH 40/45] include/uapi/sound/emu10k1.h: include sound/asound.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘id’ has incomplete type struct snd_ctl_elem_id id; /* full control ID definition */ Signed-off-by: Mikko Rapeli --- include/uapi/sound/emu10k1.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 31/45] asm-generic/sembuf.h: include asm/posix_types.h and asm/ipcbuf.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘msg_perm’ has incomplete type struct ipc64_perm msg_perm; error: unknown type name ‘__kernel_ulong_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/sembuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 45/45] include/uapi/asm-generic/ucontext.h: include signal.h and sigcontext.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compiler errors: error: unknown type name ‘stack_t’ error: field ‘uc_mcontext’ has incomplete type struct sigcontext uc_mcontext; error: unknown type name ‘sigset_t’ Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 29/45] include/uapi/asm-generic/msgbuf.h: include asm/ipcbuf.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘msg_perm’ has incomplete type struct ipc64_perm msg_perm Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/msgbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/asm-generic/msgbuf.h

[PATCH 43/45] include/uapi/linux/netfilter_bridge.h: include if.h

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘in’ has incomplete type struct in_addr in; Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter_bridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/netfilter_bridge.h

[PATCH 17/45] ebtables.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/netfilter_bridge/ebtables.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/linux/netfilter_bridge/ebtables.h

[PATCH 27/45] include/uapi/linux/sysctl.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/sysctl.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index 43aaba1..b7b344f 100644 ---

[PATCH 14/45] sis_drm.h: hide sis_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h index

[PATCH 09/45] radeon_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 50d0fb4..4d8ed03 100644

[PATCH 12/45] via_drm.h: hide struct via_file_private in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644 ---

[PATCH 13/45] savage_drm.h: include

2015-02-16 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 07/45] exynos_drm.h: include stdint.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 5575ed1..03d094d

[PATCH 04/45] scripts/headers_compile_test.sh: compile test script for exported headers

2015-02-16 Thread Mikko Rapeli
Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for all other header files that they depend on, and in general would compile. For each header file exported to userspace, this script creates a simple .c file which

[PATCH 03/45] headers_install.sh: enhance error handling

2015-02-16 Thread Mikko Rapeli
Exit with error if using undefined variables or if any sub command fails with error return value. unidef needs special handling since but this can be done without the trap. Enables exaniming intermediate files if some commands failed. Signed-off-by: Mikko Rapeli --- scripts/headers_install.sh |

[PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-16 Thread Mikko Rapeli
Fixes compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index b0b8556..8f4488f 100644 --- a/include/uapi/drm/drm.h

[PATCH RFC v02 00/45] Compile test and fixes for exported header files

2015-02-16 Thread Mikko Rapeli
v2: added cross compiler support with CROSS_COMPILE, detecting libc and GCC headers from compiler, more header file fixes v1: https://lkml.org/lkml/2014/8/21/665 Users of kernel header files would be happier if they did not contain kernel specific parts and would contain #include statements for

[PATCH 01/45] Makefile: propagate verbose options

2015-02-16 Thread Mikko Rapeli
Usefull when debugging the make scripts. Signed-off-by: Mikko Rapeli --- Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4e93284..c1b515d 100644 --- a/Makefile +++ b/Makefile @@ -912,13 +912,13 @@ quiet_cmd_link-vmlinux = LINK$@

Re: mmc: Driver Strength Device Property

2015-02-16 Thread Arend van Spriel
On 02/16/15 22:47, Adrian Hunter wrote: On 16/02/2015 7:47 p.m., Philip Rakity wrote: On Feb 16, 2015, at 5:39 PM, Arend van Spriel wrote: On 02/16/15 15:25, Adrian Hunter wrote: I am in the process of adding an ACPI Device Property to specify the driver strength (aka drive strength,

Re: n900 audio: any ideas how to get headset speaker to work?

2015-02-16 Thread Patrik Bachan aka DiGGiT
2015-02-16 10:57 GMT+01:00 Pavel Machek : > Ahoj! > >> > By default, output goes to loudspeaker (top right relative to >> > keyboard). Any ideas how to switch it to the speaker on the left or >> > wired headset? Because I suspect that echo cancelation is not going to >> > be simple... >> >

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