Re: BUG: scheduling while atomic: ifup-bonding/3711/0x00000002 -- V3.6.7

2012-12-08 Thread Linda Walsh
Jay Vosburgh wrote: --- If I am running 'rr' on 2 channels -- specifically for the purpose of link speed aggregation (getting 1 20Gb channel out of 2 10Gb channels) I'm not sure I see how miimon would provide benefit. -- if 1 link dies, the other, being on the same card is likely to be dead to

Re: [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-08 Thread Julia Lawall
Rather than the goto, add the fail path code in directly, and return. ret = register_framebuffer(&fbi->fb); if (ret < 0) { dev_err(&pdev->dev, "Failed to register framebuffer device: %d\n", ret); if (fbi->fb.cmap.len) fb_dealloc_cmap(&fbi->fb.cmap); return ret; } So there is no need for

Re: [PATCH RFT] regulator: 88pm8607: Update update_bit for BUCK2 in pm8607_set_voltage_sel

2012-12-08 Thread Haojian Zhuang
On Sun, Dec 9, 2012 at 11:41 AM, Axel Lin wrote: > BUCK2 has the update_bit setting, but current code does not set update_bit > in pm8607_set_voltage_sel. > > Signed-off-by: Axel Lin > --- > Hi Haojian, > I don't have the datasheet, can you check if this patch is correct or not? > Thanks, > Axel

Re: 8250 UART doesn't work

2012-12-08 Thread Woody Wu
On 2012-12-08, Alan Cox wrote: >> Which kind of configuration is right for ARM? I think the >> 8250_exar_st16c554.c is for ISA bus board and hence is not suit to me, >> but I am not sure my understanding is right. Please give me some >> backgroud information on this field. > > You are the one who

Re: [PATCH RFT 2/2] regulator: anatop: Use regulator_[get|set]_voltage_sel_regmap

2012-12-08 Thread Ying-Chun Liu (PaulLiu)
於 2012年12月09日 08:07, Axel Lin 提到: > Call regulator_[get|set]_voltage_sel_regmap instead of open code. > > Signed-off-by: Axel Lin Reviewed-by: Ying-Chun Liu Looks good to me and I just test the path and it works. -- PaulLiu (劉穎駿) E-mail: Ying-Chun Liu (PaulLiu)

Re: [PATCH RFT 1/2] regulator: anatop: Use linear_min_sel with linear mapping

2012-12-08 Thread Ying-Chun Liu (PaulLiu)
於 2012年12月09日 08:05, Axel Lin 提到: > By setting linear_min_sel to anatop_reg->min_bit_val, we can avoid > adjust the anatop_reg->min_bit_val offset in [set|get]_voltage_sel. > > With this chance we can refactor this driver to use > regulator_[get|set]_voltage_sel_regmap. > > Signed-off-by: Axel Li

Re: [PATCH net-next v3 0/3] Multiqueue support in virtio-net

2012-12-08 Thread David Miller
From: Jason Wang Date: Sat, 8 Dec 2012 01:04:54 +0800 > This series is an update version (hope the final version) of multiqueue > (VIRTIO_NET_F_MQ) support in virtio-net driver. All previous comments were > addressed, the work were based on Krishna Kumar's work to let virtio-net use > multiple r

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-08 Thread Masami Hiramatsu
(2012/12/08 8:17), Cong Ding wrote: >> Patch description please? > there are 2 consts in the definition of one variable > Please put in an actual patch description. The first line (subject line) is a title; the patch should make sense without it. >>> sorry for that. so l

linux-next: fetch failure the xilinx tree

2012-12-08 Thread Stephen Rothwell
Hi John, Attempting to fetch the xilinx tree produces this error (and has for some days, now): fatal: The remote end hung up unexpectedly -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpYBignzsgu8.pgp Description: PGP signature

Re: [PATCH v4 net-next 0/5] tunneling: Add support for hardware-offloaded encapsulation

2012-12-08 Thread David Miller
From: Joseph Gasparakis Date: Fri, 7 Dec 2012 16:14:13 -0800 > The series contains updates to add in the NIC Rx and Tx checksumming > support for encapsulated packets. Ok, all applied (except the ixgbe patch, of course), thanks. -- To unsubscribe from this list: send the line "unsubscribe linux

[PATCH RFT] regulator: 88pm8607: Update update_bit for BUCK2 in pm8607_set_voltage_sel

2012-12-08 Thread Axel Lin
BUCK2 has the update_bit setting, but current code does not set update_bit in pm8607_set_voltage_sel. Signed-off-by: Axel Lin --- Hi Haojian, I don't have the datasheet, can you check if this patch is correct or not? Thanks, Axel drivers/regulator/88pm8607.c |1 + 1 file changed, 1 insertion

Re: [PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-08 Thread Jason Gunthorpe
On Sat, Dec 08, 2012 at 12:26:24PM +0100, Andrew Lunn wrote: > 1) It should have an IRQ domain, like the other IRQ chips we have. > 2) It should have a DT binding, like the other IRQ chips we have. I was going to look at a DT binding for this as a follow on, since I'll want to bind to these inte

rs600 warn on while booting 3.7-rc8

2012-12-08 Thread Dave Jones
[ 66.104790] WARNING: at drivers/gpu/drm/radeon/rs600.c:571 rs600_irq_set+0x1e2/0x200() [ 66.105748] Hardware name: GA-MA78GM-S2H [ 66.106220] Can't enable IRQ/MSI because no handler is installed [ 66.106935] Modules linked in: [ 66.107329] Pid: 43, comm: kworker/0:1 Not tainted 3.7.0-rc

Re: [ 00/20] 3.4.23-stable review

2012-12-08 Thread Shuah Khan
On Sat, Dec 8, 2012 at 12:46 PM, Greg Kroah-Hartman wrote: > On Fri, Dec 07, 2012 at 05:59:24PM -0700, Shuah Khan wrote: >> On Fri, Dec 7, 2012 at 5:52 PM, Shuah Khan wrote: >> > On Fri, Dec 7, 2012 at 5:49 PM, Shuah Khan wrote: >> >> On Thu, Dec 6, 2012 at 5:54 PM, Greg Kroah-Hartman >> >> wro

[PATCH 2/2] Revert "HID: sensors: add to special driver list"

2012-12-08 Thread Alexander Holler
Those IDs aren't necessary anymore. This reverts commit c8147d9ea19bfe7d8e569351bc7239e118dd6997. Signed-off-by: Alexander Holler --- drivers/hid/hid-core.c |5 - drivers/hid/hid-ids.h |6 -- 2 files changed, 0 insertions(+), 11 deletions(-) diff --git a/drivers/hid/hid-core.c

[PATCH 1/2] HID: autodetect HID sensor hubs.

2012-12-08 Thread Alexander Holler
It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such sensor hubs, based on a collection of type physical inside a useage page of type sensor. If some sensor hubs stil must be usable as raw devices, a blackl

Re: [ANNOUNCE] 3.6.9-rt21

2012-12-08 Thread Ove Karlsen
On 12/8/2012 4:28 PM, jdow wrote: On 2012/12/08 16:48, Ove Karlsen wrote: Heya. As some may remember, I said I was going to build an E5 machine. Well I did, well atleast ordered the most similar to what I wanted, and exchanged the graphics-card (pcie3.0) only. I was completely correct in that t

Re: kswapd craziness in 3.7

2012-12-08 Thread Linus Torvalds
On Sat, 8 Dec 2012, Zlatko Calusic wrote: > > Or sooner... in short: nothing's changed! > > On a 4GB RAM system, where applications use close to 2GB, kswapd likes to keep > around 1GB free (unused), leaving only 1GB for page/buffer cache. If I force > bigger page cache by reading a big file and

Re: 3.7-rc8 boot failure due to recent workqueue-related patch

2012-12-08 Thread Linus Torvalds
On Sat, 8 Dec 2012, Mel Gorman wrote: > > Commit 8852aac2 (workqueue: mod_delayed_work_on() shouldn't queue timer on > 0 delay) is causing the following boot failure for me. Found by bisection > but no further analysis unfortunately until I get back home properly. > I've added the relevant mainta

Re: [PATCH] staging: rtl8712: avoid a useless call to memset().

2012-12-08 Thread Cyril Roelandt
On 12/05/2012 08:11 AM, Dan Carpenter wrote: On Wed, Dec 05, 2012 at 02:22:02AM +0100, Cyril Roelandt wrote: In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that has just been zeroed by a call to memset(). I look at it like the original code is fine. Your version is

[PATCH RFT 2/2] regulator: anatop: Use regulator_[get|set]_voltage_sel_regmap

2012-12-08 Thread Axel Lin
Call regulator_[get|set]_voltage_sel_regmap instead of open code. Signed-off-by: Axel Lin --- drivers/regulator/anatop-regulator.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulat

[PATCH RFT 1/2] regulator: anatop: Use linear_min_sel with linear mapping

2012-12-08 Thread Axel Lin
By setting linear_min_sel to anatop_reg->min_bit_val, we can avoid adjust the anatop_reg->min_bit_val offset in [set|get]_voltage_sel. With this chance we can refactor this driver to use regulator_[get|set]_voltage_sel_regmap. Signed-off-by: Axel Lin --- drivers/regulator/anatop-regulator.c |

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-08 Thread Andy Lutomirski
On Sat, Dec 8, 2012 at 3:37 PM, Andy Lutomirski wrote: > > Again (any mainly because I feel like there's a giant mental > disconnect here in that I really don't understand wtf the current / > POSIX system is trying to accomplish): what would be wrong with a > model in which capabilities could be f

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-08 Thread Andy Lutomirski
On Sat, Dec 8, 2012 at 2:33 PM, Andrew G. Morgan wrote: > On Fri, Dec 7, 2012 at 10:39 AM, Andy Lutomirski wrote: >> It breaks down because, currently, users with nonzero pI have no >> direct ability to wield the capabilities. That means that every >> single binary with fI bits set needs to be a

Re: kbuild: Invalid configuration generated for dependent choices by 'conf' but not by 'mconf', with reason

2012-12-08 Thread Ulf Magnusson
On Thu, Dec 6, 2012 at 1:07 AM, Ulf Magnusson wrote: > Hi, > > Consider the following Kconfig file: > > config MODULES > def_bool y > > choice > tristate "C1" > config A > tristate "A" > config B > tristate "B" > endchoice > > choice > bool "C2" if A > config C >

[PATCH] ssb: use WARN in main.c

2012-12-08 Thread Cong Ding
Use WARN rather than printk followed by WARN_ON(1), for conciseness. Signed-off-by: Cong Ding --- drivers/ssb/main.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index bd7115c..c82c5c9 100644 --- a/drivers/ssb/main.c +++ b/dri

Re: [PATCH 1/2] tty: remove trailing spaces in tty/hvc

2012-12-08 Thread Alan Cox
On Sat, 8 Dec 2012 01:41:23 + Cong Ding wrote: > remove trailing blank spaces in tty/hvc by shell command: > sed 's/\s\+$//g' -i > > I have manually reviewed that everything is correct. > > Signed-off-by: Cong Ding Both acked-by: Alan Cox Thanks Alan -- To unsubscribe from this list:

Re: Look Ma, da kernel is b0rken

2012-12-08 Thread Alan Cox
On Sat, 8 Dec 2012 11:52:34 +0100 Borislav Petkov wrote: > On Sat, Dec 08, 2012 at 08:36:34AM +0100, Andreas Mohr wrote: > > And that demand actually applies to both the '@' change (questionable) > > and the much less disputed (obviously correct) wrong conditional > > fixup, since both introduce

Re: [GIT PULL v2] printk: Make it usable on nohz cpus

2012-12-08 Thread Frederic Weisbecker
2012/12/8 Ingo Molnar : > > * Frederic Weisbecker wrote: > >> Ingo, >> >> Please pull the printk support in dynticks mode patches that can >> be found at: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git >> tags/printk-dynticks-for-mingo-v2 >> >> for you to fetch

Re: 8250 UART doesn't work

2012-12-08 Thread Alan Cox
> Which kind of configuration is right for ARM? I think the > 8250_exar_st16c554.c is for ISA bus board and hence is not suit to me, > but I am not sure my understanding is right. Please give me some > backgroud information on this field. You are the one who should have the information for your b

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-08 Thread Andrew G. Morgan
On Fri, Dec 7, 2012 at 10:39 AM, Andy Lutomirski wrote: > On Fri, Dec 7, 2012 at 9:07 AM, Andrew G. Morgan wrote: >> I'm still missing something with the problem definition. >> >> So far if I follow the discussion we have determined that inheritance >> as implemented is OK except for the fact tha

Re: [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-08 Thread Tony Prisk
On Sat, 2012-12-08 at 17:31 +0100, Julia Lawall wrote: > From: Julia Lawall > > The various devm_ functions allocate memory that is released when a driver > detaches. This patch uses these functions for data that is allocated in > the probe function of a platform device and is only freed in the

Re: kswapd craziness in 3.7

2012-12-08 Thread Zlatko Calusic
On 08.12.2012 13:06, Zlatko Calusic wrote: On 06.12.2012 20:31, Linus Torvalds wrote: Ok, people seem to be reporting success. I've applied Johannes' last patch with the new tested-by tags. I've been testing this patch since it was applied, and it certainly fixes the kswapd craziness issue,

Re: [PATCH 1/3] HWPOISON, hugetlbfs: fix warning on freeing hwpoisoned hugepage

2012-12-08 Thread Naoya Horiguchi
On Fri, Dec 07, 2012 at 02:34:14PM -0800, Andrew Morton wrote: > On Fri, 7 Dec 2012 10:49:57 -0500 > Naoya Horiguchi wrote: > > > This patch fixes the warning from __list_del_entry() which is triggered > > when a process tries to do free_huge_page() for a hwpoisoned hugepage. > > This changelog i

3.7-rc8 boot failure due to recent workqueue-related patch

2012-12-08 Thread Mel Gorman
Commit 8852aac2 (workqueue: mod_delayed_work_on() shouldn't queue timer on 0 delay) is causing the following boot failure for me. Found by bisection but no further analysis unfortunately until I get back home properly. I've added the relevant maintainers for megasas and SCSI in case it's somehow sp

[PATCH 2/3] checkpatch: Add support for floating point constants

2012-12-08 Thread Joe Perches
Even though the kernel doesn't support using floating point constants, add a regex for them. Support forms like: 0x123p1, 123e-1, 1.23, 1.5e23f Signed-off-by: Joe Perches --- scripts/checkpatch.pl |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/scripts/checkpatch.p

[PATCH 3/3] checkpatch: Warn on CamelCase variable names

2012-12-08 Thread Joe Perches
Store the camelcase variables in a hash and only emit a warning on the first use of each new variable. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl in

[PATCH 1/3] checkpatch: Find hex constants as a single IDENT

2012-12-08 Thread Joe Perches
Hexadecimal values are current found in 2 parts. A hex constant like 0x123456abcdef is found as 0 and then x123456abcdef and later coalesced. Instead, reverse the order of the 2 searches in $Constant to find 0x first, then 0 so that the entire hex constant is found all at once. Signed-off-by: Joe

Re: [PATCH v2] ARM: eukrea_mbimx27-baseboard - use stock get_pendown_state() in ads7846

2012-12-08 Thread Fabio Estevam
Hi Sascha, On Sat, Dec 8, 2012 at 9:16 AM, Sascha Hauer wrote: > On Tue, Nov 27, 2012 at 01:03:56AM -0800, Dmitry Torokhov wrote: >> The default implementation matches exactly our custom one so we can switch >> to using the default one. As a bonus the driver will take care of setting >> GPIO line

Re: zram: fix invalid memory references during disk write

2012-12-08 Thread Greg KH
On Fri, Dec 07, 2012 at 04:50:37PM -0800, Nitin Gupta wrote: > On Thu, Nov 29, 2012 at 10:45 PM, Nitin Gupta wrote: > > Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling > > of incompressible pages") which caused invalid memory references > > during disk write. Invalid references cou

Re: [ 00/20] 3.4.23-stable review

2012-12-08 Thread Greg Kroah-Hartman
On Fri, Dec 07, 2012 at 05:59:24PM -0700, Shuah Khan wrote: > On Fri, Dec 7, 2012 at 5:52 PM, Shuah Khan wrote: > > On Fri, Dec 7, 2012 at 5:49 PM, Shuah Khan wrote: > >> On Thu, Dec 6, 2012 at 5:54 PM, Greg Kroah-Hartman > >> wrote: > >>> This is the start of the stable review cycle for the 3.4

Re: [PATCH] mm: add node physical memory range to sysfs

2012-12-08 Thread Greg Kroah-Hartman
On Fri, Dec 07, 2012 at 02:34:56PM -0800, Davidlohr Bueso wrote: > This patch adds a new 'memrange' file that shows the starting and > ending physical addresses that are associated to a node. This is > useful for identifying specific DIMMs within the system. > > Signed-off-by: Davidlohr Bueso > -

Re: Incrementing module reference count

2012-12-08 Thread Aaron Williams
On 12/08/2012 03:44 AM, Borislav Petkov wrote: > On Fri, Dec 07, 2012 at 05:14:39PM -0800, Aaron Williams wrote: >> Hi, >> >> I have a kernel module which other modules register with in order to >> export access functions. So far I have everything working but I want >> to prevent a module that is r

Re: [PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2012-12-08 Thread Joe Perches
On Sat, 2012-12-08 at 16:13 -0200, Peter Senna Tschudin wrote: > On Sat, Dec 8, 2012 at 3:45 PM, Joe Perches wrote: > > On Sat, 2012-12-08 at 15:34 -0200, Peter Senna Tschudin wrote: > >> This semantic patch looks for semicolons that can be removed without > >> changing the semantics of the code.

Re: [PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2012-12-08 Thread Peter Senna Tschudin
On Sat, Dec 8, 2012 at 3:45 PM, Joe Perches wrote: > On Sat, 2012-12-08 at 15:34 -0200, Peter Senna Tschudin wrote: >> This semantic patch looks for semicolons that can be removed without >> changing the semantics of the code. The confidence is moderate >> because there are some false positives on

Re: [braindump][RFC] signals and syscall restarts (Re: [PATCH v2 19/44] metag: Signal handling)

2012-12-08 Thread Al Viro
On Thu, Dec 06, 2012 at 10:09:55PM +, Al Viro wrote: > What we need to guarantee is > * restarts do not happen on signals caught in interrupts or exceptions > * restarts do not happen on signals caught in sigreturn() > * restart should happen only once, even if we get through do_signal()

Re: [PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2012-12-08 Thread Joe Perches
On Sat, 2012-12-08 at 15:34 -0200, Peter Senna Tschudin wrote: > This semantic patch looks for semicolons that can be removed without > changing the semantics of the code. The confidence is moderate > because there are some false positives on cases like: > > b/drivers/mmc/host/cb710-mmc.c:589 >

[PATCH V2] drivers/base/core.c: Remove two unused variables and two useless calls to kfree

2012-12-08 Thread Peter Senna Tschudin
old_class_name, and new_class_name are never used. This patch remove the declaration and calls to kfree. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r1 forall@ type T; identifier i; @@ * T *i = NULL; ... when != i * kfree(i); // Signed-off-by: P

[PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2012-12-08 Thread Peter Senna Tschudin
This semantic patch looks for semicolons that can be removed without changing the semantics of the code. The confidence is moderate because there are some false positives on cases like: b/drivers/mmc/host/cb710-mmc.c:589 break; case MMC_POWER_UP: default: -

Re: Streamlining Developer's Certificate of Origin, Signed-off-by tag

2012-12-08 Thread W. Trevor King
On Wed, Nov 21, 2012 at 12:10:43AM +, Alan Cox wrote: > > Not just a separate document but project / github / whatever given > > that other projects are referring to it now, and we stand to gain more > > in the community by streamlining it more and making it ubiquitous. > > Cutting and pasting

Re: [PATCH v6] Cypress PS/2 Trackpad driver

2012-12-08 Thread Kamal Mostafa
Hi Henrik- On Sat, 2012-12-08 at 13:54 +0100, Henrik Rydberg wrote: > [...] > > --- a/drivers/input/mouse/Kconfig > > +++ b/drivers/input/mouse/Kconfig > > @@ -68,6 +68,16 @@ config MOUSE_PS2_SYNAPTICS > > > > If unsure, say Y. > > > > +config MOUSE_PS2_CYPRESS > > + bool "Cypress

Re: 8250 UART doesn't work

2012-12-08 Thread Woody Wu
On 2012-12-07, Alan Cox wrote: >> The UART controller is EXAR ST16C554D. It claims as a 16550 >> compatible controller. Each ST16C554D module contains 4 UART, each of >> them can be selected via two chip select pad. I think the board >> hardware, via a CPLD, make the chip selection transparent to

[PATCH 3/3] sound/soc/soc-core.c: drop kfree of devm_kzalloc's data

2012-12-08 Thread Julia Lawall
From: Julia Lawall Using kfree to free data allocated with devm_kzalloc causes double frees. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ x = devm_kzalloc(...) ... ?-kfree(x); // Signed-off-by: Julia Lawall --- The kfrees we

question about drivers/power/88pm860x_charger.c

2012-12-08 Thread Julia Lawall
The function pm860x_charger_probe in the file drivers/power/88pm860x_charger.c contains the following code: count = pdev->num_resources; for (i = 0, j = 0; i < count; i++) { info->irq[j] = platform_get_irq(pdev, i); if (info->irq[j] < 0)

[PATCH] drivers/power/88pm860x_battery.c: use devm_request_threaded_irq

2012-12-08 Thread Julia Lawall
From: Julia Lawall devm_request_threaded_irq requests and irq that is freed when a driver detaches. This patch uses devm_request_threaded_irq for irqs that are requested in the probe function of a platform device and are only freed in the remove function. Additionally, the original code used de

question about drivers/pinctrl/pinctrl-at91.c

2012-12-08 Thread Julia Lawall
The function at91_dt_node_to_map in drivers/pinctrl/pinctrl-at91.c contains the following code: new_map = devm_kzalloc(pctldev->dev, sizeof(*new_map) * map_num, GFP_KERNEL); if (!new_map) return -ENOMEM; *map = new_map; *num_maps = map_num;

Re: [ANNOUNCE] 3.6.9-rt21

2012-12-08 Thread Ove Karlsen
Heya. As some may remember, I said I was going to build an E5 machine. Well I did, well atleast ordered the most similar to what I wanted, and exchanged the graphics-card (pcie3.0) only. I was completely correct in that this machine, would have low-jitter /low-latency. And it completely lives up

[PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-08 Thread Julia Lawall
From: Julia Lawall The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is only freed in the remove function. The patch makes some other cleanups. First, th

[PATCH] Remove two unused variables and two useless calls to kfree

2012-12-08 Thread Peter Senna Tschudin
old_class_name, and new_class_name are never used. This patch remove the declaration and calls to kfree. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r1 forall@ type T; identifier i; @@ * T *i = NULL; ... when != i * kfree(i); // Signed-off-by: P

[tip:perf/core] perf evsel: Introduce is_group_member method

2012-12-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 07ac002f2fcc74c5be47b656d9201d5de84dc53d Gitweb: http://git.kernel.org/tip/07ac002f2fcc74c5be47b656d9201d5de84dc53d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 13 Nov 2012 17:27:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:45 -0300 pe

[tip:perf/core] tools: Pass the target in descend

2012-12-08 Thread tip-bot for David Howells
Commit-ID: 1668fc6505bd0796e34ee7f65eee69e81daaabe9 Gitweb: http://git.kernel.org/tip/1668fc6505bd0796e34ee7f65eee69e81daaabe9 Author: David Howells AuthorDate: Tue, 13 Nov 2012 14:14:38 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:30 -0300 tools: Pass t

[tip:perf/core] perf powerpc: Use uapi/ unistd.h to fix build error

2012-12-08 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 1483c2ae90738e7453bfe446a3bbcdd0ba9abf36 Gitweb: http://git.kernel.org/tip/1483c2ae90738e7453bfe446a3bbcdd0ba9abf36 Author: Sukadev Bhattiprolu AuthorDate: Wed, 31 Oct 2012 11:21:28 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:39 -0300 perf po

[tip:perf/core] tools: Honour the O= flag when tool build called from a higher Makefile

2012-12-08 Thread tip-bot for David Howells
Commit-ID: 9db48cd5ccd0d127e991c15509a0241a18043e91 Gitweb: http://git.kernel.org/tip/9db48cd5ccd0d127e991c15509a0241a18043e91 Author: David Howells AuthorDate: Mon, 5 Nov 2012 21:02:08 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:22 -0300 tools: Honour

[tip:perf/core] tools: Define a Makefile function to do subdir processing

2012-12-08 Thread tip-bot for David Howells
Commit-ID: 0bca6cff89c6e7d1e383993cccf0f59146874a34 Gitweb: http://git.kernel.org/tip/0bca6cff89c6e7d1e383993cccf0f59146874a34 Author: David Howells AuthorDate: Mon, 5 Nov 2012 15:15:24 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:11 -0300 tools: Define

Re: [PATCH][GIT PULL] x86_32: Return actual stack when requesting sp from regs

2012-12-08 Thread Ingo Molnar
* Steven Rostedt wrote: > Ingo, Peter, > > I posted this back in July as an RFC and did get Masami's reviewed-by > tag. I'm currently cleaning out my inbox and realized I didn't push this > further. I didn't know which branch to base this on, so I just picked > the tip/x86/asm branch where I di

[tip:perf/core] perf ui: Always compile browser setup code

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 59ed16b315681a08cf8aa13ee949e9405801f442 Gitweb: http://git.kernel.org/tip/59ed16b315681a08cf8aa13ee949e9405801f442 Author: Namhyung Kim AuthorDate: Tue, 13 Nov 2012 22:30:35 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:53:03 -0300 perf ui: Alway

[tip:perf/core] perf ui: Add ui_progress__finish()

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: a5580f3ecb295a514f9522daf0ef7158f73ec2d6 Gitweb: http://git.kernel.org/tip/a5580f3ecb295a514f9522daf0ef7158f73ec2d6 Author: Namhyung Kim AuthorDate: Tue, 13 Nov 2012 22:30:34 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:56 -0300 perf ui: Add u

[tip:perf/core] perf ui gtk: Implement ui_progress functions

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: a753579c3ec096bba9d24e1594a07dbb25aca8e4 Gitweb: http://git.kernel.org/tip/a753579c3ec096bba9d24e1594a07dbb25aca8e4 Author: Namhyung Kim AuthorDate: Tue, 13 Nov 2012 22:30:33 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:48 -0300 perf ui gtk: I

[tip:perf/core] perf ui: Introduce generic ui_progress helper

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 688f2f5b99311b127ea43efdbf47bb2e3c7a2e32 Gitweb: http://git.kernel.org/tip/688f2f5b99311b127ea43efdbf47bb2e3c7a2e32 Author: Namhyung Kim AuthorDate: Tue, 13 Nov 2012 22:30:32 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:39 -0300 perf ui: Intro

Re: [GIT PULL v2] printk: Make it usable on nohz cpus

2012-12-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, > > Please pull the printk support in dynticks mode patches that can > be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > tags/printk-dynticks-for-mingo-v2 > > for you to fetch changes up to 74876a98a87a115254b3

[tip:perf/core] perf ui tui: Move progress.c under ui/ tui directory

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 7da5c85dd34dd67846fec965e4bf1f761eecca05 Gitweb: http://git.kernel.org/tip/7da5c85dd34dd67846fec965e4bf1f761eecca05 Author: Namhyung Kim AuthorDate: Tue, 13 Nov 2012 22:30:31 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:33 -0300 perf ui tui: M

[tip:perf/core] perf tools: Add basic event modifier sanity check

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 534123f458f196bcc269f97d20ccf125925c2e7b Gitweb: http://git.kernel.org/tip/534123f458f196bcc269f97d20ccf125925c2e7b Author: Jiri Olsa AuthorDate: Tue, 13 Nov 2012 15:32:58 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:24 -0300 perf tools: Add b

[tip:perf/core] perf tools: Omit group members from perf_evlist__disable/enable

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 3fe4430dd66837d8fcdb63c167e908655fc842e3 Gitweb: http://git.kernel.org/tip/3fe4430dd66837d8fcdb63c167e908655fc842e3 Author: Jiri Olsa AuthorDate: Mon, 12 Nov 2012 18:34:03 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:15 -0300 perf tools: Omit

[tip:perf/core] perf tools: Ensure single disable call per event in record comand

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 2711926a416733b853977a0e014c713955ad0d8a Gitweb: http://git.kernel.org/tip/2711926a416733b853977a0e014c713955ad0d8a Author: Jiri Olsa AuthorDate: Mon, 12 Nov 2012 18:34:02 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:09 -0300 perf tools: Ensur

[tip:perf/core] perf tools: Fix 'disabled' attribute config for record command

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 774cb499ca9ab0e5950a149d1fe102b125da1cee Gitweb: http://git.kernel.org/tip/774cb499ca9ab0e5950a149d1fe102b125da1cee Author: Jiri Olsa AuthorDate: Mon, 12 Nov 2012 18:34:01 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:52:03 -0300 perf tools: Fix '

[tip:perf/core] perf tools: Fix attributes for '{}' defined event groups

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: cac21425578abddc4e9f529845832a57ba27ce0f Gitweb: http://git.kernel.org/tip/cac21425578abddc4e9f529845832a57ba27ce0f Author: Jiri Olsa AuthorDate: Mon, 12 Nov 2012 18:34:00 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:51:50 -0300 perf tools: Fix a

[tip:perf/core] perf tools: Use sscanf for parsing /proc/pid/maps

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 6064803313bad9ae4cae233a9d56678adb2b6e7c Gitweb: http://git.kernel.org/tip/6064803313bad9ae4cae233a9d56678adb2b6e7c Author: Namhyung Kim AuthorDate: Sun, 11 Nov 2012 23:20:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:51:40 -0300 perf tools: Us

Re: [PATCH 0/4] [GIT PULL][3.8] tracing: Updated patches

2012-12-08 Thread Ingo Molnar
* Steven Rostedt wrote: > Ingo, > > This includes the updates to the formating issues to the patches > that were in the original patch set, and which I had dropped from > my last pull request. I added this on top of my last git pull request. > > I also included Shan's dead comment removal. >

[tip:perf/core] perf tools: Add gtk. config option for launching GTK browser

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 0020ce23864d16f66e5667013b8b43d1df3e142e Gitweb: http://git.kernel.org/tip/0020ce23864d16f66e5667013b8b43d1df3e142e Author: Namhyung Kim AuthorDate: Mon, 12 Nov 2012 11:50:17 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:51:30 -0300 perf tools: Ad

[tip:perf/core] perf tools: Fix compile error on NO_NEWT=1 build

2012-12-08 Thread tip-bot for Namhyung Kim
Commit-ID: 4f746c95f18ad4d85599d9c157da7e6da766c3d9 Gitweb: http://git.kernel.org/tip/4f746c95f18ad4d85599d9c157da7e6da766c3d9 Author: Namhyung Kim AuthorDate: Mon, 12 Nov 2012 14:14:00 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:58 -0300 perf tools: Fi

Re: [GIT PULL] uprobes: single-step cleanups + reg/unreg fix

2012-12-08 Thread Ingo Molnar
* Oleg Nesterov wrote: > Ingo, please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core > > - arch_uprobe_*_step() should die before arm port. > > - "Use percpu_rw_semaphore to fix register/unregister vs dup_mmap() race" > fixes the serious bug, the "rando

[tip:perf/core] perf tools: Stop using 'self' in pstack

2012-12-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 61e945150fe0ec4c20b7a3663b90c7ab705a88b4 Gitweb: http://git.kernel.org/tip/61e945150fe0ec4c20b7a3663b90c7ab705a88b4 Author: Arnaldo Carvalho de Melo AuthorDate: Sat, 10 Nov 2012 19:41:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:38 -0300 pe

[tip:perf/core] perf tests: Check for mkstemp return value in dso-data test

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: f95e0818cbd026a8f2277895c65fcc9cc5b28cf6 Gitweb: http://git.kernel.org/tip/f95e0818cbd026a8f2277895c65fcc9cc5b28cf6 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:52 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:30 -0300 perf tests: Check

Re: [GIT PULL] UAPI: Disintegrate arch/x86/include/asm

2012-12-08 Thread Ingo Molnar
* David Howells wrote: > > Hi Ingo, Peter, Thomas, > > Could you merge the x86 arch include disintegration into the tip git tree now > that the perf stuff has been dealt with? > > Many thanks, > David > --- > The following changes since commit 7e5530af11be68f3109672aed59243f82e1272f0: > >

[tip:perf/core] perf tests: Final cleanup for builtin-test move

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: c81251e808fe2386e71990ecd49c408bb7cb4666 Gitweb: http://git.kernel.org/tip/c81251e808fe2386e71990ecd49c408bb7cb4666 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:51 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:24 -0300 perf tests: Final

[tip:perf/core] perf tests: Move pmu tests into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: cff7f956ec4a1ede9b752cfae3c12f588292ad80 Gitweb: http://git.kernel.org/tip/cff7f956ec4a1ede9b752cfae3c12f588292ad80 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:19 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__syscall_open_tp_fields into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: dc447eed59037c1c65feab9c72d372b6249af978 Gitweb: http://git.kernel.org/tip/dc447eed59037c1c65feab9c72d372b6249af978 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:49 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:09 -0300 perf tests: Move

[tip:perf/core] perf tests: Move perf_evsel__tp_sched_test into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 5e24a0904ed4029f6778a214b6fe41b9265fd620 Gitweb: http://git.kernel.org/tip/5e24a0904ed4029f6778a214b6fe41b9265fd620 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:48 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:50:02 -0300 perf tests: Move

Re: [GIT PULL] cputime: cleanups

2012-12-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, > > Please pull the latest sched cleanups branch that can be found at > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > tags/sched-cputime-for-mingo > > for you to pull the HEAD 1b2852b152be5150fbef7b585388ec43cf6f4415 >

[tip:perf/core] perf tests: Move perf_evsel__roundtrip_name_test into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: cfffae2ef7029d38e71d337fbc2a9c6cf1fa5aaf Gitweb: http://git.kernel.org/tip/cfffae2ef7029d38e71d337fbc2a9c6cf1fa5aaf Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:47 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:56 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__rdpmc into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: bacf7e5d4055b65506292cf6412ec71e7948a9cf Gitweb: http://git.kernel.org/tip/bacf7e5d4055b65506292cf6412ec71e7948a9cf Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:46 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:50 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__PERF_RECORD into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 16d00fee703866c61c9006eff097952289335479 Gitweb: http://git.kernel.org/tip/16d00fee703866c61c9006eff097952289335479 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:45 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:43 -0300 perf tests: Move

Re: [PATCH 0/2] [GIT PULL][v3.7] ring-buffer: Bug fixes

2012-12-08 Thread Ingo Molnar
* Steven Rostedt wrote: > > Ingo, > > This is based off of my last urgent pull request. > > Please pull the latest tip/perf/urgent-2 tree, which can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > tip/perf/urgent-2 > > Head SHA1: 9366c1ba13fbc41bdb

[tip:perf/core] perf tests: Move test__basic_mmap into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: a65b9c62be044b7956022e2823c5f079cf35b069 Gitweb: http://git.kernel.org/tip/a65b9c62be044b7956022e2823c5f079cf35b069 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:44 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:32 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__open_syscall_event_on_all_cpus into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: bd90517b374b1d6381a5509f55df1a9b7c33a6b1 Gitweb: http://git.kernel.org/tip/bd90517b374b1d6381a5509f55df1a9b7c33a6b1 Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:43 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:25 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__open_syscall_event into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: d3b59a38bcdab4248134023c2c5dfabee5a4878e Gitweb: http://git.kernel.org/tip/d3b59a38bcdab4248134023c2c5dfabee5a4878e Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:42 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:49:17 -0300 perf tests: Move

[tip:perf/core] perf tests: Move test__vmlinux_matches_kallsyms into separate object

2012-12-08 Thread tip-bot for Jiri Olsa
Commit-ID: 0a4e1ae6808a28a92573550603121b146b11312e Gitweb: http://git.kernel.org/tip/0a4e1ae6808a28a92573550603121b146b11312e Author: Jiri Olsa AuthorDate: Sat, 10 Nov 2012 01:46:41 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Nov 2012 16:48:35 -0300 perf tests: Move

[context tracking subsystem] Re: [GIT PULL rcu/next] One more RCU commit for 3.8

2012-12-08 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > Could you please pull one more commit? This is an update to Frederic > Weisbecker's context-tracking subsystem that is another stepping stone > towards adaptive-idle and tickless userspace execution. This has been > subjected to -next testing. It

Re: [GIT PULL] cputime: Cleanups on adjusted cputime code

2012-12-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > > Ingo, > > Please pull the latest cputime adjustment cleanups that can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > cputime/adjustment-v2 > > for you to fetch changes up to fa09205783d11cc05122ad6e4ce06074624b

Re: [GIT PULL 00/32] perf/core improvements and fixes

2012-12-08 Thread Ingo Molnar
Note that I had to do a number of conflict resolutions between perf/urgent (now upstream) and perf/core, related to UAPI fixes: commit f0b9abfb044649bc452fb2fb975ff2fd599cc6a3 Merge: adc1ef1 1b3c393 Author: Ingo Molnar Date: Sat Dec 8 15:25:06 2012 +0100 Merge branch 'linus' into per

  1   2   >