[PATCH 12/19] [media] uvc_driver: Move six assignments in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:25:57 +0100 Move the assignments for six local variables so that these statements will only be executed if memory allocations succeeded by this function. Signed-off-by: Markus Elfring

[PATCH 12/19] [media] uvc_driver: Move six assignments in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:25:57 +0100 Move the assignments for six local variables so that these statements will only be executed if memory allocations succeeded by this function. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 15 ++- 1

[PATCH 11/19] [media] uvc_driver: Delete an unnecessary variable initialisation in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:02:46 +0100 The local variable "streaming" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 11/19] [media] uvc_driver: Delete an unnecessary variable initialisation in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:02:46 +0100 The local variable "streaming" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1

[PATCH 10/19] [media] uvc_driver: Return -ENOMEM after a failed kzalloc() call in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:00:17 +0100 Use the return code "-ENOMEM" (instead of "-EINVAL") after a call of the function "kzalloc" failed here. Signed-off-by: Markus Elfring ---

[PATCH 10/19] [media] uvc_driver: Return -ENOMEM after a failed kzalloc() call in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:00:17 +0100 Use the return code "-ENOMEM" (instead of "-EINVAL") after a call of the function "kzalloc" failed here. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 09/19] [media] uvc_driver: Less function calls in uvc_parse_streaming() after error detection

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 15:45:31 +0100 The kfree() function was called in a few cases by the uvc_parse_streaming() function during error handling even if the passed data structure member contained a null pointer. Adjust jump targets according

[PATCH 09/19] [media] uvc_driver: Less function calls in uvc_parse_streaming() after error detection

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 15:45:31 +0100 The kfree() function was called in a few cases by the uvc_parse_streaming() function during error handling even if the passed data structure member contained a null pointer. Adjust jump targets according to the Linux coding style

[PATCH 08/19] [media] uvc_driver: Rename a jump label in uvc_scan_fallback()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:57:12 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 9 - 1 file changed, 4

[PATCH 08/19] [media] uvc_driver: Rename a jump label in uvc_scan_fallback()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:57:12 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 07/19] [media] uvc_driver: Rename a jump label in uvc_probe()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:54:15 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 15 +++ 1 file

[PATCH 07/19] [media] uvc_driver: Rename a jump label in uvc_probe()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:54:15 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH 06/19] [media] uvc_driver: Add some spaces for better code readability

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:37:17 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 62

[PATCH 06/19] [media] uvc_driver: Add some spaces for better code readability

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:37:17 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 62 +++--- 1 file changed, 31

[PATCH 05/19] [media] uvc_driver: Enclose 24 expressions for the sizeof operator by parentheses

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:05:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. WARNING: sizeof … should be sizeof(…) Thus

[PATCH 05/19] [media] uvc_driver: Enclose 24 expressions for the sizeof operator by parentheses

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:05:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. WARNING: sizeof … should be sizeof(…) Thus fix the affected source code

[PATCH 04/19] [media] uvc_driver: Adjust 28 checks for null pointers

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 09:40:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written … Thus

[PATCH 04/19] [media] uvc_driver: Adjust 28 checks for null pointers

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 09:40:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code

[PATCH 03/19] [media] uvc_driver: Adjust three function calls together with a variable assignment

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 08:05:58 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring

[PATCH 03/19] [media] uvc_driver: Adjust three function calls together with a variable assignment

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 08:05:58 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 10

[PATCH 02/19] [media] uvc_driver: Combine substrings for 48 messages

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 07:41:29 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines * Thus fix the affected source code places. * Improve indentation for passed parameters.

[PATCH 02/19] [media] uvc_driver: Combine substrings for 48 messages

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 07:41:29 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines * Thus fix the affected source code places. * Improve indentation for passed parameters. Signed-off-by: Markus Elfring

[PATCH 01/19] [media] uvc_driver: Use kmalloc_array() in uvc_simplify_fraction()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Dec 2016 21:10:16 +0100 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected

[PATCH 01/19] [media] uvc_driver: Use kmalloc_array() in uvc_simplify_fraction()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Dec 2016 21:10:16 +0100 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle

[PATCH 00/19] [media] USB Video Class driver: Fine-tuning for several function implementations

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 19:23:32 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (19): uvc_driver: Use kmalloc_array() in uvc_simplify_fraction() uvc_driver: Combine substrings for

[PATCH 00/19] [media] USB Video Class driver: Fine-tuning for several function implementations

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 19:23:32 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (19): uvc_driver: Use kmalloc_array() in uvc_simplify_fraction() uvc_driver: Combine substrings for 48 messages uvc_driver: Adjust

Re: [PATCH v2 1/4] vfio-mdev: Fix remove race

2016-12-25 Thread Kirti Wankhede
On 12/23/2016 1:51 AM, Alex Williamson wrote: > Using the mtty mdev sample driver we can generate a remove race by > starting one shell that continuously creates mtty devices and several > other shells all attempting to remove devices, in my case four remove > shells. The fault occurs in

Re: [PATCH v2 1/4] vfio-mdev: Fix remove race

2016-12-25 Thread Kirti Wankhede
On 12/23/2016 1:51 AM, Alex Williamson wrote: > Using the mtty mdev sample driver we can generate a remove race by > starting one shell that continuously creates mtty devices and several > other shells all attempting to remove devices, in my case four remove > shells. The fault occurs in

Re: [v2 5/7] x86: Add emulation code for UMIP instructions

2016-12-25 Thread Masami Hiramatsu
On Fri, 23 Dec 2016 17:37:43 -0800 Ricardo Neri wrote: > +static int __identify_insn(struct insn *insn) > +{ > + /* by getting modrm we also get the opcode */ > + insn_get_modrm(insn); > + if (insn->opcode.bytes[0] != 0xf) > + return

Re: [v2 5/7] x86: Add emulation code for UMIP instructions

2016-12-25 Thread Masami Hiramatsu
On Fri, 23 Dec 2016 17:37:43 -0800 Ricardo Neri wrote: > +static int __identify_insn(struct insn *insn) > +{ > + /* by getting modrm we also get the opcode */ > + insn_get_modrm(insn); > + if (insn->opcode.bytes[0] != 0xf) > + return -EINVAL; > + > + if

[tip:timers/urgent 2/4] include/linux/futex.h:10:51: error: unknown type name 'ktime_t'

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 6.2.0

[tip:timers/urgent 2/4] include/linux/futex.h:10:51: error: unknown type name 'ktime_t'

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 6.2.0

Re: [PATCH v3 1/5] include: Add definitions for sed

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > diff --git a/include/linux/sed.h b/include/linux/sed.h > > +/* > + * These constant values come from: > + * TCG Storage Architecture Core Spec v2.01 r1 > + * Section: 3.3 Interface Communications > + */ > +enum { > + TCG_SECP_00 = 0, Protocol 0 is not

Re: [PATCH v3 4/5] nvme: Implement resume_from_suspend and SED Allocation code.

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > @@ -1796,6 +1797,13 @@ static void nvme_reset_work(struct work_struct *work) > if (result) > goto out; > > + result = nvme_opal_initialize(>ctrl); > + if (result) > + goto out; It seems you always try to intialize

Re: [PATCH v3 1/5] include: Add definitions for sed

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > diff --git a/include/linux/sed.h b/include/linux/sed.h > > +/* > + * These constant values come from: > + * TCG Storage Architecture Core Spec v2.01 r1 > + * Section: 3.3 Interface Communications > + */ > +enum { > + TCG_SECP_00 = 0, Protocol 0 is not

Re: [PATCH v3 4/5] nvme: Implement resume_from_suspend and SED Allocation code.

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > @@ -1796,6 +1797,13 @@ static void nvme_reset_work(struct work_struct *work) > if (result) > goto out; > > + result = nvme_opal_initialize(>ctrl); > + if (result) > + goto out; It seems you always try to intialize

[PATCH] x86/e820: make e820_search_gap() static and remove unused variables

2016-12-25 Thread Wei Yang
e820_search_gap() is just used locally now and the start_addr and end_addr is fixed. Also gapstart is not checked in this function. The patch makes e820_search_gap() static and remove those unused variables. Signed-off-by: Wei Yang --- arch/x86/include/asm/e820.h |

[PATCH] x86/e820: make e820_search_gap() static and remove unused variables

2016-12-25 Thread Wei Yang
e820_search_gap() is just used locally now and the start_addr and end_addr is fixed. Also gapstart is not checked in this function. The patch makes e820_search_gap() static and remove those unused variables. Signed-off-by: Wei Yang --- arch/x86/include/asm/e820.h | 2 --

[tip:timers/urgent 2/4] kernel/time/tick-common.c:233:3: warning: 'next_event' may be used uninitialized in this function

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config) compiler:

[tip:timers/urgent 2/4] kernel/time/tick-common.c:233:3: warning: 'next_event' may be used uninitialized in this function

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config) compiler:

[GIT pull] time/timers: Type cleanups

2016-12-25 Thread Thomas Gleixner
On Sun, 25 Dec 2016, Thomas Gleixner wrote: > Linus, > > please pull the latest timers-urgent-for-linus git tree from: Sorry forgot to add [GIT pull] into the subject line. And forgot to wish you: Merry Christmas! Thanks, tglx

[GIT pull] time/timers: Type cleanups

2016-12-25 Thread Thomas Gleixner
On Sun, 25 Dec 2016, Thomas Gleixner wrote: > Linus, > > please pull the latest timers-urgent-for-linus git tree from: Sorry forgot to add [GIT pull] into the subject line. And forgot to wish you: Merry Christmas! Thanks, tglx

Re: [PATCH] mtd: mtdswap: use MTDSWAP_ECNT_MIN/MAX

2016-12-25 Thread Marek Vasut
On 12/24/2016 04:18 PM, Geliang Tang wrote: > On Fri, Dec 23, 2016 at 07:51:56PM +0100, Marek Vasut wrote: >> On 12/20/2016 02:54 PM, Geliang Tang wrote: >>> Since macros MTDSWAP_ECNT_MIN() and MTDSWAP_ECNT_MAX() have been >>> defined in mtdswap.c, use them instead of open-coding. >>> >>>

Re: [PATCH] mtd: mtdswap: use MTDSWAP_ECNT_MIN/MAX

2016-12-25 Thread Marek Vasut
On 12/24/2016 04:18 PM, Geliang Tang wrote: > On Fri, Dec 23, 2016 at 07:51:56PM +0100, Marek Vasut wrote: >> On 12/20/2016 02:54 PM, Geliang Tang wrote: >>> Since macros MTDSWAP_ECNT_MIN() and MTDSWAP_ECNT_MAX() have been >>> defined in mtdswap.c, use them instead of open-coding. >>> >>>

[GIT pull] smp/hotplug: Removal of notifiers

2016-12-25 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus This is the final cleanup of the hotplug notifier infrastructure. The series has been reintgrated in the last two days because there came a new

[GIT pull] smp/hotplug: Removal of notifiers

2016-12-25 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus This is the final cleanup of the hotplug notifier infrastructure. The series has been reintgrated in the last two days because there came a new

[PATCH] clean_bdev_aliases: Prevent cleaning blocks that are not in block range

2016-12-25 Thread Chandan Rajendra
The first block to be cleaned may start at a non-zero page offset. In such a scenario clean_bdev_aliases() will end up cleaning blocks that do not fall in the range of blocks to be cleaned. This commit fixes the issue by skipping blocks that do not fall in valid block range. Signed-off-by:

[PATCH] clean_bdev_aliases: Prevent cleaning blocks that are not in block range

2016-12-25 Thread Chandan Rajendra
The first block to be cleaned may start at a non-zero page offset. In such a scenario clean_bdev_aliases() will end up cleaning blocks that do not fall in the range of blocks to be cleaned. This commit fixes the issue by skipping blocks that do not fall in valid block range. Signed-off-by:

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-12-25 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 10 months

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-12-25 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 10 months

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-12-25 Thread Ralf Baechle
On Sun, Dec 25, 2016 at 09:16:16AM +0800, kbuild test robot wrote: (dropping Markos who's email address is no longer valid from the cc list.) > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-12-25 Thread Ralf Baechle
On Sun, Dec 25, 2016 at 09:16:16AM +0800, kbuild test robot wrote: (dropping Markos who's email address is no longer valid from the cc list.) > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

[tip:smp/urgent] irqchip/armada-xp: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 008b69e4d52f2cbee3ed0d0502edd78155000b1a Gitweb: http://git.kernel.org/tip/008b69e4d52f2cbee3ed0d0502edd78155000b1a Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:57 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] irqchip/armada-xp: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 008b69e4d52f2cbee3ed0d0502edd78155000b1a Gitweb: http://git.kernel.org/tip/008b69e4d52f2cbee3ed0d0502edd78155000b1a Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:57 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:44 +0100 irqchip/armada-xp:

[tip:smp/urgent] irqchip/gic: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 6896bcd198df04777820cab4acc70142e87d5ce0 Gitweb: http://git.kernel.org/tip/6896bcd198df04777820cab4acc70142e87d5ce0 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:56 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] irqchip/gic: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 6896bcd198df04777820cab4acc70142e87d5ce0 Gitweb: http://git.kernel.org/tip/6896bcd198df04777820cab4acc70142e87d5ce0 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:56 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:44 +0100 irqchip/gic:

[tip:smp/urgent] coresight/etm3/4x: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Gitweb: http://git.kernel.org/tip/36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:55 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] cpu/hotplug: Cleanup state names

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 73c1b41e63f040e92669e61a02c7893933bfe743 Gitweb: http://git.kernel.org/tip/73c1b41e63f040e92669e61a02c7893933bfe743 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:54 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] coresight/etm3/4x: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Gitweb: http://git.kernel.org/tip/36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:55 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:44 +0100 coresight/etm3/4x:

[tip:smp/urgent] cpu/hotplug: Cleanup state names

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 73c1b41e63f040e92669e61a02c7893933bfe743 Gitweb: http://git.kernel.org/tip/73c1b41e63f040e92669e61a02c7893933bfe743 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:54 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:44 +0100 cpu/hotplug:

Re: [PATCH v3 2/2] drivers: net: ethernet: 3com: fix return value

2016-12-25 Thread Sergei Shtylyov
Hello! On 12/25/2016 3:30 AM, Thomas Preisner wrote: In some cases the return value of a failing function is not being used and the function typhoon_init_one() returns another negative error code instead. Signed-off-by: Thomas Preisner Signed-off-by: Milan

[tip:smp/urgent] staging/lustre/libcfs: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 7b737965b33188bd3dbb44e938535c4006d97fbb Gitweb: http://git.kernel.org/tip/7b737965b33188bd3dbb44e938535c4006d97fbb Author: Anna-Maria Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:52 +0100 Committer: Thomas Gleixner CommitDate:

[tip:smp/urgent] cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Gitweb: http://git.kernel.org/tip/530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:53 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

Re: [PATCH v3 2/2] drivers: net: ethernet: 3com: fix return value

2016-12-25 Thread Sergei Shtylyov
Hello! On 12/25/2016 3:30 AM, Thomas Preisner wrote: In some cases the return value of a failing function is not being used and the function typhoon_init_one() returns another negative error code instead. Signed-off-by: Thomas Preisner Signed-off-by: Milan Stephan ---

[tip:smp/urgent] staging/lustre/libcfs: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 7b737965b33188bd3dbb44e938535c4006d97fbb Gitweb: http://git.kernel.org/tip/7b737965b33188bd3dbb44e938535c4006d97fbb Author: Anna-Maria Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:52 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:43 +0100

[tip:smp/urgent] cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Gitweb: http://git.kernel.org/tip/530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:53 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:43 +0100 cpu/hotplug: Remove

[tip:smp/urgent] scsi/bnx2i: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e210faa2359f92eb2e417cd8462eb980a4dbb172 Gitweb: http://git.kernel.org/tip/e210faa2359f92eb2e417cd8462eb980a4dbb172 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:51 +0100 Committer: Thomas Gleixner CommitDate:

[RFC PATCH] input: Add disable sysfs entry for every input device

2016-12-25 Thread Pali Rohár
This patch allows user to disable events from any input device so events would not be delivered to userspace. Currently there is no way to disable particular input device by kernel. User for different reasons would need it for integrated PS/2 keyboard or touchpad in notebook or touchscreen on

[tip:smp/urgent] scsi/bnx2i: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e210faa2359f92eb2e417cd8462eb980a4dbb172 Gitweb: http://git.kernel.org/tip/e210faa2359f92eb2e417cd8462eb980a4dbb172 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:51 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:43 +0100

[RFC PATCH] input: Add disable sysfs entry for every input device

2016-12-25 Thread Pali Rohár
This patch allows user to disable events from any input device so events would not be delivered to userspace. Currently there is no way to disable particular input device by kernel. User for different reasons would need it for integrated PS/2 keyboard or touchpad in notebook or touchscreen on

[tip:smp/urgent] scsi/bnx2fc: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Gitweb: http://git.kernel.org/tip/c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:50 +0100 Committer: Thomas Gleixner CommitDate:

[tip:smp/urgent] scsi/bnx2fc: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Gitweb: http://git.kernel.org/tip/c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:50 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:42 +0100

[tip:smp/urgent] cpu/hotplug: Prevent overwriting of callbacks

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: dc280d93623927570da279e99393879dbbab39e7 Gitweb: http://git.kernel.org/tip/dc280d93623927570da279e99393879dbbab39e7 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:49 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] cpu/hotplug: Prevent overwriting of callbacks

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: dc280d93623927570da279e99393879dbbab39e7 Gitweb: http://git.kernel.org/tip/dc280d93623927570da279e99393879dbbab39e7 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:49 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:42 +0100 cpu/hotplug:

[tip:smp/urgent] ARM/imx/mmcd: Fix broken cpu hotplug handling

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: a051f220d6b9bf9367695e2c319ccc3712b631ee Gitweb: http://git.kernel.org/tip/a051f220d6b9bf9367695e2c319ccc3712b631ee Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:48 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] ARM/imx/mmcd: Fix broken cpu hotplug handling

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: a051f220d6b9bf9367695e2c319ccc3712b631ee Gitweb: http://git.kernel.org/tip/a051f220d6b9bf9367695e2c319ccc3712b631ee Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:48 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec 2016 10:47:40 +0100 ARM/imx/mmcd: Fix

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-12-25 Thread Heinrich Schuchardt
The patch adds a new property "linux,hotpluggable" to memory nodes of the device tree. memory@0 { reg = <0x0 0x0100 0x0 0x7f00>; linux,hotpluggable; } Memory areas marked by this property can later be disabled using the hotplugging API. Especially for virtual machines

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-12-25 Thread Heinrich Schuchardt
The patch adds a new property "linux,hotpluggable" to memory nodes of the device tree. memory@0 { reg = <0x0 0x0100 0x0 0x7f00>; linux,hotpluggable; } Memory areas marked by this property can later be disabled using the hotplugging API. Especially for virtual machines

[snd-usb-audio] BUG: NULL pointer dereference at 0000000000000070

2016-12-25 Thread Dave Young
Hi, With recent mainline kernel, I see a BUG, it is easy to reproduce, just plugging the usb microphone, bisected the first bad commit is: 16200948d8353fe29a473a394d7d26790deae0e7 is the first bad commit commit 16200948d8353fe29a473a394d7d26790deae0e7 Author: Takashi Iwai Date:

[snd-usb-audio] BUG: NULL pointer dereference at 0000000000000070

2016-12-25 Thread Dave Young
Hi, With recent mainline kernel, I see a BUG, it is easy to reproduce, just plugging the usb microphone, bisected the first bad commit is: 16200948d8353fe29a473a394d7d26790deae0e7 is the first bad commit commit 16200948d8353fe29a473a394d7d26790deae0e7 Author: Takashi Iwai Date: Mon Dec 5

Re: undefined reference to `_text'

2016-12-25 Thread Stafford Horne
On Sun, Dec 25, 2016 at 03:21:43PM +0800, kbuild test robot wrote: > Hi Randy, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba > commit:

Re: undefined reference to `_text'

2016-12-25 Thread Stafford Horne
On Sun, Dec 25, 2016 at 03:21:43PM +0800, kbuild test robot wrote: > Hi Randy, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba > commit:

[PATCH] drivers: watchdog: pika_wdt: add __ro_after_init to ident

2016-12-25 Thread Bhumika Goyal
The object ident of type watchdog_info structure is not modified after getting initialized by pikawdt_init. Apart from getting referenced in init it is also passed as an argument to the function copy_to_user but this argument is of type const void *. Therefore add __ro_after_init to its

[PATCH] drivers: watchdog: pika_wdt: add __ro_after_init to ident

2016-12-25 Thread Bhumika Goyal
The object ident of type watchdog_info structure is not modified after getting initialized by pikawdt_init. Apart from getting referenced in init it is also passed as an argument to the function copy_to_user but this argument is of type const void *. Therefore add __ro_after_init to its

<    1   2   3