Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Sedat Dilek
On Sat, Jan 3, 2015 at 3:45 PM, Rickard Strandqvist wrote: [ ... ] >> > I just got one more complaining about my subject-line in "net: wireless: " >> > I use some sed call for this, so it's easy to fix. I will now remove that >> > part hereinafter. >> > I check in Documentation/ but did not find

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 14:19 GMT+01:00 Sedat Dilek : > > On Sat, Jan 3, 2015 at 1:28 PM, Rickard Strandqvist > wrote: > > 2015-01-02 22:34 GMT+01:00 Rafał Miłecki : > >> > >> On 2 January 2015 at 18:46, Rickard Strandqvist > >> wrote: > >> > 2015-01-02 13:14 GMT+01:00 Sedat Dilek : > >> >> > >> >> On Fri,

PVS-Studio static analysis of v3.18.1

2015-01-03 Thread hg1skz6k3
The PVS-Studio people used their static analizer on v3.18.1, and claim that they are not familiar with the kernel but have found issues, some of which may or may not be potential vulnerabilities. This article is essentially an ad, but still interesting http://www.viva64.com/en/b/0299/ -- To

[PATCH 1/1 linux-next] hp100: simplify hp100_module_init

2015-01-03 Thread Fabian Frederick
-Avoid double goto and directly return err where possible. -Remove unused labels which fixes: drivers/net/ethernet/hp/hp100.c:3047:2: warning: label 'out3' defined but not used [-Wunused-label] Signed-off-by: Fabian Frederick --- This is untested. drivers/net/ethernet/hp/hp100.c | 17

Re: [PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread Sudip Mukherjee
On Sat, Jan 03, 2015 at 06:16:31PM +0530, jitendra kumar khasdev wrote: > This is patch to file pcl812.c that fix up warning line > over 80 character which is found by checkpatch tool. > > Signed-off-by: Jitendra Kumar Khasdev I am assuming this one you wanted to make as v3. but why you are

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Sedat Dilek
On Sat, Jan 3, 2015 at 1:28 PM, Rickard Strandqvist wrote: > 2015-01-02 22:34 GMT+01:00 Rafał Miłecki : >> >> On 2 January 2015 at 18:46, Rickard Strandqvist >> wrote: >> > 2015-01-02 13:14 GMT+01:00 Sedat Dilek : >> >> >> >> On Fri, Jan 2, 2015 at 1:06 PM, Rafał Miłecki wrote: >> >> > On 2

Re: Linux GPIO internals

2015-01-03 Thread Alexandre Courbot
Hi Michael, sorry for the delayed reply on this interesting issue. On Wed, Dec 24, 2014 at 10:53 PM, Michael Welling wrote: > All, > > For years now EMAC has provided an out-of-tree series of class drivers > for accessing various devices. The EMAC GPIO class and character > interfaces predate

DMA/TCE and Interrupt Remapping Linux Kernel equivalent on IBM system

2015-01-03 Thread marc spencer
Hi, Can anyone please explain what do the following Linux kernel options do? - Enable Intel DMA Remapping Devices by default - Support for Interrupt Remapping Now lets say I am not using Intel but instead using IBM POWER, what would be the similar options? Are these enabled by default on IBM

[PATCH 4/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 3/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 5/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Signed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] thermal: add omap3 support

2015-01-03 Thread Eduardo Valentin
Hello Pavel, Thanks for sending your code. On Sat, Jan 03, 2015 at 12:11:46PM +0100, Pavel Machek wrote: > Add support for omap3430 sensor. Tested on Nokia N900. To my understanding, and as already mentioned by Nishanth Menon (currently TIer), TI has intentionally avoided adding this support.

[PATCH v2 3/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 5/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 0/5] *** SUBJECT HERE ***

2015-01-03 Thread jitendra kumar khasdev
*** BLURB HERE *** jitendra kumar khasdev (5): Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line

[PATCH v2 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Eduardo Valentin
On Sat, Jan 03, 2015 at 12:46:32PM +0100, Pavel Machek wrote: > For omap3, proper implementation of eocz bit is needed. It was > actually a TODO in the driver. > > When periodic mode is not enabled, it is neccessary to force reads. > > Signed-off-by: Pavel Machek > > diff --git

Re: [PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread Sudip Mukherjee
On Sat, Jan 03, 2015 at 02:06:23PM +0530, jitendra kumar khasdev wrote: > This is patch to file pcl812.c that fix up warning line > over 80 character which is found by checkpatch tool. > > Singed-off-by: Jitendra Kumar Khasdev what is Singed-off ??? why you are doing Signed-off manually? let

[PATCH] x86, um: actually mark system call tables readonly

2015-01-03 Thread Daniel Borkmann
Commit a074335a370e ("x86, um: Mark system call tables readonly") was supposed to mark the sys_call_table in UML as RO by adding the const, but it doesn't have the desired effect as it's nevertheless being placed into the data section since __cacheline_aligned enforces sys_call_table being placed

Re: [PATCH v2] x86,setup: Rename myisspace to isspace and move it to ctype.h

2015-01-03 Thread Borislav Petkov
On Sat, Jan 03, 2015 at 01:10:05PM +0600, Alexander Kuleshov wrote: > Signed-off-by: Alexander Kuleshov > --- > arch/x86/boot/cmdline.c | 19 +++ > arch/x86/boot/ctype.h | 5 + > 2 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/arch/x86/boot/cmdline.c

Re: [PATCH] x86, setup: Rename BOOT_ISDIGIT_H -> BOOT_CTYPE_H

2015-01-03 Thread Borislav Petkov
On Sat, Jan 03, 2015 at 12:52:21PM +0600, Alexander Kuleshov wrote: > arch/x86/boot/isdigit.h was renamed to arch/x86/boot/ctype.h at > 6238b47b58480cd9c092600c05338dbe261b71ce. > > Signed-off-by: Alexander Kuleshov Acked-by: Borislav Petkov -- Regards/Gruss, Boris. Sent from a fat

[PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Pavel Machek
For omap3, proper implementation of eocz bit is needed. It was actually a TODO in the driver. When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c

[PATCH 2/2 net-next] netfilter: remove 0 assignment on static

2015-01-03 Thread Fabian Frederick
static values are automatically initialized to 0 Signed-off-by: Fabian Frederick --- net/bridge/br_netfilter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 37e7d9a..26d73fa 100644 ---

[PATCH 1/2 net-next] netfilter: remove err1 label only used with CONFIG_SYSCTL

2015-01-03 Thread Fabian Frederick
This patch fixes the following warning: net/bridge/br_netfilter.c:995:1: warning: label ‘err1’ defined but not used [-Wunused-label] Signed-off-by: Fabian Frederick --- net/bridge/br_netfilter.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH] staging: lustre: fid: Remove space before braces for defined() check

2015-01-03 Thread Andreas Ruprecht
checkpatch complains about three places where a space is prohibited before the braces for an "#if defined()" check. This patch removes the spaces. Signed-off-by: Andreas Ruprecht --- drivers/staging/lustre/lustre/fid/fid_internal.h | 2 +- drivers/staging/lustre/lustre/fid/fid_request.c | 4

[PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Pavel Machek
Simplify code by removing goto's where they point to simple return. Avoid confusing |= on error values. Correct whitespace. Signed-off-by: Pavel Machek diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c index 634b6ce..3b4e72f 100644 ---

[PATCH akpm/next v2] lib: crc32: constify crc32 lookup table

2015-01-03 Thread Daniel Borkmann
Commit 8f243af42ade ("sections: fix const sections for crc32 table") removed the compile-time generated crc32 tables from the RO sections, because it conflicts with the definition of __cacheline_aligned which puts all such aligned data into .data..cacheline_aligned section optimized for wasting

[PATCH] thermal: add omap3 support

2015-01-03 Thread Pavel Machek
Add support for omap3430 sensor. Tested on Nokia N900. Signed-off-by: Pavel Machek diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig index bd4c7be..a49495f 100644 --- a/drivers/thermal/ti-soc-thermal/Kconfig +++

[PATCH v2] drm/radeon: Fix kernel panic with HDMI w/o SAD

2015-01-03 Thread Takashi Iwai
A BUG_ON() call in dce3_2_afmt_write_sad_regs() is triggered when a HDMI monitor without audio is plugged: kernel BUG at ../drivers/gpu/drm/radeon/dce3_1_afmt.c:110! invalid opcode: [#1] PREEMPT SMP CPU: 2 PID: 967 Comm: Xorg Tainted: PO 3.16.7-7-desktop #1 Hardware name: System

Re: [PATCH] sound: soc: soc-pcm: Remove useless varialbe 'i'

2015-01-03 Thread Chen Gang S
On 1/3/15 17:59, Takashi Iwai wrote: > At Sat, 03 Jan 2015 17:45:57 +0800, > Chen Gang wrote: >> >> 'i' is useless in soc_pcm_set_msb(), so remove it, the related warning >> (with allmodconfig under s390): >> >> CC [M] sound/soc/soc-pcm.o >> sound/soc/soc-pcm.c: In function

Re: [PATCH] drm/radeon: Fix kernel panic when plugging a HDMI w/o SAD

2015-01-03 Thread Takashi Iwai
At Sat, 3 Jan 2015 09:27:52 +0100, Takashi Iwai wrote: > > A BUG_ON() call in dce3_2_afmt_write_sad_regs() is triggered when a > HDMI monitor without SAD is plugged as the case sad_count = 0 is > overlooked in the code: > > kernel BUG at ../drivers/gpu/drm/radeon/dce3_1_afmt.c:110! > invalid

Re: [PATCH] sound: soc: soc-pcm: Remove useless varialbe 'i'

2015-01-03 Thread Takashi Iwai
At Sat, 03 Jan 2015 17:45:57 +0800, Chen Gang wrote: > > 'i' is useless in soc_pcm_set_msb(), so remove it, the related warning > (with allmodconfig under s390): > > CC [M] sound/soc/soc-pcm.o > sound/soc/soc-pcm.c: In function 'soc_pcm_set_msb': > sound/soc/soc-pcm.c:307:11: warning:

Re: [PATCH] s390: boot: compressed: misc: Express the return value of _sclp_print_early()

2015-01-03 Thread Chen Gang
Our s390 can pass allmodconfig at present (although it is still has various warnings). Thanks. On 01/03/2015 05:29 PM, Chen Gang wrote: > _sclp_print_early() has return value: at present, return 0 for OK, 1 for > failure. It returns '%r2', so use 'long' as return value (upper caller > can check

[PATCH] sound: soc: soc-pcm: Remove useless varialbe 'i'

2015-01-03 Thread Chen Gang
'i' is useless in soc_pcm_set_msb(), so remove it, the related warning (with allmodconfig under s390): CC [M] sound/soc/soc-pcm.o sound/soc/soc-pcm.c: In function 'soc_pcm_set_msb': sound/soc/soc-pcm.c:307:11: warning: unused variable 'i' [-Wunused-variable] int ret, i;

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Richard Weinberger
Am 03.01.2015 um 00:08 schrieb Pavel Machek: > On Sat 2015-01-03 00:00:22, Richard Weinberger wrote: >> Am 02.01.2015 um 23:54 schrieb Pavel Machek: >>> On Fri 2015-01-02 23:49:52, Jiri Kosina wrote: On Fri, 2 Jan 2015, Pavel Machek wrote: >> You also want to protect against binaries

Re: [PATCH akpm/next] lib: crc32: conditionally constify crc32 lookup table

2015-01-03 Thread Daniel Borkmann
On 01/03/2015 02:08 AM, Andrew Morton wrote: On Sat, 03 Jan 2015 01:12:43 +0100 Daniel Borkmann wrote: Seems a lot of fuss. Why are these tables cacheline aligned anyway? To avoid one cache miss (most of the time, presumably) in a 16k table. Pretty marginal benefit, I suspect. I guess, it

Re: [PATCH v5 0/4] Fixes for SDIO interrupts for dw_mmc

2015-01-03 Thread Ulf Hansson
On 2 January 2015 at 18:11, Tony Lindgren wrote: > * Doug Anderson [150102 09:09]: >> Ulf, >> >> On Tue, Dec 30, 2014 at 2:29 AM, Ulf Hansson wrote: >> >>> In v5, I don't find a patch 1/4. Anyway, I have taken patch 2->4. >> >> >> >> Ah, maybe because it wasn't sent to linux-mmc? I messed that

[PATCH] s390: boot: compressed: misc: Express the return value of _sclp_print_early()

2015-01-03 Thread Chen Gang
_sclp_print_early() has return value: at present, return 0 for OK, 1 for failure. It returns '%r2', so use 'long' as return value (upper caller can check '%r2' directly). The related warning: CC arch/s390/boot/compressed/misc.o arch/s390/boot/compressed/misc.c:66:8: warning: type

Re: [PATCH 2/3] hwmon: Driver for OMAP3 temperature sensor

2015-01-03 Thread Pavel Machek
On Mon 2014-12-29 11:04:48, Guenter Roeck wrote: > On Mon, Dec 29, 2014 at 07:15:56PM +0100, Pavel Machek wrote: > > On Mon 2014-12-29 12:01:03, Nishanth Menon wrote: > > > On Mon, Dec 29, 2014 at 11:52 AM, Grazvydas Ignotas > > > wrote: > > > > On Fri, Dec 26, 2014 at 2:34 PM, Sebastian Reichel

[PATCH 2/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 3/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 5/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/5] *** SUBJECT HERE ***

2015-01-03 Thread jitendra kumar khasdev
*** BLURB HERE *** jitendra kumar khasdev (5): Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line

[PATCH] drm/radeon: Fix kernel panic when plugging a HDMI w/o SAD

2015-01-03 Thread Takashi Iwai
A BUG_ON() call in dce3_2_afmt_write_sad_regs() is triggered when a HDMI monitor without SAD is plugged as the case sad_count = 0 is overlooked in the code: kernel BUG at ../drivers/gpu/drm/radeon/dce3_1_afmt.c:110! invalid opcode: [#1] PREEMPT SMP CPU: 2 PID: 967 Comm: Xorg Tainted: PO

Re: [PATCH] Drivers: isdn: gigaset: checkpatch cleanup

2015-01-03 Thread Tilman Schmidt
[I only just noticed that my first reply got terribly mangled by my mailer, so here it is again, hopefully more readable this time.] Hello Bas, I have several objections to your patch. Am 31.12.2014 um 18:34 schrieb Bas Peters: I have not been able to test the code as I do not have access to

[PATCH] Revert ipw2200: select CFG80211_WEXT

2015-01-03 Thread Paul Bolle
This reverts commit 60220f41775e634258efd1b54c6fa81ce706. The raison d'être of commit 60220f41 (ipw2200: select CFG80211_WEXT) was reverted in commit 2d36e008739e (Revert cfg80211: make WEXT compatibility unselectable). So revert this commit too. Signed-off-by: Paul Bolle

Re: frequent lockups in 3.18rc4

2015-01-03 Thread Sasha Levin
On 01/02/2015 07:27 PM, John Stultz wrote: On Fri, Dec 26, 2014 at 12:57 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Dec 26, 2014 at 10:12 AM, Dave Jones da...@codemonkey.org.uk wrote: On Fri, Dec 26, 2014 at 11:34:10AM -0500, Dave Jones wrote: One thing I think

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 14:19 GMT+01:00 Sedat Dilek sedat.di...@gmail.com: On Sat, Jan 3, 2015 at 1:28 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: 2015-01-02 22:34 GMT+01:00 Rafał Miłecki zaj...@gmail.com: On 2 January 2015 at 18:46, Rickard Strandqvist

Re: perf-probe crash in dwarf_getcfi_elf

2015-01-03 Thread Namhyung Kim
Hi Mark, On Thu, Jan 1, 2015 at 4:42 AM, Mark Wielaard m...@redhat.com wrote: On Tue, Dec 30, 2014 at 06:05:33PM +0900, Namhyung Kim wrote: And I found a related commit (5704c8c4fa71 getcfi_scn_eh_frame: Don't crash and burn when .eh_frame bits aren't there.) in elfutils that can lead to a

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Sedat Dilek
On Sat, Jan 3, 2015 at 3:45 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: [ ... ] I just got one more complaining about my subject-line in net: wireless: I use some sed call for this, so it's easy to fix. I will now remove that part hereinafter. I check in

Re: [PATCH] PCI/sysfs: off by two and memory corruption in driver_override parameter

2015-01-03 Thread Bjorn Helgaas
On Thu, Jan 1, 2015 at 5:27 PM, Sasha Levin sasha.le...@oracle.com wrote: There are two different issues fixed here: - On nun-NULL terminated input a random byte of memory would get flipped from '\n' to '\0'. - When printing the driver_override parameter when it is 4095 and 4094 bytes long

Re: [PATCH 6/7] perf tools: Append callchains only when requested

2015-01-03 Thread Namhyung Kim
Hi Arnaldo, On Sat, Jan 3, 2015 at 11:25 AM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Mon, Dec 22, 2014 at 01:44:14PM +0900, Namhyung Kim escreveu: The perf report --children can be called with callchain disabled so no need to append callchains. Actually the root of callchain tree

[PATCH] next: microblaze: Fix build failure

2015-01-03 Thread Guenter Roeck
Microblaze build in linux-next fails with arch/microblaze/kernel/timer.c:224:2: error: implicit declaration of function 'timecounter_init' Caused by missing include file in microblaze timer code. Fixes: 74d23cc704d1 (time: move the timecounter/cyclecounter code into its own file) Cc:

PVS-Studio static analysis of v3.18.1

2015-01-03 Thread hg1skz6k3
The PVS-Studio people used their static analizer on v3.18.1, and claim that they are not familiar with the kernel but have found issues, some of which may or may not be potential vulnerabilities. This article is essentially an ad, but still interesting http://www.viva64.com/en/b/0299/ -- To

[PATCH] drm/radeon: Fix kernel panic when plugging a HDMI w/o SAD

2015-01-03 Thread Takashi Iwai
A BUG_ON() call in dce3_2_afmt_write_sad_regs() is triggered when a HDMI monitor without SAD is plugged as the case sad_count = 0 is overlooked in the code: kernel BUG at ../drivers/gpu/drm/radeon/dce3_1_afmt.c:110! invalid opcode: [#1] PREEMPT SMP CPU: 2 PID: 967 Comm: Xorg Tainted: PO

[PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 3/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 5/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 0/5] *** SUBJECT HERE ***

2015-01-03 Thread jitendra kumar khasdev
*** BLURB HERE *** jitendra kumar khasdev (5): Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Tomasz Figa
2015-01-04 0:34 GMT+09:00 Nishanth Menon n...@ti.com: On 15:40-20150103, Tomasz Figa wrote: Hi Nishanth, 2015-01-03 2:43 GMT+09:00 Nishanth Menon n...@ti.com: AM437x generation of processors support programming the PL310 L2Cache controller's address filter start and end registers using

[PATCH] power: avs: smartreflex: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function sr_configure_minmax() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/power/avs/smartreflex.c | 86

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-03 Thread Sergey Dyasly
Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various sizes. 3. Largest contiguous chunk of vmalloc area was

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Nishanth Menon
On 15:40-20150103, Tomasz Figa wrote: Hi Nishanth, 2015-01-03 2:43 GMT+09:00 Nishanth Menon n...@ti.com: AM437x generation of processors support programming the PL310 L2Cache controller's address filter start and end registers using a secure montior service. typo: s/montior/monitor

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 15:51 GMT+01:00 Sedat Dilek sedat.di...@gmail.com: On Sat, Jan 3, 2015 at 3:45 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: [ ... ] I just got one more complaining about my subject-line in net: wireless: I use some sed call for this, so it's easy to fix.

[PATCH 1/1 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-03 Thread Fabian Frederick
suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. Fix the following warning: mm/compaction.c:311:13: warning: 'suitable_migration_target' defined but not used [-Wunused-function] Signed-off-by: Fabian Frederick

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Pavel Machek
Hi! When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek pa...@ucw.cz --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c @@ -43,6 +43,8 @@ #include ti-bandgap.h +static int

[PATCH] staging: gdm724x: fix coding style issues

2015-01-03 Thread Ning Zhou
Signed-off-by: Ning Zhou zhou.ning...@gmail.com --- drivers/staging/gdm724x/gdm_lte.c | 3 ++- drivers/staging/gdm724x/gdm_mux.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c index 73eede1..7c4a77b

Re: [PATCH V2 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.\

2015-01-03 Thread Nishanth Menon
On 15:42-20150103, Tomasz Figa wrote: Indeed, as I figured out in the original thread about this issue, additional patch fixing code unaffected by my series (besides changing the condition which triggers calling it) is necessary. Namely, the affected 4 registers need to be written using

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Eduardo Valentin
On Sat, Jan 03, 2015 at 12:46:32PM +0100, Pavel Machek wrote: For omap3, proper implementation of eocz bit is needed. It was actually a TODO in the driver. When periodic mode is not enabled, it is neccessary to force reads. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git

[PATCH] x86, um: actually mark system call tables readonly

2015-01-03 Thread Daniel Borkmann
Commit a074335a370e (x86, um: Mark system call tables readonly) was supposed to mark the sys_call_table in UML as RO by adding the const, but it doesn't have the desired effect as it's nevertheless being placed into the data section since __cacheline_aligned enforces sys_call_table being placed

[PATCH v2 3/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread Sudip Mukherjee
On Sat, Jan 03, 2015 at 02:06:23PM +0530, jitendra kumar khasdev wrote: This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com what is Singed-off ??? why you are doing Signed-off

[PATCH v2 2/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2] x86,setup: Rename myisspace to isspace and move it to ctype.h

2015-01-03 Thread Borislav Petkov
On Sat, Jan 03, 2015 at 01:10:05PM +0600, Alexander Kuleshov wrote: Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- arch/x86/boot/cmdline.c | 19 +++ arch/x86/boot/ctype.h | 5 + 2 files changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH v2 5/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread jitendra kumar khasdev
This is patch to file pcl812.c that fix up warning line over 80 character which is found by checkpatch tool. Singed-off-by: Jitendra Kumar Khasdev jkhas...@gmail.com --- drivers/staging/comedi/drivers/pcl812.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 0/5] *** SUBJECT HERE ***

2015-01-03 Thread jitendra kumar khasdev
*** BLURB HERE *** jitendra kumar khasdev (5): Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line over 80 characters warning Staging: comedi: fix line

Re: [PATCH] power: avs: smartreflex: Remove unused function

2015-01-03 Thread Nishanth Menon
On 16:58-20150103, Rickard Strandqvist wrote: Remove the function sr_configure_minmax() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Nishanth Menon
On 12:19-20150103, Pavel Machek wrote: Simplify code by removing goto's where they point to simple return. Avoid confusing |= on error values. Please split these up into chunks of related changes. there is white space and quiet a few other changes all mixed in. Also please cc linux-omap

[PATCH] [sched] Account the elapse of each period accurately

2015-01-03 Thread Zhihui Zhang
Currently, the decayed values of previous periods can spill into the lower 10 bits of runnable_avg_period. This makes the next period to be less than 1024 us. If we want to decay exactly every 1024us, which I see no reason not to (less math overhead and consistent decay period among all tasks),

[PATCH V3] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-03 Thread Nishanth Menon
TPS gpio now controls a 5v 500mA TL5209 regulator which may be supply a fan (such as AFB02505HHB) over J1 connector for various purposes. Provide device tree node to enable the same. Signed-off-by: Nishanth Menon n...@ti.com --- V3: Rebased to v3.19-rc1, added label for GPIO fan (for future

Re: WARNING: at drivers/gpu/drm/i915/intel_display.c:11375 [i915] in 3.19-rc2

2015-01-03 Thread Andrey Skvortsov
On Fri, Jan 02, 2015 at 08:27:29PM +0530, Sudip Mukherjee wrote: On Thu, Jan 01, 2015 at 05:22:15PM +0300, Andrey Skvortsov wrote: Hi, this warning does not exist in 3.19-rc1, but it happens every boot in 3.19-rc2. If you need any other information or data, I would be glad to help to

Re: [PATCH] Revert ipw2200: select CFG80211_WEXT

2015-01-03 Thread Marcel Holtmann
Hi Paul, This reverts commit 60220f41775e634258efd1b54c6fa81ce706. The raison d'être of commit 60220f41 (ipw2200: select CFG80211_WEXT) was reverted in commit 2d36e008739e (Revert cfg80211: make WEXT compatibility unselectable). So revert this commit too. Signed-off-by: Paul

Re: [PATCH] Revert ipw2200: select CFG80211_WEXT

2015-01-03 Thread Linus Torvalds
On Sat, Jan 3, 2015 at 10:02 AM, Marcel Holtmann mar...@holtmann.org wrote: why would you revert this? It is obviously the correct change to actually select CFG80211_WEXT. I don't know about obvious, but yeah, I think the select in this case is actually the better idea anyway. We could make

[PATCH 1/1 linux-next] ceph: use %zu for size_t display

2015-01-03 Thread Fabian Frederick
Fixes the following 32-bit compilation warning: fs/ceph/addr.c:1419:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] Signed-off-by: Fabian Frederick f...@skynet.be --- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] device: Fix dev_dbg_once macro

2015-01-03 Thread Joe Perches
There is a copy/paste typo in the dev_dbg_once macro. It uses dev_info instead of dev_dbg, so use the correct function instead. Signed-off-by: Joe Perches j...@perches.com Noticed-by: Marc Finet m.dreadl...@gmail.com --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 2/3] hwmon: Driver for OMAP3 temperature sensor

2015-01-03 Thread Pavel Machek
On Mon 2014-12-29 11:04:48, Guenter Roeck wrote: On Mon, Dec 29, 2014 at 07:15:56PM +0100, Pavel Machek wrote: On Mon 2014-12-29 12:01:03, Nishanth Menon wrote: On Mon, Dec 29, 2014 at 11:52 AM, Grazvydas Ignotas nota...@gmail.com wrote: On Fri, Dec 26, 2014 at 2:34 PM, Sebastian

Re: [PATCH] drm/radeon: Fix kernel panic when plugging a HDMI w/o SAD

2015-01-03 Thread Takashi Iwai
At Sat, 3 Jan 2015 09:27:52 +0100, Takashi Iwai wrote: A BUG_ON() call in dce3_2_afmt_write_sad_regs() is triggered when a HDMI monitor without SAD is plugged as the case sad_count = 0 is overlooked in the code: kernel BUG at ../drivers/gpu/drm/radeon/dce3_1_afmt.c:110! invalid opcode:

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Richard Weinberger
Am 03.01.2015 um 00:08 schrieb Pavel Machek: On Sat 2015-01-03 00:00:22, Richard Weinberger wrote: Am 02.01.2015 um 23:54 schrieb Pavel Machek: On Fri 2015-01-02 23:49:52, Jiri Kosina wrote: On Fri, 2 Jan 2015, Pavel Machek wrote: You also want to protect against binaries that are evil on

Re: [PATCH v5 0/4] Fixes for SDIO interrupts for dw_mmc

2015-01-03 Thread Ulf Hansson
On 2 January 2015 at 18:11, Tony Lindgren t...@atomide.com wrote: * Doug Anderson diand...@chromium.org [150102 09:09]: Ulf, On Tue, Dec 30, 2014 at 2:29 AM, Ulf Hansson ulf.hans...@linaro.org wrote: In v5, I don't find a patch 1/4. Anyway, I have taken patch 2-4. Ah, maybe because it

Re: [PATCH akpm/next] lib: crc32: conditionally constify crc32 lookup table

2015-01-03 Thread Daniel Borkmann
On 01/03/2015 02:08 AM, Andrew Morton wrote: On Sat, 03 Jan 2015 01:12:43 +0100 Daniel Borkmann dbork...@redhat.com wrote: Seems a lot of fuss. Why are these tables cacheline aligned anyway? To avoid one cache miss (most of the time, presumably) in a 16k table. Pretty marginal benefit, I

<    1   2   3   4   >