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
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
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:
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
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
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
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
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
>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
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
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
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-), "
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
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)
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
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
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
>
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
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,\
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
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-
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
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
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
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
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
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
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
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
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
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:
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
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
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_
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
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
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
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
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
, 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
:
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
-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
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
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/
:
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 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
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
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
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
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
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
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/
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
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
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
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
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
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
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)
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
.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
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
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
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
:
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
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
:
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
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
-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
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/
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
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
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
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
, 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
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 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
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
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
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/
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
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
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
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,
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
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
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
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
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
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
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
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..
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.
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
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
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
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
> ---
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
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
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.
101 - 200 of 18269 matches
Mail list logo