[PATCH] PCI: hotplug: use list_for_each_entry*

2015-12-12 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/pci/hotplug/ibmphp_core.c | 21 ++--- drivers/pci/hotplug/ibmphp_ebda.c | 24 +---

Re: [linux-sunxi] [PATCH v2] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-12-12 Thread Priit Laes
On Fri, 2015-12-11 at 23:45 +0100, Marcus Weseloh wrote: [...] > > diff --git a/Documentation/devicetree/bindings/spi/spi-sun4i.txt > b/Documentation/devicetree/bindings/spi/spi-sun4i.txt > index de827f5..d6c55fc 100644 > --- a/Documentation/devicetree/bindings/spi/spi-sun4i.txt > +++

Re: [PATCH 2/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-12 Thread Sanidhya Solanki
Patch contains the CamelCase fixes & Macro fixes that checkpatch prompted for, as asked by the TODO. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_driver.c | 56 - drivers/staging/dgnc/dgnc_driver.h | 25 ++-- drivers/staging/dgnc/dgnc_mgmt.c |

Re: [PATCH] drivers:pci:host Fix missing line after declarations

2015-12-12 Thread Thomas Petazzoni
Dear Bogicevic Sasa, On Sat, 12 Dec 2015 03:41:48 -0800, Bogicevic Sasa wrote: > This fixes few warnings about missing line after declarations and one > no whitespace is necesarry before that "(" > > Signed-off-by: Bogicevic Sasa I am not a big fan of this struct rule

[patch] regulator: pv88090: logical vs bitwise AND typo

2015-12-12 Thread Dan Carpenter
These were supposed to be bitwise AND instead of logical. Also kernel style is for the operator to be on the first line and I removed some extra parenthesis. Fixes: c90456e36d9c ('regulator: pv88090: new regulator driver') Signed-off-by: Dan Carpenter --- At the end we

[patch 2/2] regmap: missing case statement

2015-12-12 Thread Dan Carpenter
This new code is unreachable. Presumably there was supposed to be a case statement there similar to the earlier code. Fixes: afcc00b91f18 ('regmap: add 64-bit mode support') Signed-off-by: Dan Carpenter diff --git a/drivers/base/regmap/regmap.c

[patch 1/2] regmap: shift wrapping bugs in 64 bit code

2015-12-12 Thread Dan Carpenter
We should cast these to 64bit so that we don't truncate away the high bits. Fixes: afcc00b91f18 ('regmap: add 64-bit mode support') Signed-off-by: Dan Carpenter --- Not tested. diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index

Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var

2015-12-12 Thread Saurabh Sengar
On 12 December 2015 at 14:10, Dan Carpenter wrote: > On Wed, Dec 09, 2015 at 10:47:18AM +0530, Sudip Mukherjee wrote: >> On Mon, Dec 07, 2015 at 06:35:11PM +0530, Saurabh Sengar wrote: >> > This patch does the following: >> > * changed the complicated if statements to

Re: [RFC] RHEL 7.1: soft lockup when flush tlb

2015-12-12 Thread Xishi Qiu
On 2015/12/12 17:27, Nikolay Borisov wrote: > > > On 12/12/2015 10:52 AM, Xishi Qiu wrote: >> [60050.458309] kjournald starting. Commit interval 5 seconds >> [60076.821224] EXT3-fs (sda1): using internal journal >> [60098.811865] EXT3-fs (sda1): mounted filesystem with ordered data mode >>

Re: [V6 PATCH 0/6] Fix race issues among panic, NMI and crash_kexec

2015-12-12 Thread Borislav Petkov
On Thu, Dec 10, 2015 at 10:46:24AM +0900, Hidehiro Kawai wrote: > Hidehiro Kawai (6): > panic/x86: Fix re-entrance problem due to panic on NMI > panic/x86: Allow CPUs to save registers even if they are looping in NMI > context > kexec: Fix race between panic() and crash_kexec()

[PATCH v5 2/3] tty: Add software emulated RS485 support for 8250

2015-12-12 Thread Matwey V. Kornilov
Implementation of software emulation of RS485 direction handling is based on omap_serial driver. Before and after transmission RTS is set to the appropriate value. Note that before calling serial8250_em485_init the caller has to ensure that UART will interrupt when shift register empty.

[PATCH v5 1/3] tty: Move serial8250_stop_rx in front of serial8250_start_tx

2015-12-12 Thread Matwey V. Kornilov
Software RS485 emultaion is to be added in the following commit. serial8250_start_tx will need to refer serial8250_stop_rx. Move serial8250_stop_rx in front of serial8250_start_tx in order to avoid function forward declaration. Signed-off-by: Matwey V. Kornilov ---

[PATCH v5 3/3] tty: 8250_omap: Use software emulated RS485 direction control

2015-12-12 Thread Matwey V. Kornilov
Use software emulated RS485 direction control to provide RS485 API existed in omap_serial driver. Note that 8250_omap issues interrupt on shift register empty which is single prerequesite for using software emulated RS485. Signed-off-by: Matwey V. Kornilov ---

[PATCH] drivers:pci:host Fix missing line after declarations

2015-12-12 Thread Bogicevic Sasa
This fixes few warnings about missing line after declarations and one no whitespace is necesarry before that "(" Signed-off-by: Bogicevic Sasa --- drivers/pci/host/pci-imx6.c | 2 +- drivers/pci/host/pci-mvebu.c | 3 +++ drivers/pci/host/pcie-rcar.c | 2 ++ 3 files

Re: [lm-sensors] LM90 driver and ti tmp461 detection

2015-12-12 Thread Andreas Werner
>Hallo Andreas, > > On Thu, 10 Dec 2015 18:12:31 +0100, Andreas Werner wrote: >> thanks for the register dump > > Can you please share the register dump of your TMP461 with us? > Hi, yes for sure. Currently i have just a evaluation board my CPU without this sensor, but I have received a tmp461

Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var

2015-12-12 Thread Dan Carpenter
On Wed, Dec 09, 2015 at 10:47:18AM +0530, Sudip Mukherjee wrote: > On Mon, Dec 07, 2015 at 06:35:11PM +0530, Saurabh Sengar wrote: > > This patch does the following: > > * changed the complicated if statements to simple case statements > > * in case of E_DEFAULT, no need to return error as

[PATCH] Staging: comedi: fixed unwrapped commit description

2015-12-12 Thread Siddharth Ramesh
Fixed an unwrapped commit description. Signed-off-by: Siddharth Ramesh --- drivers/staging/comedi/comedi.h | 62 ++--- 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/drivers/staging/comedi/comedi.h

[RFC] REHL 7.1: soft lockup when flush tlb

2015-12-12 Thread Xishi Qiu
[60050.458309] kjournald starting. Commit interval 5 seconds [60076.821224] EXT3-fs (sda1): using internal journal [60098.811865] EXT3-fs (sda1): mounted filesystem with ordered data mode [60138.687054] kjournald starting. Commit interval 5 seconds [60143.888627] EXT3-fs (sda1): using internal

Re: [RFC] REHL 7.1: soft lockup when flush tlb

2015-12-12 Thread Nikolay Borisov
On 12/12/2015 10:52 AM, Xishi Qiu wrote: > [60050.458309] kjournald starting. Commit interval 5 seconds > [60076.821224] EXT3-fs (sda1): using internal journal > [60098.811865] EXT3-fs (sda1): mounted filesystem with ordered data mode > [60138.687054] kjournald starting. Commit interval 5

Re: [PATCH 2/6] nvmem: Add backwards compatibility support for older EEPROM drivers.

2015-12-12 Thread Wolfram Sang
> of the AT25 equivalent, which is why i removed it. So this API is > dying on its own. Yes, it is dying; but it is lying around, rotting, and smelling. I'd like to bury it away. > However, the NVMEM APIs are DT only, so are not a replacement for > memory_accessor. We need to keep

Re: README Cleanup Project

2015-12-12 Thread Diego Viola
Why does the Linux kernel keep outdated cruft like this in tree? If you need lilo you can just run /sbin/lilo yourself, there is no need for this to be in the kernel, especially when the project is being phased out already. Should I send a patch removing all lilo entries from the project? Diego

Re: corruption causing crash in __queue_work

2015-12-12 Thread Nikolay Borisov
On 12/11/2015 09:14 PM, Mike Snitzer wrote: > On Fri, Dec 11 2015 at 1:00pm -0500, > Nikolay Borisov wrote: > >> On Fri, Dec 11, 2015 at 7:08 PM, Tejun Heo wrote: >>> >>> Hmmm... No idea why it didn't show up in the debug log but the only >>> way a

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-12 Thread Sanidhya Solanki
>From a1635ea5e75cb2f10728ae4ddf3a21567958e98f Mon Sep 17 00:00:00 2001 From: Sanidhya Solanki Date: Sat, 12 Dec 2015 02:20:03 -0500 Subject: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes Patch contains the spacing fixes that checkpatch prompted

Re: [RFC PATCH 1/2] thread_local_abi system call: caching current CPU number (x86)

2015-12-12 Thread Mathieu Desnoyers
- On Dec 11, 2015, at 1:56 PM, Michael Kerrisk mtk.manpa...@gmail.com wrote: > Hi Mathieu, > > On 12/10/2015 04:39 PM, Mathieu Desnoyers wrote: >> Expose a new system call allowing threads to register a userspace memory >> area where to store the current CPU number. Scheduler migration sets

[PATCH] drivers:pci Fix small spacing warnings

2015-12-12 Thread Bogicevic Sasa
This patch fixes a few spacing warnings like "missing space after..." "space prohibited at the start of the line" etc. I recorded objects with objdiff and diff didn't give no output between my working branch and staging-testing so all is good Signed-off-by: Bogicevic Sasa

[PATCH] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-12 Thread Vladimir Davydov
Memory cgroup reclaim can be interrupted with mem_cgroup_iter_break() once enough pages have been reclaimed, in which case, in contrast to a full round-trip over a cgroup sub-tree, the current position stored in mem_cgroup_reclaim_iter of the target cgroup does not get invalidated and so is left

Re: [PATCH v5 0/3] [media] Fix race between graph enumeration and entities registration

2015-12-12 Thread Mauro Carvalho Chehab
Em Fri, 11 Dec 2015 19:57:06 -0300 Javier Martinez Canillas escreveu: > Hello, > > This series fixes the issue of media device nodes being registered before > all the media entities and pads links are created so if user-space tries > to enumerate the graph too early, it

Re: Stupid git question...

2015-12-12 Thread Jeff Kirsher
On Fri, Dec 11, 2015 at 5:27 PM, Valdis Kletnieks wrote: > OK.. Here's the situation - I've got several sets of patches I'll probably > be cooking over the holidays, and I'm planning to base on linux-next (though > any other moving-target base has the same issues). > >

Re: [PATCH] Staging: comedi: fixed unwrapped commit description

2015-12-12 Thread Dan Carpenter
This is a terrible patch... :( Why would you think that's helpful. regards, dan carpenter -- 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

Re: [PATCHV2 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-12 Thread Borislav Petkov
On Thu, Dec 10, 2015 at 01:58:04PM -0800, Tony Luck wrote: > Copy the existing page fault fixup mechanisms to create a new table > to be used when fixing machine checks. Note: > 1) At this time we only provide a macro to annotate assembly code > 2) We assume all fixups will in code builtin to the

Re: [PATCH] staging: dgnc: Patch includes the checkpatch fixes

2015-12-12 Thread Sudip Mukherjee
On Sat, Dec 12, 2015 at 11:57:45AM +0300, Dan Carpenter wrote: > On Fri, Dec 11, 2015 at 09:24:16PM -0500, Sanidhya Solanki wrote: > > On Fri, 11 Dec 2015 16:02:33 +0300 > > Dan Carpenter wrote: > > > > > On Fri, Dec 11, 2015 at 03:21:49AM -0500, Sanidhya Solanki wrote:

Re: [lm-sensors] LM90 driver and ti tmp461 detection

2015-12-12 Thread Jean Delvare
Hallo Andreas, On Thu, 10 Dec 2015 18:12:31 +0100, Andreas Werner wrote: > thanks for the register dump :-) Can you please share the register dump of your TMP461 with us? Thanks, -- Jean Delvare SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var

2015-12-12 Thread Sudip Mukherjee
On Sat, Dec 12, 2015 at 11:40:25AM +0300, Dan Carpenter wrote: > On Wed, Dec 09, 2015 at 10:47:18AM +0530, Sudip Mukherjee wrote: > > On Mon, Dec 07, 2015 at 06:35:11PM +0530, Saurabh Sengar wrote: > > > This patch does the following: > > > * changed the complicated if statements to simple case

[PATCH] x86/entry/64_compat: Make labels local

2015-12-12 Thread Borislav Petkov
From: Borislav Petkov ... so that they don't appear as symbols in the final ELF. Signed-off-by: Borislav Petkov CC: Andy Lutomirski --- arch/x86/entry/entry_64_compat.S | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

Re: [PATCH] staging: dgnc: Patch includes the checkpatch fixes

2015-12-12 Thread Sudip Mukherjee
On Sat, Dec 12, 2015 at 01:12:21AM -0500, Sanidhya Solanki wrote: > Thank you everyone for your concern regarding my email client. > > Unfortunately, there is a bug in "git send-email" that leads to the gmail > SMTP server rejecting certain patches sent by the git command. Is it? I am using git

Re: [PATCH] Staging: speakup: varhandlers: cleanup of function spk_get_punc_var

2015-12-12 Thread Saurabh Sengar
On 12 December 2015 at 15:41, Sudip Mukherjee wrote: > On Sat, Dec 12, 2015 at 11:40:25AM +0300, Dan Carpenter wrote: >> On Wed, Dec 09, 2015 at 10:47:18AM +0530, Sudip Mukherjee wrote: >> > On Mon, Dec 07, 2015 at 06:35:11PM +0530, Saurabh Sengar wrote: >> > > This

Re: [PATCH 10/13] IB/srp: use the new CQ API

2015-12-12 Thread Christoph Hellwig
On Fri, Dec 11, 2015 at 12:59:01PM -0500, Doug Ledford wrote: > On 12/11/2015 09:22 AM, Christoph Hellwig wrote: > > Hi Bart, > > > > thanks for all the reviews. I've updated the git branch with your > > suggestions and reviewed-by tags. I'm going to wait a little bit > > longer for other

Re: [PATCH v2] staging: gdm72xx: fix address space warnings

2015-12-12 Thread Dan Carpenter
This fix isn't correct and Wim already fixed this. https://lkml.org/lkml/2015/12/11/221 regards, dan carpenter -- 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: [linux-sunxi] [PATCH v2] spi: dts: sun4i: Add support for inter-word wait cycles using the SPI Wait Clock Register

2015-12-12 Thread Marcus Weseloh
2015-12-12 10:19 GMT+01:00 Priit Laes : > On Fri, 2015-12-11 at 23:45 +0100, Marcus Weseloh wrote: > [...] >> +- sun4i,spi-word-wait-ns: hardware based delay in nanoseconds between >> + transmission of words > > Should be 'allwinner,spi-word-wait-ns' Thanks

[PATCH v5 0/3] tty: Introduce software RS485 direction control support

2015-12-12 Thread Matwey V. Kornilov
Changes from v4: - Add commit message to 1/3 Changes from v3: - Completely redesigned. Changes from v2: - Introduced SER_RS485_SOFTWARE to show that software implementation is being used - serial8250_rs485_config is located as required - Timers are used to implement delay_before and

Re: [PATCH 0/4] arm: dts: qcom-apq8064: add smem and hwspinlock support

2015-12-12 Thread Srinivas Kandagatla
On 12/12/15 00:22, Bjorn Andersson wrote: On Fri 11 Dec 10:26 PST 2015, Srinivas Kandagatla wrote: Hi Andy, Here are 3 patches for smem/hwspinlock which I have tested with QDSP on IFC6410. Also a fix from Ivan which I think can be taken aswell. As far as I can tell my patch for adding

Re: [PATCH 1/1] iio:adc128s052: add support for adc124s021

2015-12-12 Thread Jonathan Cameron
On 11/12/15 11:50, Martin Kepplinger wrote: > Am 2015-12-09 um 10:24 schrieb Oliver Stäbler: >> Signed-off-by: Oliver Stäbler > > If the datasheet is publicly available, please link to it in the commit > message, so people can easily verify this. > > Seems ok

Re: [PATCH] staging: dgnc: Patch includes the checkpatch fixes

2015-12-12 Thread Sanidhya Solanki
Sorry about Patch 1/3 having the header information. The rest should be fine. I broke up the patches as you requested. I can also confirm that git am gives me an error if the patch to be applied does not contain the header information. Specifically, "Patch format detection failed.". Yes, this

Re: README Cleanup Project

2015-12-12 Thread Richard Weinberger
On Sat, Dec 12, 2015 at 12:51 PM, Diego Viola wrote: > Why does the Linux kernel keep outdated cruft like this in tree? depends on the eye of the beholder. :-) > If you need lilo you can just run /sbin/lilo yourself, there is no > need for this to be in the kernel,

Re: [PATCH linux-next (v3) 1/3] MIPS: bcm963xx: Add Broadcom BCM963xx board nvram data structure

2015-12-12 Thread Simon Arlott
On 11/12/15 23:29, Jonas Gorski wrote: > On Fri, Dec 11, 2015 at 11:24 PM, Simon Arlott wrote: >> On 11/12/15 22:02, Jonas Gorski wrote: >>> On Fri, Dec 11, 2015 at 10:54 PM, Simon Arlott wrote: Broadcom BCM963xx boards have multiple nvram variants

Re: README Cleanup Project

2015-12-12 Thread Diego Viola
I agree, I would like to apologize for this drama, I never intended to create any flamewars or anything. I also have nothing against LILO itself which I used to use, it used to work great for me. I just love Linux and I want to do what I can (and my best) to try to improve it. Thanks, Diego On

Re: [PATCH 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-12 Thread Sergei Shtylyov
On 12/12/2015 4:19 AM, Geyslan G. Bem wrote: This patch removes unnecessary braces in single statement blocks at the same time as replaces the if statement with a ternary conditional. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem ---

Re: [PATCH 4/7] iscsi-target: Make a variable initialisation a bit more obvious in iscsi_create_default_params()

2015-12-12 Thread SF Markus Elfring
>> @@ -200,9 +200,8 @@ free_param: >> int iscsi_create_default_params(struct iscsi_param_list **param_list_ptr) >> { >> struct iscsi_param *param; >> -struct iscsi_param_list *pl; >> +struct iscsi_param_list *pl = kzalloc(sizeof(*pl), GFP_KERNEL); >> >> -pl =

Re: [PATCH] staging: netlogic: Coding Style Fix Comparison to NULL could be written with !

2015-12-12 Thread Benjamin Young
On Sat, Dec 12, 2015 at 06:45:59AM -0800, Benjamin Young wrote: > Fixed coding style for null comparisons in netlogic driver to be more > consistant > with the rest of the kernel coding style > > Signed-off-by: Benjamin Young > --- > drivers/staging/netlogic/xlr_net.c | 8

Re: [PATCH v2 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-12-12 Thread Jonathan Cameron
On 07/12/15 17:26, Andrew F. Davis wrote: > On 12/05/2015 12:21 PM, Jonathan Cameron wrote: >> On 02/12/15 19:57, Andrew F. Davis wrote: >>> Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. >>> This device detects reflected LED light fluctuations and presents an ADC >>> value

Re: [PATCH 1/3] iio: ina2xx: re-instate a sysfs show/store for the shunt resistor value

2015-12-12 Thread Jonathan Cameron
On 11/12/15 16:49, Marc Titinger wrote: > Different probe modules use different resistor values. The front-end > application may read a probe ID (from eeprom) and set the shunt value > accordingly. > > Signed-off-by: Marc Titinger Fair enough. Applied. > --- >

Re: [PATCH 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-12 Thread Alan Stern
On Fri, 11 Dec 2015, Geyslan G. Bem wrote: > This patch removes an infinite 'for' loop and makes use of the already > existing 'restart' tag instead, reducing one leading tab. > > The comments and code were corrected conforming coding style. > > Tested by compilation only. > Caught by

Re: [PATCH] usb: host: ehci-sched: silence checkpatch warning

2015-12-12 Thread Alan Stern
On Fri, 11 Dec 2015, Geyslan G. Bem wrote: > This patch moves comment into the else branch avoiding the following > misleading warning. > > "braces {} are not necessary for single statement blocks" > > Caught by checkpatch. > > Signed-off-by: Geyslan G. Bem > Suggested-by:

Re: [PATCH 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-12 Thread Vladimir Davydov
On Fri, Dec 11, 2015 at 02:42:54PM -0500, Johannes Weiner wrote: > On Thu, Dec 10, 2015 at 02:39:20PM +0300, Vladimir Davydov wrote: > > Signed-off-by: Vladimir Davydov > > Acked-by: Johannes Weiner > > Can we include a blurb for R-5-1 of cgroups.txt

Re: [PATCH 6/7] mm: free swap cache aggressively if memcg swap is full

2015-12-12 Thread Vladimir Davydov
On Fri, Dec 11, 2015 at 02:33:58PM -0500, Johannes Weiner wrote: > On Thu, Dec 10, 2015 at 02:39:19PM +0300, Vladimir Davydov wrote: > > Swap cache pages are freed aggressively if swap is nearly full (>50% > > currently), because otherwise we are likely to stop scanning anonymous > > when we near

Re: [PATCH] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-12 Thread Johannes Weiner
On Sat, Dec 12, 2015 at 04:34:02PM +0300, Vladimir Davydov wrote: > Memory cgroup reclaim can be interrupted with mem_cgroup_iter_break() > once enough pages have been reclaimed, in which case, in contrast to a > full round-trip over a cgroup sub-tree, the current position stored in >

Re: [PATCH 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-12 Thread Geyslan G. Bem
2015-12-12 13:15 GMT-03:00 Alan Stern : > On Fri, 11 Dec 2015, Geyslan G. Bem wrote: > >> This patch removes an infinite 'for' loop and makes use of the already >> existing 'restart' tag instead, reducing one leading tab. >> >> The comments and code were corrected

Congratulation

2015-12-12 Thread Western Union Money Transfer Office
Attention you have been awarded with the sum of $200,000 USD by the Western Union Money Transfer Office, As part of our Annual market promotions this Year @2015. Get back us for claim by filling the details stated here: 1. Name:__ 2. Address 3. Country:___ 4. Phone Number 5.

[PATCH 1/3] STAGING: COMEDI: Fixed format of comments in plx9080.h

2015-12-12 Thread Moritz König
This patch fixes the format of comments in plx9080.h. Signed-off-by: Moritz König Signed-off-by: Fabian Lang --- drivers/staging/comedi/drivers/plx9080.h | 132 ++- 1 file changed, 95 insertions(+), 37 deletions(-) diff

[PATCH 0/3] STAGING: COMEDI: checkpatch.pl cleanups in plx9080.h

2015-12-12 Thread Moritz König
This patchset fixes all the warnings and legitimate checks of checkpatch.pl in plx9080.h. The following warnings were fixed: * WARNING: Block comments use a trailing */ on a separate line * WARNING: Block comments use * on subsequent lines * WARNING: line over 80 characters The following

[PATCH 3/3] STAGING: COMEDI: Using kernel types in plx9080.h

2015-12-12 Thread Moritz König
This patch makes plx9080.h use kernel types. Signed-off-by: Moritz König Signed-off-by: Fabian Lang --- drivers/staging/comedi/drivers/plx9080.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/3] STAGING: COMEDI: Added spaces around binary operators in plx9080.h

2015-12-12 Thread Moritz König
This patch adds spaces around binary operators in plx9080.h. Signed-off-by: Moritz König Signed-off-by: Fabian Lang --- drivers/staging/comedi/drivers/plx9080.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 01/10] usb: host: ehci-sched: refactor scan_isoc function

2015-12-12 Thread Alan Stern
On Sat, 12 Dec 2015, Geyslan G. Bem wrote: > >> + if (q.itd->hw_transaction[uf] & > >> + ITD_ACTIVE(ehci)) > > > > The style used in this source file does not align continuation lines > > with open parens on the line

[PATCH v9 3/3] serial: 8250_dw: Do not use readl/writel before checking port iotype

2015-12-12 Thread Noam Camus
From: Noam Camus Direct call to readl()/writel() is checked against iotype and in case of UPIO_MEM32BE we use ioread32be()/iowrite32be() instead of them. Signed-off-by: Noam Camus --- drivers/tty/serial/8250/8250_dw.c | 12 ++-- 1 files changed,

[PATCH v9 1/3] serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()

2015-12-12 Thread Noam Camus
From: Noam Camus With the help of Heikki we take common code that makes sure LCR write wasn't ignored and put it in new function called dw8250_check_lcr(). This function serves 3 serial_out routines: dw8250_serial_out(), dw8250_serial_out32(), and dw8250_serial_outq(). This

[PATCH v9 2/3] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-12-12 Thread Noam Camus
From: Noam Camus Add support for UPIO_MEM32BE in addition to UPIO_MEM32. For big endian we use 2 new accessors similar to little endian, called dw8250_serial_out32be() and dw8250_serial_in32be(). Signed-off-by: Noam Camus ---

[PATCH v9 0/3] serial: 8250_dw add big endian support

2015-12-12 Thread Noam Camus
From: Noam Camus Add support for UPIO_MEM32BE in addition to UPIO_MEM32. v9 change: 1) split patch into check_lcr routine and then add big endian feature 2) add new iotype support for BE 32 bit 3) make each call to readl/writel depend on iotype V8 change: rebase on tty-next

Re: [RESEND RFC PATCH 0/2] Expose the PIO_ISR register on SAMA5D3

2015-12-12 Thread Jonathan Cameron
My address for Matt was out of date.. Here's hoping there is only one Matt Porter writing IIO drivers and trying a more recent email address. On 12/12/15 18:02, Jonathan Cameron wrote: > On 11/12/15 12:53, Linus Walleij wrote: >> Quoting extensively since I'm involving the linux-iio mailinglist.

[PATCH 0/7] iSCSI-target: Fine-tuning for three function implementations

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 15:25:20 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Use a variable initialisation in iscsi_set_default_param() directly Less checks in

[PATCH 7/7] iscsi-target: Make two variable initialisations a bit more obvious in iscsi_check_valuelist_for_support()

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 15:04:57 +0100 The variable "acceptor_values" and "proposer_values" were initialized by null pointers and immediately assigned values from input parameters by separate statements. Let us express the desired variable

[PATCH 6/7] iscsi-target: Delete unnecessary variable initialisations in iscsi_check_valuelist_for_support()

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 14:34:26 +0100 The variables "tmp1" and "tmp2" will eventually be set to appropriate pointers from a call of the strchr() function. Thus let us omit the explicit initialisation at the beginning. Signed-off-by: Markus

[PATCH] clk:gcc-msm8916: add missing mss_q6_bimc_axi clock

2015-12-12 Thread Srinivas Kandagatla
This clock is required for loading the qdsp firmware. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8916.c | 18 ++ include/dt-bindings/clock/qcom,gcc-msm8916.h | 1 + 2 files changed, 19 insertions(+) diff --git

[PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns -EINTR

2015-12-12 Thread Chris Mason
We have two reports of frequent crashes in btrfs where asserts in clear_page_dirty_for_io() were triggering on missing page locks. The crashes were much easier to trigger when processes were catching ctrl-c's, and after much debugging it really looked like lock_page was a noop. This recent

Re: [PATCH 2/4] mm: memcontrol: reign in the CONFIG space madness

2015-12-12 Thread Vladimir Davydov
On Fri, Dec 11, 2015 at 02:54:11PM -0500, Johannes Weiner wrote: > What CONFIG_INET and CONFIG_LEGACY_KMEM guard inside the memory > controller code is insignificant, having these conditionals is not > worth the complication and fragility that comes with them. > > Signed-off-by: Johannes Weiner

Re: [PATCH v4] mm,oom: Add memory allocation watchdog kernel thread.

2015-12-12 Thread Johannes Weiner
On Sun, Dec 13, 2015 at 12:33:04AM +0900, Tetsuo Handa wrote: > +Currently, when something went wrong inside memory allocation request, > +the system will stall with either 100% CPU usage (if memory allocating > +tasks are doing busy loop) or 0% CPU usage (if memory allocating tasks > +are waiting

Re: [PATCH 7/7] iscsi-target: Make two variable initialisations a bit more obvious in iscsi_check_valuelist_for_support()

2015-12-12 Thread walter harms
Am 12.12.2015 15:45, schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sat, 12 Dec 2015 15:04:57 +0100 > > The variable "acceptor_values" and "proposer_values" were initialized > by null pointers and immediately assigned values from input parameters > by

[PATCH V2 net-next] drivers/net: fix eisa_driver probe section mismatch

2015-12-12 Thread Fabian Frederick
Some eisa_driver structures used __init probe functions which generates a warning and could crash if function is called after being deleted. Signed-off-by: Fabian Frederick --- V2: -Remove scsi occurence for net-next(suggested by David S. Miller) -Fix checkpatch

Re: [PATCH] iio/inkern.c Use list_for_each_entry_safe

2015-12-12 Thread Jonathan Cameron
On 08/12/15 17:45, Anshul Garg wrote: > Use list_for_each_entry_safe instead of list_for_each_safe > and list_entry call. > > Signed-off-by: Anshul Garg Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilder to play with it. Thanks,

Re: [PATCH 2/3] ser_gigaset: fix deallocation of platform device structure

2015-12-12 Thread Tilman Schmidt
Hi Peter, Am 10.12.2015 um 15:04 schrieb Peter Hurley: --- a/drivers/isdn/gigaset/ser-gigaset.c +++ b/drivers/isdn/gigaset/ser-gigaset.c @@ -370,19 +370,23 @@ static void gigaset_freecshw(struct cardstate *cs) tasklet_kill(>write_tasklet); if (!cs->hw.ser)

Congratulation

2015-12-12 Thread Western Union Money Transfer Office
Attention you have been awarded with the sum of $200,000 USD by the Western Union Money Transfer Office, As part of our Annual market promotions this Year @2015. Get back us for claim by filling the details stated here: 1. Name:__ 2. Address 3. Country:___ 4. Phone Number 5.

[PATCH 1/7] iscsi-target: Use a variable initialisation in iscsi_set_default_param() directly

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 11:36:02 +0100 Omit the unnecessary setting to a null pointer for the variable "param" at the beginning of the function "iscsi_set_default_param" because it can be directly initialized with the return value from the

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-12 Thread Mike Galbraith
On Sat, 2015-12-12 at 15:16 +0100, Jirka Hladky wrote: > > A bisection doesn't require any special skills, but may give busy > > maintainers a single change to eyeball vs the entire lot. > > They have been couple of merges which makes git revert difficult... You could try

[PATCH 2/7] iscsi-target: Less checks in iscsi_set_default_param() after error detection

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 12:50:10 +0100 This issue was detected by using the Coccinelle software. A sanity check would be performed by the iscsi_set_default_param() function even if it is known already that the passed variable contained a null

Re: [PATCH] rt: x86: extend signal send delay to 32 bit

2015-12-12 Thread Thomas Gleixner
On Fri, 11 Dec 2015, Shi, Yang wrote: > On 12/11/2015 10:05 AM, Sebastian Andrzej Siewior wrote: > > * Yang Shi | 2015-12-10 10:58:51 [-0800]: > > > Signal send delay is just available for x86-64, x86-32 needs it too. > > > > This is new, this was not the case earlier. New means since v4.0-rc1

Re: [PATCH 03/10] usb: host: ehci-sched: remove useless assignments

2015-12-12 Thread Sergei Shtylyov
Hello. On 12/12/2015 4:19 AM, Geyslan G. Bem wrote: This patch removes useless assignments. Initializers, you mean? Tested by compilation only. Caught by cppcheck. Signed-off-by: Geyslan G. Bem [...] MBR, Sergei -- To unsubscribe from this list: send the line

Re: [PATCH 4/7] iscsi-target: Make a variable initialisation a bit more obvious in iscsi_create_default_params()

2015-12-12 Thread Julia Lawall
On Sat, 12 Dec 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 12 Dec 2015 13:44:06 +0100 > > The variable "pl" was declared and immediately assigned a return value > from a function call in a separate statement. > > * Let us express the

[PATCH] staging: netlogic: Coding Style Fix Comparison to NULL could be written with !

2015-12-12 Thread Benjamin Young
Fixed coding style for null comparisons in netlogic driver to be more consistant with the rest of the kernel coding style Signed-off-by: Benjamin Young --- drivers/staging/netlogic/xlr_net.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 03/10] usb: host: ehci-sched: remove useless assignments

2015-12-12 Thread Geyslan G. Bem
2015-12-12 11:48 GMT-03:00 Sergei Shtylyov : > Hello. > > On 12/12/2015 4:19 AM, Geyslan G. Bem wrote: > >> This patch removes useless assignments. > > >Initializers, you mean? You're right. Fixing. > >> Tested by compilation only. >> Caught by cppcheck. >>

Re: [PATCH 2/3] iio: ina2xx: give the capture kthread a more useful name string.

2015-12-12 Thread Jonathan Cameron
On 11/12/15 16:49, Marc Titinger wrote: > PID PPID USER STAT VSZ %VSZ %CPU COMMAND > 144 2 root DW 0 0% 33% [ina226:1-8800us] > 141 2 root DW 0 0% 25% [ina226:0-8800us] >40 2 root SW 0 0% 15% [irq/156-4802a00] > 147 2 root

[PATCH 3/7] iscsi-target: Delete an unnecessary variable initialisation in iscsi_create_default_params()

2015-12-12 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 12 Dec 2015 13:20:08 +0100 The variable "param" will eventually be set to an appropriate pointer from a call of the iscsi_set_default_param() function. Thus let us omit the explicit initialisation at the beginning. Signed-off-by:

[PATCH v4] mm,oom: Add memory allocation watchdog kernel thread.

2015-12-12 Thread Tetsuo Handa
>From 2804913f4d21a20a154b93d5437c21e52bf761a1 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Sun, 13 Dec 2015 00:02:29 +0900 Subject: [PATCH v4] mm/oom: Add memory allocation watchdog kernel thread. This patch adds a kernel thread which periodically

Re: [PATCH 2/2] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-12-12 Thread Jonathan Cameron
On 08/12/15 16:21, Martin Kepplinger wrote: > This adds freefall event detection to the supported devices. It adds > the in_accel_x_mag_falling_en iio event attribute, which activates > freefall mode. > > In freefall mode, the current acceleration magnitude (AND combination > of all axis values)

Re: [PATCH 10/10] usb: host: ehci-sched: remove unnecessary braces

2015-12-12 Thread Geyslan G. Bem
2015-12-12 11:50 GMT-03:00 Sergei Shtylyov : > On 12/12/2015 4:19 AM, Geyslan G. Bem wrote: > >> This patch removes unnecessary braces in single statement blocks at the >> same time as replaces the if statement with a ternary conditional. >> >> Tested by

Re: [PATCH v5 3/4] ARM: dts: imx7d.dtsi: add ADC support

2015-12-12 Thread Jonathan Cameron
On 08/12/15 10:26, Haibo Chen wrote: > Add imx7d ADC support. > > Signed-off-by: Haibo Chen The driver is now working its way in the direction of linux-next via Greg KHs tree. I'm happy to take these changes as well, but would imagine they are better routed through the

Re: [PATCH v5 1/4] iio: adc: add IMX7D ADC driver support

2015-12-12 Thread Jonathan Cameron
On 08/12/15 10:26, Haibo Chen wrote: > Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC > driver support, and the driver only support ADC software trigger. > > Signed-off-by: Haibo Chen One significant issue, but as the fix is simple I've made it. A

Re: [PATCH v2] I2C: designware: fix IO timeout issue for AMD controller

2015-12-12 Thread Wolfram Sang
On Fri, Dec 11, 2015 at 08:02:53PM +0800, Xiangliang Yu wrote: > Because of some hardware limitation, AMD I2C controller can't > trigger pending interrupt if interrupt status has been changed > after clearing interrupt status bits. Then, I2C will lost > interrupt and IO timeout. > > According to

Re: [PATCH v3 1/2] iio: ina2xx: add support for TI INA2xx Power Monitors

2015-12-12 Thread Jonathan Cameron
On 07/12/15 09:09, Marc Titinger wrote: > in SOFTWARE buffer mode, a kthread will capture the active scan_elements > into a kfifo, then compute the remaining time until the next capture tick > and do an active wait (udelay). > > This will produce a stream of up to fours channels plus a 64bits >

Re: [PATCH 3/3] iio: ina2xx: add support for CHAN_INFO_SCALE

2015-12-12 Thread Jonathan Cameron
On 11/12/15 16:49, Marc Titinger wrote: > Provide client apps with the scales to apply to the register values > read from the software buffer. > > Follow the ABI documentation so that values are in milli-unit after scales > are applied. Umm. The below looks like it is doing rather more than

Re: touchscreen: edt-ft5x06: Prevent DMA driver from mapping an area on stack

2015-12-12 Thread Wolfram Sang
> Frankly speaking I do not know where the fix should actually be. I2C IMX > driver somehow taking care of this or the users of I2C, touchscreen drivers > in this case. In my opinion, the fix should be with the touchscreen driver > however I did like to have feedback or hear opinions on what is

[PATCH] Fix misleading indentation issues in perf

2015-12-12 Thread Markus Trippelsdorf
perf doesn't build with gcc-6 because of several misleading-indentation warnings, e.g.: arch/x86/tests/intel-cqm.c: In function ‘spawn’: arch/x86/tests/intel-cqm.c:21:3: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] sleep(5); ^

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