[PATCH V5 6/6] USB: OHCI: avoid conflicting platform drivers

2013-04-02 Thread Arnd Bergmann
code size and cleanliness after this patch, not for correctness. While we're here, this fixes the incorrectly sorted error path for the OMAP1 and OMAP3 backends to ensure we always unregister the exact set of drivers that were registered before erroring out. Signed-off-by: Arnd Ber

[PATCH V5 0/6] USB: EHCI multiplatform for 3.10

2013-04-02 Thread Arnd Bergmann
I had was incomplete. Arnd Arnd Bergmann (1): USB: OHCI: avoid conflicting platform drivers Manjunath Goudar (5): USB: EHCI: make ehci-orion a separate driver USB: EHCI: make ehci-spear a separate driver USB: EHCI: make ehci-s5p a separate driver USB: EHCI: make ehci-atmel a separ

[PATCH V5 2/6] USB: EHCI: make ehci-spear a separate driver

2013-04-02 Thread Arnd Bergmann
l users of that structure. - to_spear_ehci() macro modified for spear_ehci. In V2: - Replaced spear as SPEAr everywhere, leaving functions/variables/config options. Signed-off-by: Deepak Saxena Signed-off-by: Manjunath Goudar Signed-off-by: Arnd Bergmann Acked-by: Viresh Kumar Acked-by:

[PATCH V5 1/6] USB: EHCI: make ehci-orion a separate driver

2013-04-02 Thread Arnd Bergmann
passed as NULL instead of ehci_orion_overrides because ehci_orion_overrides is removed. In V2: - Tegra patch related changes removed from this patch. Signed-off-by: Manjunath Goudar Signed-off-by: Arnd Bergmann Acked-by: Jason Cooper Tested-by: Andrew Lunn Acked-by: Alan Stern --- drivers

[PATCH V5 4/6] USB: EHCI: make ehci-atmel a separate driver

2013-04-02 Thread Arnd Bergmann
error. drivers/usb/host/ehci-atmel.c: In function 'ehci_atmel_drv_remove': drivers/usb/host/ehci-atmel.c:167: error: implicit declaration of function 'ehci_shutdown' Signed-off-by: Manjunath Goudar Acked-by: Alan Stern Acked-by: Nicolas Ferre Cc: Andrew Victor Cc: Jea

Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-02 Thread Arnd Bergmann
On Tuesday 02 April 2013, Vinod Koul wrote: > On Sun, Mar 31, 2013 at 06:17:59PM +0200, Anatolij Gustschin wrote: > > Add generic DMA bindings and register the DMA controller > > to DT DMA helpers. > I need someone who understands DT better than me to comment/ack... > Arnd...? > > > > +struct mp

Re: [GIT PULL] at91: soc for 3.10 #2

2013-04-03 Thread Arnd Bergmann
On Wednesday 03 April 2013, Nicolas Ferre wrote: > > Also, USE_OF isn't set at that point (it's controlled by the next > > section), so it can't be used as a replacement. > > > > Also, isn't it a bit backwards in the first place to first set ATAGS > > vs no-ATAGS, and then get to choose what hardw

Re: [PATCH v5 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-04-03 Thread Arnd Bergmann
On Wednesday 03 April 2013, Felipe Balbi wrote: > const ? Maybe provide a: > > #define DEFINE_PHY_OPS(name)\ > const struct phy_ops #name_phy_ops = { > > macro ? This will force people to add the const keyword :-) Forcing people to use const structures is good, but I think it would be better

[PATCH] sysfs: fix crash_notes_size build warning

2013-04-03 Thread Arnd Bergmann
>From b60d17603df3225d9f51c4f8168e8e00a1090911 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Wed, 3 Apr 2013 17:14:32 +0200 Subject: [PATCH] sysfs: fix crash_notes_size build warning commit eca4549f57 "sysfs: Add crash_notes_size to export percpu note size" adds a printk t

[PATCH] block: avoid using uninitialized value in from queue_var_store

2013-04-03 Thread Arnd Bergmann
ninitialized in this function [-Wmaybe-uninitialized] Unlike most other such warnings, this one is not a false positive, writing any non-number string into the sysfs files indeed has an undefined result, rather than returning an error. Signed-off-by: Arnd Bergmann Cc: Jens Axboe --- diff --git a

Re: [PATCH 0/9] ARM: CPUFreq: Move drivers arch/arm/ -> drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
t.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/heads/cpufreq-move-drivers Whole series Acked-by: Arnd Bergmann but please post them another time with linux-arm-kernel on Cc. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Daniel Tang wrote: > We're sending out for comments an early patch adding TI-Nspire support > to Linux. > > Some words on the Nspire platform: it's a series of graphing > calculators, made of four models: "Clickpad" (2007-2010), "Touchpad" > (2010-2012?), "CX" (2011-), "

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > This patch moves cpufreq driver of powerpc platforms/cell to drivers/cpufreq. > > Cc: Arnd Bergmann > Cc: Benjamin Herrenschmidt > Cc: linuxppc-...@lists.ozlabs.org > Signed-off-by: Viresh Kumar > --- > Compile Tested

posix_cpu_timer: initialize "now" variable

2013-04-04 Thread Arnd Bergmann
s is the right solution or not. Signed-off-by: Arnd Bergmann --- diff --git a/kernel/posix-cpu-timers.c b/kernel/posix-cpu-timers.c index e5286b5..1828b9f 100644 --- a/kernel/posix-cpu-timers.c +++ b/kernel/posix-cpu-timers.c @@ -1119,6 +1119,7 @@ void posix_cpu_timer_schedule(struct k_itimer *timer)

Re: [PATCH 18/18] cpufreq: powerpc/platforms/cell: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Viresh Kumar wrote: > > On 4 April 2013 18:32, Arnd Bergmann wrote: > > Moving the files is good, but I don't see a reason to make the cbe_cpufreq.h > > header globally visible in include/linux/. Isn't it just used by as the > > inter

Re: [PATCH v2, part1 03/29] mm/ARM: use common help functions to free reserved pages

2013-04-04 Thread Arnd Bergmann
On Sunday 10 March 2013, Jiang Liu wrote: > Use common help functions to free reserved pages. > > Signed-off-by: Jiang Liu > Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org Hello Jiang Liu, I'm getting a f

Re: [PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Arnd Bergmann
On Thursday 04 April 2013, Felipe Balbi wrote: > On Thu, Apr 04, 2013 at 01:42:18PM -0400, Alan Stern wrote: > > > > diff --git a/drivers/usb/misc/sisusbvga/Kconfig > > > > b/drivers/usb/misc/sisusbvga/Kconfig > > > > index 30ea7ca..0d03a52 100644 > > > > --- a/drivers/usb/misc/sisusbvga/Kconfig >

Re: linux-next: manual merge of the arm-soc tree with the xilinx tree

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Michal Simek wrote: > Hi, > > 2013/4/5 Stephen Rothwell > > > Hi all, > > > > Today's linux-next merge of the arm-soc tree got a conflict in > > arch/arm/mach-spear/spear13xx.c between commit c79e33b3e828 ("ARM: > > smp_twd: convert to use CLKSRC_OF init") from the xilin

Re: [char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomas Winkler wrote: > debugfs exposes device state and list of me clients and their > properties > > Signed-off-by: Tomas Winkler Just one small comment: > +#define DEBUGFS_ADD_FILE(_mei, name, parent, mode) \ > + debugfs_create_file(#name, mode, parent,\

Re: linux-next: manual merge of the arm-soc tree with the xilinx tree

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Michal Simek wrote: > > > Interesting. I rebased my arm-next branch based on 3.9-rc5 > > > with some Rob's + one Arnd patch from arm-soc - clksrc/cleanup branch. > > > > > > I will fix my arm-next branch. > > > > The for-next branch in arm-soc is not stable, you should neve

Re: [char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomas Winkler wrote: > debugfs exposes device state and list of me clients and their > properties > > Signed-off-by: Tomas Winkler > --- > V2: > 1. don't use DEBUGFS_ADD_FILE macro > 2. compile debugfs.c only if CONFIG_DEBUG_FS is set Acked-

Re: [PATCH v2 1/9] arm: mvebu: Limit the DMA zone when LPAE is selected

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: > When LPAE is activated on Armada XP, all registers and IOs are still > 32bit, the 40bit extension is on the CPU to DRAM path (windows) only. > That means that all the DMA transfer are restricted to the low 32 bits > address space. This is limitation

Re: [PATCH v2 7/9] arm: dts: mvebu: introduce internal-regs node

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: > Signed-off-by: Gregory CLEMENT The patch looks good but the description is a bit short. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [PATCH v2 8/9] arm: dts: mvebu: fix cpus section indentation

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: > From: Thomas Petazzoni > > Signed-off-by: Thomas Petazzoni This should have a description, even though it's completely trivial. I would also recommend moving this patch first, as the general rule is to do cleanups first. Arnd -- To unsu

Re: [PATCH v2 0/9] rm: mvebu: Enable LPAE support for Armada XP SoCs

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: > The Armada XP SoCs have LPAE support. This is the second version patch > set whixh allow to run kernel on this SoCs with LPAE support. > > The biggest changes are the conversion of the device tree file to 64 > bits in order to be able to use more t

Re: [PATCH v2 2/9] arm: mvebu: Align the internal registers virtual base to support LPAE

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Gregory CLEMENT wrote: > From: Lior Amsalem > > In order to be able to support he LPAE, the internal registers virtual > base must be aligned to 2MB. > > Signed-off-by: Lior Amsalem > Signed-off-by: Gregory CLEMENT This is a surprising limitation. Can you extend the a

Re: [PATCH] dw_dmac: apply default dma_mask if needed

2013-01-29 Thread Arnd Bergmann
On Tuesday 29 January 2013, Viresh Kumar wrote: > Adding Arnd in cc. > > On 29 January 2013 20:36, Andy Shevchenko > wrote: > > In some cases we got the device without dma_mask configured. We have to > > apply > > the default value to avoid crashes during memory mapping. > > > > Signed-off-by: A

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-01-29 Thread Arnd Bergmann
On Tuesday 29 January 2013, Alexey Brodkin wrote: > in(out)_8/in(out)_be16/in(out)_le16 are very powerpc/microblaze > specific. To enable use of Xilinx System ACE driver build for other > architectures (for example it's possible to use it on Xilinx ml-509 > board with ARC700 in FPGA) we need to use

Re: [PATCH 1/5] ARM: sunxi: Increase the number of GPIOs available

2013-01-29 Thread Arnd Bergmann
SOC_OMAP5 > > - default 288 if ARCH_VT8500 > > + default 288 if ARCH_VT8500 || ARCH_SUNXI > > Can I have an ACK from the ARM SoC maintainers on this? > Acked-by: Arnd Bergmann for the change. Maybe you could also do a second patch on top that sorts the lines

Re: [PATCH v6 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-30 Thread Arnd Bergmann
On Wednesday 30 January 2013, Matt Porter wrote: > +Optional properties: > +- dmas: List of DMA controller phandle and DMA request ordered > + pairs. One tx and one rx pair is required for each chip > + select. The binding looks ok, but the wording is slightly incorrect here: strictly

Re: [PATCH v6 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-01-30 Thread Arnd Bergmann
call will be > made. > > This allows for a much cleaner migration of drivers to the > dmaengine DT API as platforms continue to be mixed between those > that boot using DT and those that do not. > > Suggested-by: Tony Lindgren > Signed-off-by: Matt Porter > Acked-by:

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-30 Thread Arnd Bergmann
On Wednesday 30 January 2013, Matt Porter wrote: > + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); > + of_dma_controller_register(dev->of_node, > + of_dma_simple_xlate, > + &edma_filter

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-01-30 Thread Arnd Bergmann
On Wednesday 30 January 2013 13:31:58 Michal Simek wrote: > Also from my understanding of arm we should use readl/b/w functions because > they have memory barriers which should be probably performed. > > And I haven't found any IO function which will behave on arm as LE and > on PPC as BE. There

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Arnd Bergmann
On Thursday 31 January 2013, Matt Porter wrote: > On Wed, Jan 30, 2013 at 09:32:58AM +0000, Arnd Bergmann wrote: > > On Wednesday 30 January 2013, Matt Porter wrote: > > > + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); > > > + of_

Oops when mounting btrfs partition

2013-02-02 Thread Arnd Bergmann
As mentioned on Google+, I have a partition that I can no longer mount normally, containing a lot of my personal data and all backups from my laptop. I found now that I am still able to mount it using the 'nospace_cache' option, but it takes a couple of minutes and I get "INFO: task btrfs-transact

[PATCH 01/19] ARM: shmobile: fix defconfig warning on CONFIG_USB

2013-01-25 Thread Arnd Bergmann
A recent update to the marzen_defconfig introduced a duplicate CONFIG_USB=y line. This removes one of the two. arch/arm/configs/marzen_defconfig:86:warning: override: reassigning to symbol USB Signed-off-by: Arnd Bergmann Cc: Simon Horman Cc: linux...@vger.kernel.org --- arch/arm/configs

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
ilding ARM cerfcube_defconfig results in: fs/nfsd/nfs4state.c: In function 'free_client': fs/nfsd/nfs4state.c:1047:19: error: unused variable 'nn' [-Wunused-variable] Signed-off-by: Arnd Bergmann Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Stanislav Kinsbursky --- include/linux/lo

[PATCH 16/19] mac80211: avoid a build warning

2013-01-25 Thread Arnd Bergmann
ARM at91sam9g45_defconfig with gcc-4.6 results in: net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit': net/mac80211/tx.c:1797:22: warning: 'chanctx_conf' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Arnd Bergmann Cc: Johannes Berg Cc: "Joh

[PATCH 14/19] spi/atmel: remove incorrect __exit_p()

2013-01-25 Thread Arnd Bergmann
not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Grant Likely Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index ab3449

[PATCH 17/19] input/joystick: use get_cycles on ARM

2013-01-25 Thread Arnd Bergmann
, but Ben Dooks enabled it in the s3c2410_defconfig along with a bunch of other drivers, even though that platform has neither ISA nor PCI support. It still seems to be the right thing to fix this quirk. Signed-off-by: Arnd Bergmann Cc: Dmitry Torokhov Cc: Vojtech Pavlik Cc: Ben Dooks

[PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-25 Thread Arnd Bergmann
: drivers/mfd/twl4030-power.c: In function 'load_twl4030_script': drivers/mfd/twl4030-power.c:414:5: error: 'err' may be used uninitialized in this function Signed-off-by: Arnd Bergmann Cc: Samuel Ortiz Cc: Peter Ujfalusi Cc: Kevin Hilman Cc: Amit Kucheria --- drivers/mfd/twl40

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
-nomadik.c:676:12: warning: 'nmk_prcm_gpiocr_get_mode' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Jean-Nicolas Graux Cc: Linus Walleij Cc: Srinidhi Kasagar --- drivers/pinctrl/pinctrl-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-25 Thread Arnd Bergmann
fig results in: drivers/base/regmap/regmap-debugfs.c: In function 'regmap_read_debugfs': drivers/base/regmap/regmap-debugfs.c:147:9: : warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Arnd Bergmann Cc: Mark Brown Cc: Greg Kroah-Har

[PATCH 07/19] scripts/sortextable: silence script output

2013-01-25 Thread Arnd Bergmann
default. Signed-off-by: Arnd Bergmann Cc: David Daney Cc: "H. Peter Anvin" --- scripts/sortextable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sortextable.h b/scripts/sortextable.h index e4fd45b..f5eb43d 100644 --- a/scripts/sortextable.h +++ b/scripts/

[PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Arnd Bergmann
: This fixes a warning saying: warning: #warning "TODO: return_address should use unwind tables" And, this enables return_address using unwind information. If ARM_UNWIND is selected, unwind_frame in unwind.c will be called in walk_stackframe. Signed-off-by: sahara Signed-off-by: Arn

[PATCH 18/19] ARM: at91: suspend both memory controllers on at91sam9263

2013-01-25 Thread Arnd Bergmann
patch blindly removes the warning and changes the at91sam9263 to use the same code at at91sam9g45, which may or may not be the right solution. If it is not, maybe someone could provide a better fix. Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Jean-Christophe Plagniol-Villard Cc: Andrew V

[PATCH 05/19] sched: warnings in kernel/sched/fair.c

2013-01-25 Thread Arnd Bergmann
efined but not used [-Wunused-function] Marking it __maybe_unused shuts up the gcc warning and lets the compiler safely drop the function body when it's not being used. To reproduce, build the ARM bcm2835_defconfig. Signed-off-by: Arnd Bergmann Cc: Peter Boonstoppel Cc: Peter Zijlstra Cc: Pau

[PATCH 03/19] ARM: msm: proc_comm_boot_wait should not be __init

2013-01-25 Thread Arnd Bergmann
proc_comm_boot_wait is wrong. Signed-off-by: Arnd Bergmann Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Cc: linux-arm-...@vger.kernel.org --- arch/arm/mach-msm/proc_comm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-msm/proc_comm.h b/arch/arm/mach

[PATCH 02/19] ARM: disable virt_to_bus/virt_to_bus almost everywhere

2013-01-25 Thread Arnd Bergmann
atforms and hide the deprecated functions, which is far more effective than marking them as deprecated, in order to avoid any new users of that code. Signed-off-by: Arnd Bergmann Cc: Russell King --- arch/arm/Kconfig | 4 arch/arm/configs/shark_defconfig | 1 - arch/arm/include

[PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Arnd Bergmann
tk': net/sunrpc/svc.c:1051:7: warning: unused variable 'buf' [-Wunused-variable] Signed-off-by: Arnd Bergmann Cc: "J. Bruce Fields" Cc: Trond Myklebust Cc: linux-...@vger.kernel.org Cc: net...@vger.kernel.org --- net/sunrpc/svc.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 12/19] pinctrl: exynos: don't mark probing functions as __init

2013-01-25 Thread Arnd Bergmann
exynos5440_pinctrl_probe lacks a __init annotation or the annotation of exynos5440_gpiolib_register is wrong. Signed-off-by: Arnd Bergmann Cc: Linus Walleij Cc: Tomasz Figa Cc: Kukjin Kim --- drivers/pinctrl/pinctrl-exynos5440.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 06/19] sched/debug: fix format string for 32 bit platforms

2013-01-25 Thread Arnd Bergmann
pe 'long int', but argument 3 has type 'long long int' [-Wformat] Signed-off-by: Arnd Bergmann Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Paul Turner --- kernel/sched/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/debug.c b/kernel/

[PATCH 10/19] watchdog: at91sam9: at91_wdt_dt_ids cannot be __init

2013-01-25 Thread Arnd Bergmann
from the variable at91wdt_driver to the (unknown reference) .init.rodata:(unknown) The variable at91wdt_driver references the (unknown reference) __initconst (unknown) Signed-off-by: Arnd Bergmann Cc: Wim Van Sebroeck Cc: linux-watch...@vger.kernel.org Cc: Nicolas Ferre Cc: Fabio Porcedda

[PATCH 00/19] ARM: common warning fixes

2013-01-25 Thread Arnd Bergmann
ence is to have them applied by the individual subsystem maintainers. Anything that has not at least made it into linux-next by the next merge window and has not received a 'NAK' or been obsoleted by another patch, I plan to submit as part of an arm-soc branch for 3.9. Arnd Arnd

[PATCH 04/19] oss/dmabuf: use dma_map_single

2013-01-25 Thread Arnd Bergmann
StrongARM machines. The problem for converting the OSS subsystem to use dma_map_single instead is that the caller of virt_to_bus does not have a device pointer, since the subsystem has never been ported to use the common device infrastructure. Signed-off-by: Arnd Bergmann Cc: Jaroslav Kysela Cc

Re: [PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013 15:25:03 Peter Ujfalusi wrote: > On 01/25/2013 03:14 PM, Arnd Bergmann wrote: > > If the twl4030_write_script function gets called with > > a zero length argument, its return value does not > > get set. We know that all scripts have a nonzero > &g

[PATCH 1/5] samples/seccomp: be less stupid about cross compiling

2013-01-25 Thread Arnd Bergmann
machine. We should really be building all the samples for the target machine rather than the build host, but since the infrastructure for that appears to be missing right now, let's be a little bit smarter and not pass the '-m32' flag to the HOSTCC when cross- compiling. Signed-off-by

[PATCH 4/5] ARM: w90x900: fix legacy assembly syntax

2013-01-25 Thread Arnd Bergmann
ace in order to build the kernel again. Signed-off-by: Arnd Bergmann Cc: Wan ZongShun --- arch/arm/mach-w90x900/include/mach/entry-macro.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-w90x900/include/mach/entry-macro.S b/arch/arm/mach-w90x900/include/mach/en

[PATCH 3/5] ARM: samsung: fix assembly syntax for new gas

2013-01-25 Thread Arnd Bergmann
expected -- `ldr r2,[ r3,#(0x18)]' arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x10)]' arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]' arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)

[PATCH v2 0/5] ARM build regressions in 3.8

2013-01-25 Thread Arnd Bergmann
Dave Airlie to take the exynos drm patch, but we can also put both into arm-soc if that makes their lifes easier. On the compressed/head.S patch, I'm still awaiting feedback. It's not urgent since it is only a warning. Arnd Bergmann (5): samples/seccomp: be less stupid about cross

[PATCH 5/5] drm/exynos: don't include plat/gpio-cfg.h

2013-01-25 Thread Arnd Bergmann
.h: No such file or directory Signed-off-by: Arnd Bergmann Cc: Rob Clark Cc: Inki Dae Cc: Kyungmin Park Cc: Rahul Sharma --- drivers/gpu/drm/exynos/exynos_hdmi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c in

[PATCH 2/5] ARM: compressed/head.S: work around new binutils warning

2013-01-25 Thread Arnd Bergmann
mpressed/head.S:1134: Warning: (null) Signed-off-by: Arnd Bergmann Cc: Matthew Gretton-Dann Cc: Russell King --- arch/arm/boot/compressed/Makefile | 2 +- arch/arm/boot/compressed/head.S | 12 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/compres

Re: [PATCH 18/19] ARM: at91: suspend both memory controllers on at91sam9263

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013 16:42:19 Jean-Christophe PLAGNIOL-VILLARD wrote: > On 14:14 Fri 25 Jan , Arnd Bergmann wrote: > > For the past three years, we have had a #warning in > > mach-at91 about the sdram_selfrefresh_enable or > > at91sam9_standby functions po

[PATCHv2 00/19] ARM: common warning fixes

2013-01-25 Thread Arnd Bergmann
obsoleted by another patch, I plan to submit as part of an arm-soc branch for 3.9. Arnd Bergmann (18): ARM: shmobile: fix defconfig warning on CONFIG_USB ARM: disable virt_to_bus/virt_to_bus almost everywhere ARM: msm: proc_comm_boot_wait should not be __init oss/dmabuf: use dma_map_single

[PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-25 Thread Arnd Bergmann
: drivers/mfd/twl4030-power.c: In function 'load_twl4030_script': drivers/mfd/twl4030-power.c:414:5: error: 'err' may be used uninitialized in this function Signed-off-by: Arnd Bergmann Reviewed-by: Peter Ujfalusi Reviewed-by: Amit Kucheria Cc: Samuel Ortiz Cc: Kevin Hilma

[PATCH 14/19] spi/atmel: remove incorrect __exit_p()

2013-01-25 Thread Arnd Bergmann
not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Grant Likely Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index ab3449

[PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Arnd Bergmann
: This fixes a warning saying: warning: #warning "TODO: return_address should use unwind tables" And, this enables return_address using unwind information. If ARM_UNWIND is selected, unwind_frame in unwind.c will be called in walk_stackframe. Signed-off-by: sahara Signed-off-by: Arn

[PATCH 01/19] ARM: shmobile: fix defconfig warning on CONFIG_USB

2013-01-25 Thread Arnd Bergmann
A recent update to the marzen_defconfig introduced a duplicate CONFIG_USB=y line. This removes one of the two. arch/arm/configs/marzen_defconfig:86:warning: override: reassigning to symbol USB Signed-off-by: Arnd Bergmann Cc: Simon Horman Cc: linux...@vger.kernel.org --- arch/arm/configs

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
-nomadik.c:676:12: warning: 'nmk_prcm_gpiocr_get_mode' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Jean-Nicolas Graux Cc: Linus Walleij Cc: Srinidhi Kasagar --- drivers/pinctrl/pinctrl-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 06/19] sched/debug: fix format string for 32 bit platforms

2013-01-25 Thread Arnd Bergmann
pe 'long int', but argument 3 has type 'long long int' [-Wformat] Signed-off-by: Arnd Bergmann Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Paul Turner --- kernel/sched/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/debug.c b/kernel/

[PATCH 12/19] pinctrl: exynos: don't mark probing functions as __init

2013-01-25 Thread Arnd Bergmann
exynos5440_pinctrl_probe lacks a __init annotation or the annotation of exynos5440_gpiolib_register is wrong. Signed-off-by: Arnd Bergmann Cc: Linus Walleij Cc: Tomasz Figa Cc: Kukjin Kim --- drivers/pinctrl/pinctrl-exynos5440.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 10/19] watchdog: at91sam9: at91_wdt_dt_ids cannot be __init

2013-01-25 Thread Arnd Bergmann
from the variable at91wdt_driver to the (unknown reference) .init.rodata:(unknown) The variable at91wdt_driver references the (unknown reference) __initconst (unknown) Signed-off-by: Arnd Bergmann Cc: Wim Van Sebroeck Cc: linux-watch...@vger.kernel.org Cc: Nicolas Ferre Cc: Fabio Porcedda

[PATCH 16/19] ARM: sa1100: don't warn about mach/ide.h

2013-01-25 Thread Arnd Bergmann
This warning has existed since before the start of (git) history. Apparently nobody has bothered to fix it in a long time, and this is unlikely to change. Note that the file that the warning refers to has moved to a different location and was subsequently deleted in 2008. Signed-off-by: Arnd

[PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-25 Thread Arnd Bergmann
fig results in: drivers/base/regmap/regmap-debugfs.c: In function 'regmap_read_debugfs': drivers/base/regmap/regmap-debugfs.c:147:9: : warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Arnd Bergmann Cc: Mark Brown Cc: Greg Kroah-Har

[PATCH 17/19] input/joystick: use get_cycles on ARM

2013-01-25 Thread Arnd Bergmann
, but Ben Dooks enabled it in the s3c2410_defconfig along with a bunch of other drivers, even though that platform has neither ISA nor PCI support. It still seems to be the right thing to fix this quirk. Signed-off-by: Arnd Bergmann Cc: Dmitry Torokhov Cc: Vojtech Pavlik Cc: Ben Dooks

[PATCH 03/19] ARM: msm: proc_comm_boot_wait should not be __init

2013-01-25 Thread Arnd Bergmann
proc_comm_boot_wait is wrong. Signed-off-by: Arnd Bergmann Cc: David Brown Cc: Bryan Huntsman Cc: linux-arm-...@vger.kernel.org --- arch/arm/mach-msm/proc_comm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-msm/proc_comm.h b/arch/arm/mach-msm/proc_comm.h

[PATCH 18/19] ARM: at91: suspend both memory controllers on at91sam9263

2013-01-25 Thread Arnd Bergmann
patch blindly removes the warning and changes the at91sam9263 to use the same code at at91sam9g45, which may or may not be the right solution. If it is not, maybe someone could provide a better fix. Signed-off-by: Arnd Bergmann Cc: Nicolas Ferre Cc: Jean-Christophe Plagniol-Villard Cc: Andrew V

[PATCH 05/19] sched: warnings in kernel/sched/fair.c

2013-01-25 Thread Arnd Bergmann
efined but not used [-Wunused-function] Marking it __maybe_unused shuts up the gcc warning and lets the compiler safely drop the function body when it's not being used. To reproduce, build the ARM bcm2835_defconfig. Signed-off-by: Arnd Bergmann Cc: Peter Boonstoppel Cc: Peter Zijlstra Cc: Pau

[PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Arnd Bergmann
tk': net/sunrpc/svc.c:1051:7: warning: unused variable 'buf' [-Wunused-variable] Signed-off-by: Arnd Bergmann Cc: "J. Bruce Fields" Cc: Trond Myklebust Cc: linux-...@vger.kernel.org Cc: net...@vger.kernel.org --- net/sunrpc/svc.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 07/19] scripts/sortextable: silence script output

2013-01-25 Thread Arnd Bergmann
default. Signed-off-by: Arnd Bergmann Cc: David Daney Cc: "H. Peter Anvin" --- scripts/sortextable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sortextable.h b/scripts/sortextable.h index e4fd45b..f5eb43d 100644 --- a/scripts/sortextable.h +++ b/scripts/

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
ilding ARM cerfcube_defconfig results in: fs/nfsd/nfs4state.c: In function 'free_client': fs/nfsd/nfs4state.c:1047:19: error: unused variable 'nn' [-Wunused-variable] Signed-off-by: Arnd Bergmann Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Stanislav Kinsbursky --- include/linux/lo

[PATCH 02/19] ARM: disable virt_to_bus/virt_to_bus almost everywhere

2013-01-25 Thread Arnd Bergmann
atforms and hide the deprecated functions, which is far more effective than marking them as deprecated, in order to avoid any new users of that code. Signed-off-by: Arnd Bergmann Cc: Russell King --- arch/arm/Kconfig | 4 arch/arm/configs/shark_defconfig | 1 - arch/arm/include

[PATCH 04/19] oss/dmabuf: use dma_map_single

2013-01-25 Thread Arnd Bergmann
StrongARM machines. The problem for converting the OSS subsystem to use dma_map_single instead is that the caller of virt_to_bus does not have a device pointer, since the subsystem has never been ported to use the common device infrastructure. Signed-off-by: Arnd Bergmann Cc: Jaroslav Kysela Cc

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013, Myklebust, Trond wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Marking it as __maybe_unused avoids a harmless gcc warning. > > Alternatively, just declare it using the RPC_IFDEBUG() macro. Right,

Re: [PATCH v3 21/44] metag: Time keeping

2013-01-25 Thread Arnd Bergmann
On Thursday 10 January 2013, James Hogan wrote: > Add time keeping code for metag. Meta hardware threads have 2 timers. > The background timer (TXTIMER) is used as a free-running time base, and > the interrupt timer (TXTIMERI) is used for the timer interrupt. Both > counters traditionally count at

Re: [PATCH v3 00/44] Meta Linux Kernel Port

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013, James Hogan wrote: > Hi Arnd, > > On 10/01/13 15:30, James Hogan wrote: > > This patchset adds core architecture support to Linux for Imagination's > > Meta ATP (Meta 1) and HTP (Meta 2) processor cores. Most of the feedback > > from the RFC and v2 patchsets has now been

Re: [PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013, Dave Martin wrote: > On Fri, Jan 25, 2013 at 11:44:14AM -0500, Steven Rostedt wrote: > > [ I got an error with linux-arm-ker...@list.infradead.org and had to > > remove from CC ] > > Blame Arnd :) > Sorry about that, I now posted the entire series again with the right m

Re: [PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: > On Fri, Jan 25, 2013 at 02:14:28PM +0000, Arnd Bergmann wrote: > > Gcc warns about the case where regmap_read_debugfs tries > > Are you sure about that function name? Yes, regmap_read_debugfs uses the re

Re: [PATCH] regmap: debugfs: Work around GCC flow analysis false positives

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Mark Brown wrote: > Reported-by: Vincent Stehlé > Reported-by: Arnd Bergmann > Signed-off-by: Mark Brown Thanks for fixing this properly. Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH 11/19] regmap: regmap: avoid spurious warning in regmap_read_debugfs

2013-01-26 Thread Arnd Bergmann
tch from Arnd Bergmann, this is the solution that Russell King came up with, sidestepping the problem by merging the error case for an empty list with the normal path. Without this patch, building mxs_defconfig results in: drivers/base/regmap/regmap-debugfs.c: In function 'regmap_read_debugfs&#

Re: [PATCHv2 00/19] ARM: common warning fixes

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Russell King - ARM Linux wrote: > On Fri, Jan 25, 2013 at 10:43:59PM +0000, Arnd Bergmann wrote: > > I will get to those once this series is sorted out. > > Since there are no interdepencies between the patches, > > my preference is to hav

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Russell King - ARM Linux wrote: > On Fri, Jan 25, 2013 at 11:45:25PM +0000, Arnd Bergmann wrote: > > On Friday 25 January 2013, Myklebust, Trond wrote: > > > > -Original Message----- > > > > From: Arnd Bergmann [mailto:a..

Re: [PATCH 14/14] idr: deprecate idr_remove_all()

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Tejun Heo wrote: > > There was only one legitimate use of idr_remove_all() and a lot more > of incorrect uses (or lack of it). Now that idr_destroy() implies > idr_remove_all() and all the in-kernel users updated not to use it, > there's no reason to keep it around.

Re: [PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-28 Thread Arnd Bergmann
On Monday 28 January 2013, Andy Shevchenko wrote: > On Tue, Jan 15, 2013 at 10:32 PM, Matt Porter wrote: > > Adds a dma_request_slave_channel_compat() wrapper which accepts > > both the arguments from dma_request_channel() and > > dma_request_slave_channel(). Based on whether the driver is > > ins

Re: [PATCH v5 1/3] mfd: syscon: Removed support for unloading

2013-02-23 Thread Arnd Bergmann
On Saturday 23 February 2013, Alexander Shiyan wrote: > The driver can be used in various subsystems and therefore should not > be unloaded when it is defined in the kernel configuration, so remove > support for unloading it. > > Signed-off-by: Alexander Shiyan I think the description is still w

Re: [patch 2/2] arm: Wire up kcmp syscall

2013-02-23 Thread Arnd Bergmann
On Tuesday 19 February 2013, Cyrill Gorcunov wrote: > From: Alexander Kartashov > Subject: arm: Wire up kcmp syscall > > Signed-off-by: Alexander Kartashov > Cc: Russell King Acked-by: Arnd Bergmann Looks uncontroversial since the number is already reserved and there is

Re: [PATCH 24/35] mfd: ab8500: Remove unnecessary 'struct device' declaration

2013-02-25 Thread Arnd Bergmann
On Friday 15 February 2013, Lee Jones wrote: > A recent patch saw the device.h include being removed from some other > include files and replaced with a 'struct device' declaration instead. > However, neither the include nor the declaration is actually required. > > Signed-off-by: Lee Jones > ---

Re: [PATCH 01/11] ARM: disable virt_to_bus/virt_to_bus almost everywhere

2013-02-25 Thread Arnd Bergmann
On Monday 25 February 2013, Vineet Gupta wrote: > Have you queued up this change via one of your trees already for 3.9-rcX ? > If not, I can fold it in with a bunch of Kconfig cleanups for ARC > (GENERIC_SIGALTSTACK, HAVE_IRQ_WORK), given that those bits are already in > linus' > tree. > I haven

Re: [PATCH 24/35] mfd: ab8500: Remove unnecessary 'struct device' declaration

2013-02-25 Thread Arnd Bergmann
On Monday 25 February 2013, Lee Jones wrote: > > and others that use 'struct device'. C99 requires that a struct is declared > > in advance before you use it in a function declaration. > > Hmm... I wonder why it doesn't complain then? > > I'll remove the patch. It's only a problem if the file i

Re: [PATCH] Consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECK

2013-02-27 Thread Arnd Bergmann
count.o > > +lib-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o > lib-$(CONFIG_MMU) += ioremap.o > lib-$(CONFIG_SMP) += cpumask.o > I think this should instead be +lib-$(DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o No point building that file if we are not using it.

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