Re: [PATCH 0/5] tools build: Make FEATURE_DUMP include makefile

2015-12-27 Thread Jiri Olsa
On Thu, Dec 24, 2015 at 10:52:18AM +0800, Wangnan (F) wrote: > > > On 2015/12/24 1:58, Jiri Olsa wrote: > >hi, > >Changing the contents of the FEATURE-DUMP file, > >so it looks like: > > feature-backtrace=1 > > feature-dwarf=0 > > feature-fortify-source=1 > >

Re: [PATCH 0/6] perf tools: Various fixes

2015-12-27 Thread Jiri Olsa
On Fri, Dec 18, 2015 at 11:06:56AM +0200, Noel Grandin wrote: > This series is > > Tested-By: Noel Grandin > > On 2015-12-17 10:26 PM, Jiri Olsa wrote: > >hi, > >sending several changes together: > > - leftover for the stat enable/disable changes with Adrian's patch > > - fixes for issues

Re: [Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Julia Lawall
On Sun, 27 Dec 2015, SF Markus Elfring wrote: > > The error return value of platform_get_irq seems to often get dropped. > > How do you think about any more fine-tuning here? > > Commit message: > * … of the platform_get_irq() function seems to get dropped too often. > > * Why do you

Re: [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/27/2015 9:13 AM, Julia Lawall wrote: Well, looking again, the patch should be good. I just thought its goal was to fix the code as well... I could do that for the irq < 0 case, but I think that in that case, kbuild will only run the patch version, and the <= cases will not be

[PATCH 2/2] Staging: panel: Remove space

2015-12-27 Thread Ksenija Stanojevic
No space is necessary after a cast, therefore remove it. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index

[PATCH 1/2] Staging: panel: Fix line over 80 characters

2015-12-27 Thread Ksenija Stanojevic
Split comment in order to fit into 80 characters per line. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index

[PATCH 0/2] Staging: panel: Fix checkpatch warnings

2015-12-27 Thread Ksenija Stanojevic
Fix checkpatch.pl warnings in panel.c Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (2): Staging: panel: Fix line over 80 characters Staging: panel: Remove space drivers/staging/panel/panel.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 1.9.1 -- To

Re: [PATCH] README: remove LILO

2015-12-27 Thread Jonathan Corbet
On Sun, 20 Dec 2015 02:57:16 -0200 Diego Viola wrote: > Remove LILO from the README in order to keep the booting section > agnostic. LILO development has also officially stopped. I know I mentioned LILO before, but LILO is really a symptom of the problem here and not the problem itself. The

Re: [PATCH] Documentation/kernel-parameters: update KMG units

2015-12-27 Thread Jonathan Corbet
On Wed, 23 Dec 2015 18:38:16 -0600 Robert Elliott wrote: > Since commit e004f3c7780d ("lib/cmdline.c: add size unit t/p/e to > memparse") expanded memparse() to support T, P, and E units in addition > to K, M, and G, all the kernel parameters that use that function became > capable of more than

MCTP

2015-12-27 Thread Umesh A
Is driver suppport available in linux for MCTP (management component transport protocol) ? -- 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

[PATCH 7/9] serial: 8250_pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/tty/serial/8250/8250_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 4097f3f..afdd2c67 100644 ---

[PATCH 8/9] vme: vme_ca91cx42.c: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/vme/bridges/vme_ca91cx42.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/vme/bridges/vme_ca91cx42.c b/drivers/vme/bridges/vme_ca91cx42.c index b79a74a..5fbeab3 100644

[PATCH 3/9] i2c: designware: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/i2c/busses/i2c-designware-pcidrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index

[PATCH 9/9] devres: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- lib/devres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devres.c b/lib/devres.c index 8c85672..cb1464c 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -236,7 +236,7 @@ struct

[PATCH 5/9] ipw2x00: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c index

[PATCH 4/9] mmc: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/mmc/host/sdhci-pci-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c index 08f4a9f..cc851b0 100644 ---

[PATCH 2/9] drm/gma500: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/gpu/drm/gma500/power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c index b6b135f..bea8578 100644 ---

[PATCH 6/9] ssb: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/ssb/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 0f28c08..67428f4 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c @@ -1130,7

[PATCH 1/9] atm: solos-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/atm/solos-pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index 0c2b4ba0..6ac2b2b 100644 --- a/drivers/atm/solos-pci.c +++

Re: [PATCH v2 14/16] x86, nvdimm, kexec: Use walk_iomem_res_desc() for iomem search

2015-12-27 Thread Borislav Petkov
On Sun, Dec 27, 2015 at 10:12:57AM +0800, Minfei Huang wrote: > You can refer the below link that you may get a clue about GART. This is > the fisrt time kexec-tools tried to support to ignore GART region in 2nd > kernel. > > http://lists.infradead.org/pipermail/kexec/2008-December/003096.html

[PATCH] spi: mediatek: Prevent overflows in FIFO transfers

2015-12-27 Thread Nicolas Boichat
In the case where transfer length is not a multiple of 4, KASAN reports 2 out-of-bounds memory accesses: - mtk_spi_interrupt: ioread32_rep writes past the end of trans->rx_buf. - mtk_spi_fifo_transfer: iowrite32_rep reads past the end of xfer->tx_buf. Fix this by using memcpy on the

Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-27 Thread Borislav Petkov
On Sat, Dec 26, 2015 at 10:57:26PM -0800, Tony Luck wrote: > ... will get the right value. Maybe this would still work out > if the fixup is a 31-bit value plus a flag, but the external > tool thinks it is a 32-bit value? I'd have to ponder that. I still fail to see why do we need to make it so

Attention Funds Owner

2015-12-27 Thread Anthony Kings
Attention Funds Owner, our server is slow, sorry if you receive this mail in spam. We have deposited the check of your fund ($3.700`000`00USD) through Western Union after our finally meeting regarding your Inheritance fund, All you will do is to forward me your bellow information or contact

[PATCH 3/5] HID: add a new helper to_hid_driver()

2015-12-27 Thread Geliang Tang
Add a new helper to_hid_driver() and use it in hid-core.c. Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c | 7 +++ include/linux/hid.h| 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 3abff97..ecf614b

ideapad_laptop: Fix for backlight regression

2015-12-27 Thread Paul Buonopane
26bff5f099722fa7c38796a3ccd0e880cf1a524a introduced a regression in ideapad_laptop (https://bugzilla.kernel.org/show_bug.cgi?id=110021). I've created a quick fix as a pull request: https://github.com/torvalds/linux/pull/236 Here's the patch, for convenience: ***

[PATCH 5/5] HID: use kobj_to_dev()

2015-12-27 Thread Geliang Tang
Use kobj_to_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c| 2 +- drivers/hid/hid-roccat-arvo.c | 6 ++ drivers/hid/hid-roccat-common.c | 6 ++ drivers/hid/hid-roccat-isku.c | 6 ++ drivers/hid/hid-roccat-kone.c

[PATCH 1/5] HID: move to_hid_device() to hid.h

2015-12-27 Thread Geliang Tang
to_hid_device() macro is defined in both hid-lg4ff.c and hid-logitech-hidpp.c. So I move it to include/linux/hid.h. Signed-off-by: Geliang Tang --- drivers/hid/hid-lg4ff.c | 2 -- drivers/hid/hid-logitech-hidpp.c | 2 -- include/linux/hid.h | 3 +++ 3 files changed, 3

[PATCH 2/5] HID: use to_hid_device()

2015-12-27 Thread Geliang Tang
Use to_hid_device() instead of container_of(). Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c | 16 drivers/hid/hid-cp2112.c | 8 drivers/hid/hid-gt683r.c | 8 +++- drivers/hid/hid-lenovo.c | 36

[PATCH 4/5] HID: wiimote: use dev_to_wii()

2015-12-27 Thread Geliang Tang
Use dev_to_wii() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/hid/hid-wiimote-modules.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-wiimote-modules.c b/drivers/hid/hid-wiimote-modules.c index 05e23c4..4390eee 100644 ---

Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-27 Thread Borislav Petkov
On Sat, Dec 26, 2015 at 10:57:26PM -0800, Tony Luck wrote: > ... will get the right value. Maybe this would still work out > if the fixup is a 31-bit value plus a flag, but the external > tool thinks it is a 32-bit value? I'd have to ponder that. I still fail to see why do we need to make it so

[PATCH] spi: mediatek: Prevent overflows in FIFO transfers

2015-12-27 Thread Nicolas Boichat
In the case where transfer length is not a multiple of 4, KASAN reports 2 out-of-bounds memory accesses: - mtk_spi_interrupt: ioread32_rep writes past the end of trans->rx_buf. - mtk_spi_fifo_transfer: iowrite32_rep reads past the end of xfer->tx_buf. Fix this by using memcpy on the

Re: [PATCH v2 14/16] x86, nvdimm, kexec: Use walk_iomem_res_desc() for iomem search

2015-12-27 Thread Borislav Petkov
On Sun, Dec 27, 2015 at 10:12:57AM +0800, Minfei Huang wrote: > You can refer the below link that you may get a clue about GART. This is > the fisrt time kexec-tools tried to support to ignore GART region in 2nd > kernel. > > http://lists.infradead.org/pipermail/kexec/2008-December/003096.html

[PATCH 1/9] atm: solos-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/atm/solos-pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index 0c2b4ba0..6ac2b2b 100644 ---

[PATCH 3/9] i2c: designware: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/i2c/busses/i2c-designware-pcidrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c

[PATCH 9/9] devres: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- lib/devres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/devres.c b/lib/devres.c index 8c85672..cb1464c 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -236,7 +236,7 @@

[PATCH 5/9] ipw2x00: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c

[PATCH 4/9] mmc: sdhci-pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/mmc/host/sdhci-pci-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c index

[PATCH 2/9] drm/gma500: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/gpu/drm/gma500/power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma500/power.c index b6b135f..bea8578 100644

[PATCH 6/9] ssb: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/ssb/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 0f28c08..67428f4 100644 --- a/drivers/ssb/pci.c +++

[PATCH 8/9] vme: vme_ca91cx42.c: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/vme/bridges/vme_ca91cx42.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/vme/bridges/vme_ca91cx42.c b/drivers/vme/bridges/vme_ca91cx42.c index

[PATCH 7/9] serial: 8250_pci: use to_pci_dev()

2015-12-27 Thread Geliang Tang
Use to_pci_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/tty/serial/8250/8250_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index

MCTP

2015-12-27 Thread Umesh A
Is driver suppport available in linux for MCTP (management component transport protocol) ? -- 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: [PATCH] Documentation/kernel-parameters: update KMG units

2015-12-27 Thread Jonathan Corbet
On Wed, 23 Dec 2015 18:38:16 -0600 Robert Elliott wrote: > Since commit e004f3c7780d ("lib/cmdline.c: add size unit t/p/e to > memparse") expanded memparse() to support T, P, and E units in addition > to K, M, and G, all the kernel parameters that use that function became >

Re: [PATCH] README: remove LILO

2015-12-27 Thread Jonathan Corbet
On Sun, 20 Dec 2015 02:57:16 -0200 Diego Viola wrote: > Remove LILO from the README in order to keep the booting section > agnostic. LILO development has also officially stopped. I know I mentioned LILO before, but LILO is really a symptom of the problem here and not the

[PATCH 0/2] Staging: panel: Fix checkpatch warnings

2015-12-27 Thread Ksenija Stanojevic
Fix checkpatch.pl warnings in panel.c Signed-off-by: Ksenija Stanojevic Ksenija Stanojevic (2): Staging: panel: Fix line over 80 characters Staging: panel: Remove space drivers/staging/panel/panel.c | 8 +--- 1 file changed, 5 insertions(+), 3

[PATCH 1/2] Staging: panel: Fix line over 80 characters

2015-12-27 Thread Ksenija Stanojevic
Split comment in order to fit into 80 characters per line. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/panel/panel.c

[PATCH 2/2] Staging: panel: Remove space

2015-12-27 Thread Ksenija Stanojevic
No space is necessary after a cast, therefore remove it. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic --- drivers/staging/panel/panel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/panel/panel.c

Re: [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Sergei Shtylyov
On 12/27/2015 9:13 AM, Julia Lawall wrote: Well, looking again, the patch should be good. I just thought its goal was to fix the code as well... I could do that for the irq < 0 case, but I think that in that case, kbuild will only run the patch version, and the <= cases will not be

Re: [Cocci] [PATCH v2] coccinelle: api: check for propagation of error from platform_get_irq

2015-12-27 Thread Julia Lawall
On Sun, 27 Dec 2015, SF Markus Elfring wrote: > > The error return value of platform_get_irq seems to often get dropped. > > How do you think about any more fine-tuning here? > > Commit message: > * … of the platform_get_irq() function seems to get dropped too often. > > * Why do you

Re: [PATCH 0/6] perf tools: Various fixes

2015-12-27 Thread Jiri Olsa
On Fri, Dec 18, 2015 at 11:06:56AM +0200, Noel Grandin wrote: > This series is > > Tested-By: Noel Grandin > > On 2015-12-17 10:26 PM, Jiri Olsa wrote: > >hi, > >sending several changes together: > > - leftover for the stat enable/disable changes with Adrian's patch > >

Re: [PATCH 0/5] tools build: Make FEATURE_DUMP include makefile

2015-12-27 Thread Jiri Olsa
On Thu, Dec 24, 2015 at 10:52:18AM +0800, Wangnan (F) wrote: > > > On 2015/12/24 1:58, Jiri Olsa wrote: > >hi, > >Changing the contents of the FEATURE-DUMP file, > >so it looks like: > > feature-backtrace=1 > > feature-dwarf=0 > > feature-fortify-source=1 > >

Re: [PATCH 3/3] perf script: Align event name properly

2015-12-27 Thread Jiri Olsa
On Thu, Nov 26, 2015 at 07:25:17AM -0700, David Ahern wrote: > On 11/26/15 6:55 AM, Jiri Olsa wrote: > >Adding code to align event names, so we get aligned output > >in case of multiple events with different names. > > > >Before: > > $ perf script > > :13757 13757 163918.230829:

[PATCH 5/5] HID: use kobj_to_dev()

2015-12-27 Thread Geliang Tang
Use kobj_to_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c| 2 +- drivers/hid/hid-roccat-arvo.c | 6 ++ drivers/hid/hid-roccat-common.c | 6 ++ drivers/hid/hid-roccat-isku.c | 6 ++

[PATCH 1/5] HID: move to_hid_device() to hid.h

2015-12-27 Thread Geliang Tang
to_hid_device() macro is defined in both hid-lg4ff.c and hid-logitech-hidpp.c. So I move it to include/linux/hid.h. Signed-off-by: Geliang Tang --- drivers/hid/hid-lg4ff.c | 2 -- drivers/hid/hid-logitech-hidpp.c | 2 -- include/linux/hid.h | 3 +++ 3

[PATCH 2/5] HID: use to_hid_device()

2015-12-27 Thread Geliang Tang
Use to_hid_device() instead of container_of(). Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c | 16 drivers/hid/hid-cp2112.c | 8 drivers/hid/hid-gt683r.c | 8 +++- drivers/hid/hid-lenovo.c | 36

[PATCH 4/5] HID: wiimote: use dev_to_wii()

2015-12-27 Thread Geliang Tang
Use dev_to_wii() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/hid/hid-wiimote-modules.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-wiimote-modules.c b/drivers/hid/hid-wiimote-modules.c index

ideapad_laptop: Fix for backlight regression

2015-12-27 Thread Paul Buonopane
26bff5f099722fa7c38796a3ccd0e880cf1a524a introduced a regression in ideapad_laptop (https://bugzilla.kernel.org/show_bug.cgi?id=110021). I've created a quick fix as a pull request: https://github.com/torvalds/linux/pull/236 Here's the patch, for convenience: ***

[PATCH 3/5] HID: add a new helper to_hid_driver()

2015-12-27 Thread Geliang Tang
Add a new helper to_hid_driver() and use it in hid-core.c. Signed-off-by: Geliang Tang --- drivers/hid/hid-core.c | 7 +++ include/linux/hid.h| 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c

Attention Funds Owner

2015-12-27 Thread Anthony Kings
Attention Funds Owner, our server is slow, sorry if you receive this mail in spam. We have deposited the check of your fund ($3.700`000`00USD) through Western Union after our finally meeting regarding your Inheritance fund, All you will do is to forward me your bellow information or contact

[PATCH v5 00/20] Adding plat-eznps to ARC

2015-12-27 Thread Noam Camus
From: Noam Camus v5: 1) irqchip -- work with handle_domain_irq(), and remove use of irq_set_default_host() 2) clocksource -- initialize clockevents as well by parsing interrupts node of DT 3) Do not use IPI with irq generic infrastructure v4: 1) irqchip -- use

[PATCH v2] gpiolib: fix warning about iterator

2015-12-27 Thread Sudip Mukherjee
We were getting build warning about "iterator" being used uninitialized. Use iterator properly to fix the build warning and in the process remove the variable "pos" which is not required now. Signed-off-by: Sudip Mukherjee --- v1: at the end of the loop iterator will

[PATCH v2] surface pro 4: Add support for Surface Pro 4 Buttons

2015-12-27 Thread Weng Xuetian
Surface Pro 4 button is managed by a device with _HID "MSHW0040" different from Surface Pro 3. This commit adds MSHW0040 to id list to Support Surface Pro 4, and rename the driver to surfacepro_button accordingly. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109871 Signed-off-by: Weng

[PATCH v3] surface pro 4: Add support for Surface Pro 4 Buttons

2015-12-27 Thread Weng Xuetian
Surface Pro 4 buttons are managed by a device with _HID "MSHW0040" different from Surface Pro 3. This commit adds MSHW0040 to id list to support the Surface Pro 4, and renames the driver to surfacepro_button accordingly. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109871 Signed-off-by:

[PATCH] qlcnic: constify qlcnic_dcb_ops structures

2015-12-27 Thread Julia Lawall
The qlcnic_dcb_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c |4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h |2 +- 2 files

Re: [PATCH v6 3/3] spi: sun4i: Add support for wait time between word transmissions

2015-12-27 Thread Maxime Ripard
On Sat, Dec 26, 2015 at 04:53:06PM +0100, Marcus Weseloh wrote: > Modifies the sun4i SPI master driver to make use of the > "spi-word-wait-ns" property. This specific SPI controller needs 3 clock > cycles to set up the delay, which makes the minimum non-zero wait time > on this hardware 4 clock

Re: [PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-27 Thread Maxime Ripard
Hi, On Mon, Dec 21, 2015 at 12:34:16PM +0100, Danny Milosavljevic wrote: > This is the second part, actually adding FM, Line and Mic inputs. Again, having a meaningful and standalone commit log would be nice. > Signed-off-by: Danny Milosavljevic > --- >

Re: [PATCH 1/2] sp5100_tco: fix the device check for SB800 and later chipsets

2015-12-27 Thread Wim Van Sebroeck
Hi Rui, > For SB800 and later chipsets, the register definitions are the same > with SB800. And for SB700 and older chipsets, the definitions should > be same with SP5100/SB7x0. > > Signed-off-by: Huang Rui > Cc: Denis Turischev > --- > > Hi

Re: [PATCH v3] sp5100_tco: Add AMD Mullins platform support

2015-12-27 Thread Wim Van Sebroeck
Hi Denis, > AMD Mullins watchdog is fully compatible to the previous Hudson chipset, > reuse the existent sp5100_tco driver. > > v2: rebased to v4.4-rc2 > v3: fixed trailing whitespace > > Signed-off-by: Denis Turischev > > diff -Nru

Re: [PATCH 2/2] sp5100_tco: Add AMD Carrizo platform support

2015-12-27 Thread Wim Van Sebroeck
Hi Rui, > sp5100_tco watchdog is also supported on AMD KernCZ chipset of Carrizo > platform. > > Signed-off-by: Huang Rui > Cc: Denis Turischev > --- > drivers/watchdog/sp5100_tco.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

[PATCH] net, socket, socket_wq: fix missing initialization of flags

2015-12-27 Thread Nicolai Stange
Fixes: ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") Commit ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") from the current 4.4 release cycle introduces a new flags member in struct socket_wq and moved SOCKWQ_ASYNC_NOSPACE and SOCKWQ_ASYNC_WAITDATA from struct socket's

Re: [PATCH 09/10] watchdog: cadence_wdt: use to_platform_device()

2015-12-27 Thread Wim Van Sebroeck
Hi Geliang, > Use to_platform_device() instead of open-coding it. > > Signed-off-by: Geliang Tang > --- > drivers/watchdog/cadence_wdt.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/watchdog/cadence_wdt.c

[PATCH v5 14/20] ARC: [plat-eznps] Use dedicated user stack top

2015-12-27 Thread Noam Camus
From: Noam Camus NPS use special mapping right below TASK_SIZE. Hence we need to lower STACK_TOP so that user stack won't overlap NPS special mapping. Signed-off-by: Noam Camus Acked-by: Vineet Gupta ---

[PATCH v5 16/20] ARC: [plat-eznps] Use dedicated SMP barriers

2015-12-27 Thread Noam Camus
From: Noam Camus NPS device got 256 cores and each got 16 HW threads (SMT). We use EZchip dedicated ISA to trigger HW scheduler of the core that current HW thread belongs to. This scheduling makes sure that data beyond barrier is available to all HW threads in core and by that

Re: [PATCH 09/10] watchdog: cadence_wdt: use to_platform_device()

2015-12-27 Thread Guenter Roeck
On Sun, Dec 27, 2015 at 09:15:47PM +0800, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. > > Signed-off-by: Geliang Tang Reviewed-by: Guenter Roeck > --- > drivers/watchdog/cadence_wdt.c | 6 ++ > 1 file changed, 2

Re: [PATCH 0/2] InfiniBand-iSER: Refactoring for two function implementations

2015-12-27 Thread Sagi Grimberg
Along with Leon's prefix comment: Acked-by: Sagi Grimberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH 2/3] Input: cyttsp - add device tree support

2015-12-27 Thread Oreste Salerno
Add support for retrieving the platform data from the device tree. Signed-off-by: Oreste Salerno --- .../bindings/input/touchscreen/cyttsp.txt | 73 ++ drivers/input/touchscreen/cyttsp_core.c| 108 +++--

[PATCH 3/3] Input: cyttsp - add default init function

2015-12-27 Thread Oreste Salerno
When using device trees, it's not possible to assign an init() function in the platform data. In case the init function has not been assigned, attempt to perform a hard reset of the chip, using reset gpio defined in the platform data / device tree. Signed-off-by: Oreste Salerno

[PATCH 2/2] staging: wilc1000: wilc_parse_network_info refactoring

2015-12-27 Thread Ivan Safonov
1) Return value of this function does not used; 2) wilc_parse_network_info has no reasons to return an error; 3) kfree does not free memory if argument is NULL. Signed-off-by: Ivan Safonov --- drivers/staging/wilc1000/coreconfigurator.c | 27 +--

[PATCH] Input: fix err_cast.cocci warnings

2015-12-27 Thread kbuild test robot
drivers/input/touchscreen/cyttsp_core.c:637:9-16: WARNING: ERR_CAST can be used with pdata Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) Generated by: scripts/coccinelle/api/err_cast.cocci CC: Oreste Salerno Signed-off-by: Fengguang Wu

Re: [linux-sunxi] [PATCH v8 1/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2015-12-27 Thread Maxime Ripard
Hi, On Mon, Dec 21, 2015 at 12:33:03PM +0100, Danny Milosavljevic wrote: > This is the first part: > >sun4i-codec: make it possible to use different codec_widgets for A10 and > A20. Please make a meaningful commit log and title explaining what and why you're doing it. > > Signed-off-by:

Re: [PATCH 2/3] Input: cyttsp - add device tree support

2015-12-27 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system] Hi Oreste, [auto build test WARNING on input/next] [also build test WARNING on v4.4-rc6 next-20151223] url:

[PATCH] usb: renesas_usbhs: constify usbhs_pkt_handle structures

2015-12-27 Thread Julia Lawall
The usbhs_pkt_handle structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/usb/renesas_usbhs/fifo.c | 20 ++-- drivers/usb/renesas_usbhs/fifo.h | 20 ++--

Fix whitespace issues

2015-12-27 Thread sasa bogicevic
As Joe suggested I changed the “type * “ function params which I screwed up along the way and amended and resend the patch related to whitespace issues in drivers/pci. Thanks, Sasa { name: Bogicevic Sasa phone: +381606006200 } -- To unsubscribe from this list: send the line

Re: [PATCH] surface pro 4: Add support for Surface Pro 4 Buttons

2015-12-27 Thread Andy Shevchenko
On Thu, Dec 24, 2015 at 10:28 PM, Weng Xuetian wrote: > Surface Pro 4 button is managed by a device with _HID "MSHW0040" > different from Surface Pro 3. > > This commit adds MSHW0040 to id list to Support Surface Pro 4, and > rename the driver to surfacepro_button accordingly. >

[PATCH trivial] lib+mm: fix few spelling mistakes

2015-12-27 Thread Jiri Slaby
From: Bogdan Sikora All are in comments. Signed-off-by: Bogdan Sikora Cc: Cc: Rafael Aquini Cc: Kent Overstreet Cc: Jan Kara Signed-off-by: Jiri Slaby ---

Re: [PATCH] Fix ld-version.sh to handle large 3rd version part

2015-12-27 Thread Guenter Roeck
On Sat, Dec 26, 2015 at 10:47:52PM +, James Hogan wrote: > The ld-version.sh script doesn't handle versions with large (>= 10) 3rd > version components, because the 2nd component is only multiplied by 10 > times that of the 3rd component. > > For example the following version string: > GNU ld

Re: [PATCH trivial] lib+mm: fix few spelling mistakes

2015-12-27 Thread Rafael Aquini
On Sun, Dec 27, 2015 at 02:58:23PM +0100, Jiri Slaby wrote: > From: Bogdan Sikora > > All are in comments. > > Signed-off-by: Bogdan Sikora > Cc: > Cc: Rafael Aquini > Cc: Kent Overstreet >

Re: [PATCH trivial] lib+mm: fix few spelling mistakes

2015-12-27 Thread Randy Dunlap
On 12/27/15 05:58, Jiri Slaby wrote: > From: Bogdan Sikora > > All are in comments. > > Signed-off-by: Bogdan Sikora > Cc: > Cc: Rafael Aquini > Cc: Kent Overstreet > Cc: Jan Kara

Re: [PATCH v6 2/3] spi: sun4i: Fix clock calculations to be predictable and never exceed the requested rate

2015-12-27 Thread Maxime Ripard
On Sat, Dec 26, 2015 at 04:53:05PM +0100, Marcus Weseloh wrote: > This patch fixes multiple problems with the current clock calculations: > > 1. The A10/A20 datasheet contains the formula AHB_CLK / (2^(n+1)) to > calculate SPI_CLK from CDR1, but this formula is wrong. The actual > formula -

[PATCH] surface pro 4: fix compare_const_fl.cocci warnings

2015-12-27 Thread Julia Lawall
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci CC: Weng Xuetian Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- It's not a big deal, but the constant on

[PATCH v5 01/20] Documentation: Add EZchip vendor to binding list

2015-12-27 Thread Noam Camus
From: Noam Camus Add EZchip to vendor prefixes list. EZchip introduce the NPS platform for the ARC architecture. Signed-off-by: Noam Camus Acked-by: Rob Herring Cc: Pawel Moll ---

Re: GPIO-driven RTS on TI hardware with 8250_omap driver

2015-12-27 Thread Ильяс Гасанов
Hi Matwey, 2015-12-27 16:14 GMT+03:00 Matwey V. Kornilov : > The half of what is described here are implemented in my patches. > But I cannot understand the other half. Each of six AM335x UARTs has > RTS/CTS pins which are controlled by pinmux in device tree, no magic >

[PATCH v5 09/20] ARC: IRQ: use device tree to get timer device configuration

2015-12-27 Thread Noam Camus
From: Noam Camus We've designated: TIMER0 for events (clockevents) TIMER1 for free running (clocksource) Till now timer configuration was done on arch/arc/kernel/time.c with constant values. This commit add device tree support so we can do this work at dedicated clocksource

Re: [PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-27 Thread Andy Lutomirski
On Sun, Dec 27, 2015 at 5:33 AM, Borislav Petkov wrote: > On Sun, Dec 27, 2015 at 05:25:45AM -0800, Andy Lutomirski wrote: >> That could significantly bloat the kernel image. > > Yeah, we probably should build an allyesconfig and see how big > __ex_table is and compute how much

Re: [PATCH 4/4] x86/efi: print size and base in binary units in efi_print_memmap

2015-12-27 Thread Andy Shevchenko
On Mon, Dec 21, 2015 at 6:16 PM, Matt Fleming wrote: > On Thu, 17 Dec, at 07:28:34PM, Robert Elliott wrote: >> Print the base address for each range in decimal alongside the size. >> Use a "(size @ base)" format similar to the fake_memmap kernel parameter. >> >> Print

[PATCH 0/3] Add device tree support to the cyttsp driver

2015-12-27 Thread Oreste Salerno
This set of patches adds support to the cyttsp touchscreen driver to retrieve platform data details from the device tree. Additionally, they define a default init function that performs a hard reset of the chip on boot. Oreste Salerno (3): Input: cyttsp - remove unused irq_gpio from

[PATCH 1/3] Input: cyttsp - remove unused irq_gpio from platform_data

2015-12-27 Thread Oreste Salerno
This field is not being used and the irq is anyway passed via the 'irq' parameter to cyttsp_probe. Signed-off-by: Oreste Salerno --- include/linux/input/cyttsp.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/input/cyttsp.h

[PATCH 1/2] staging: wilc1000: min_t macro instead of ternary condition operator used

2015-12-27 Thread Ivan Safonov
min_t macro bit shorter then ?: operator. Signed-off-by: Ivan Safonov --- drivers/staging/wilc1000/host_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c

Re: KVM: memory ballooning bug?

2015-12-27 Thread Konstantin Khlebnikov
On Wed, Dec 23, 2015 at 8:22 AM, Minchan Kim wrote: > During my compaction-related stuff, I encountered some problems with > ballooning. > > Firstly, with repeated inflating and deflating cycle, guest memory(ie, > cat /proc/meminfo | grep MemTotal) decreased and couldn't

Re: [PATCH] drivers:pci Fix all whitespace issues

2015-12-27 Thread sasa bogicevic
Hi Joe, No this is not done with checkpatch.pl I just used it to verify that my changes are correct. I was wondering why that “type” pointer threw errors since it looks fine to me the way it was declared. This “type*” is just present in few of the files I can just redo those changes and send

<    1   2   3   4   5   >