login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
21
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Rafael J. Wysocki
Subject:
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
Date: Tuesday, April 20, 2010 - 9:57 pm
On Wednesday 21 April 2010, Michael Ellerman wrote:
quoted text
> On Wed, 2010-04-21 at 18:55 +0300, Alexey Dobriyan wrote: > > On Tue, Apr 20, 2010 at 10:18:18PM +1000, Michael Ellerman wrote: > > > On Mon, 2010-04-19 at 23:45 -0700, Christian Kujau wrote: > > > --- a/fs/proc/proc_devtree.c > > > +++ b/fs/proc/proc_devtree.c > > > @@ -175,6 +175,24 @@ retry: > > > return fixed_name; > > > } > > > > > > +static const char *unslash_name(const char *name) > > > +{ > > > + char *p, *fixed_name; > > > + > > > + fixed_name = kstrdup(name); > > > + if (!fixed_name) { > > > + printk(KERN_ERR "device-tree: Out of memory trying to unslash " > > > + "name \"%s\"\n", name); > > > + return name; > > > + } > > > + > > > + p = fixed_name; > > > + while ((p = strstr(p, "/"))) > > > + *p++ = '_'; > > > > This is wasteful. :-) > > Whatever, patches welcome :) > > > Also, I hope we won't spit message every time allocation fail. > > We do. Your system is mostly hosed anyway, but feel free to rate limit > it or something.
OK Is anyone going to post a clean patch for that with a sign-off? Rafael --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Andrew Morton
, (Mon Apr 19, 5:57 pm)
2.6.34-rc5: Reported regressions from 2.6.33
, Rafael J. Wysocki
, (Mon Apr 19, 8:15 pm)
[Bug #15505] No more b43 wireless interface since 2.6.34-rc1
, Rafael J. Wysocki
, (Mon Apr 19, 8:16 pm)
[Bug #15553] Screen backlight doesn't come back on after l ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15551] WARNING: at net/mac80211/work.c:811 ieee80211 ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15590] 2.6.34-rc1: regression: ^Z no longer stops sound
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15601] [BUG] SLOB breaks Crypto
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15611] Failure with the 2.6.34-rc1 kernel
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15610] fsck leads to swapper - BUG: unable to handle ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15664] Graphics hang and kernel backtrace when start ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15661] PROBLEM: crash on halt with 2.6.34-0.16.rc2.g ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_ ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15625] BUG: 2.6.34-rc1, RIP is (null)
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15669] INFO: suspicious rcu_dereference_check()
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15672] KVM bug, git bisected
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15673] 2.6.34-rc2: "ima_dec_counts: open/free imbala ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15698] Freeze on power-off / suspend to ram
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15671] intel graphic card hanging (Hangcheck timer e ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15668] start_kernel(): bug: interrupts were enabled ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15711] 2.6.34-rc3, BUG at mm/slab.c:2989
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15712] [regression] 2.6.34-rc1 to -rc3 on zaurus: no ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15729] BUG: physmap modprobe & rmmod
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15730] Ugly rmap NULL ptr deref oopsie on hibernate ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15719] virtio_net causing kernel BUG when running un ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15717] bluetooth oops
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15744] [2.6.34-rc1 REGRESSION] ahci 0000:00:1f.2: co ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15788] external usb sound card doesn't work after resume
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15790] Meta-Bug: Regressions
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15774] 2.6.34-rc3: eth0 (8139too): transmit queue 0 ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15768] Incorrectly calculated free blocks result in ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15796] [REGRESSION bisected] Sound goes too fast due ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15795] 2.6.34-rc4 : OOPS in unmap_vma
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15805] reiserfs locking
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
[Bug #15812] utsname.domainname not set in x86_32 processe ...
, Rafael J. Wysocki
, (Mon Apr 19, 8:19 pm)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Rafael J. Wysocki
, (Mon Apr 19, 9:13 pm)
Re: [Bug #15729] BUG: physmap modprobe & rmmod
, Wolfram Sang
, (Mon Apr 19, 9:53 pm)
Re: [Bug #15729] BUG: physmap modprobe & rmmod
, Randy Dunlap
, (Mon Apr 19, 9:58 pm)
Re: [Bug #15730] Ugly rmap NULL ptr deref oopsie on hibern ...
, Borislav Petkov
, (Mon Apr 19, 10:27 pm)
Re: [Bug #15601] [BUG] SLOB breaks Crypto
, Pekka Enberg
, (Mon Apr 19, 11:40 pm)
Re: [Bug #15601] [BUG] SLOB breaks Crypto
, Matt Mackall
, (Mon Apr 19, 11:42 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Christian Kujau
, (Mon Apr 19, 11:45 pm)
Re: [Bug #15711] 2.6.34-rc3, BUG at mm/slab.c:2989
, Heinz Diehl
, (Tue Apr 20, 2:00 am)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Michael Ellerman
, (Tue Apr 20, 5:18 am)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Nick Bowler
, (Tue Apr 20, 6:56 am)
Re: [Bug #15668] start_kernel(): bug: interrupts were enab ...
, Rabin Vincent
, (Tue Apr 20, 7:11 am)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Christian Kujau
, (Tue Apr 20, 11:15 am)
Re: [Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangch ...
, Maciej Rutecki
, (Tue Apr 20, 12:33 pm)
Re: [Bug #15795] 2.6.34-rc4 : OOPS in unmap_vma
, Parag Warudkar
, (Tue Apr 20, 1:24 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Andreas Schwab
, (Tue Apr 20, 1:53 pm)
Re: [Bug #15672] KVM bug, git bisected
, Rik van Riel
, (Tue Apr 20, 2:11 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Michael Ellerman
, (Tue Apr 20, 5:21 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Michael Ellerman
, (Tue Apr 20, 5:25 pm)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Ben Gamari
, (Tue Apr 20, 7:02 pm)
Re: [Bug #15672] KVM bug, git bisected
, Rik van Riel
, (Tue Apr 20, 8:36 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Rafael J. Wysocki
, (Tue Apr 20, 9:57 pm)
Re: [Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangch ...
, Rafael J. Wysocki
, (Tue Apr 20, 9:59 pm)
Re: [Bug #15672] KVM bug, git bisected
, Rafael J. Wysocki
, (Tue Apr 20, 10:02 pm)
Re: [Bug #15668] start_kernel(): bug: interrupts were enab ...
, Rafael J. Wysocki
, (Tue Apr 20, 10:04 pm)
Re: [Bug #15730] Ugly rmap NULL ptr deref oopsie on hibern ...
, Rafael J. Wysocki
, (Tue Apr 20, 10:09 pm)
Re: [Bug #15795] 2.6.34-rc4 : OOPS in unmap_vma
, Rafael J. Wysocki
, (Tue Apr 20, 10:12 pm)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Rafael J. Wysocki
, (Tue Apr 20, 10:14 pm)
Re: [Bug #15672] KVM bug, git bisected
, Borislav Petkov
, (Tue Apr 20, 11:20 pm)
Re: [Bug #15672] KVM bug, git bisected
, Peter Zijlstra
, (Wed Apr 21, 1:45 am)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Jerome Glisse
, (Wed Apr 21, 1:57 am)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Alexey Dobriyan
, (Wed Apr 21, 8:55 am)
Re: [Bug #15672] KVM bug, git bisected
, Rafael J. Wysocki
, (Wed Apr 21, 8:57 am)
Re: [Bug #15672] KVM bug, git bisected
, Peter Zijlstra
, (Wed Apr 21, 9:03 am)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Nick Bowler
, (Wed Apr 21, 9:57 am)
Re: [Bug #15805] reiserfs locking
, Frederic Weisbecker
, (Wed Apr 21, 7:52 pm)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Christoph Lameter
, (Thu Apr 22, 8:45 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Pekka Enberg
, (Thu Apr 22, 10:26 am)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Jerome Glisse
, (Fri Apr 23, 3:23 am)
Re: [Bug #15719] virtio_net causing kernel BUG when runnin ...
, Thomas Müller
, (Fri Apr 23, 7:10 am)
Re: 2.6.34-rc5: Reported regressions from 2.6.33
, Nick Bowler
, (Fri Apr 23, 8:31 am)
Re: [Bug #15719] virtio_net causing kernel BUG when runnin ...
, Rafael J. Wysocki
, (Fri Apr 23, 9:29 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Pekka J Enberg
, (Fri Apr 23, 12:18 pm)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Zhang, Yanmin
, (Sun Apr 25, 11:59 pm)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Pekka Enberg
, (Mon Apr 26, 12:22 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Tejun Heo
, (Mon Apr 26, 3:02 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Pekka Enberg
, (Mon Apr 26, 3:09 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Tejun Heo
, (Mon Apr 26, 3:53 am)
Re: [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
, Sergey Senozhatsky
, (Mon Apr 26, 5:51 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Pekka J Enberg
, (Mon Apr 26, 7:17 am)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Tejun Heo
, (Mon Apr 26, 7:33 am)
Re: [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
, Rafael J. Wysocki
, (Mon Apr 26, 12:24 pm)
Re: [Bug #15713] hackbench regression due to commit 9dfc6e ...
, Zhang, Yanmin
, (Mon Apr 26, 6:41 pm)
Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
, Stefan Lippers-Hollmann
, (Thu Apr 29, 7:44 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Jan Engelhardt
Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection
Dmitry Torokhov
Re: [2.6 patch] input/serio/hp_sdc.c section fix
Rafael J. Wysocki
[Bug #16380] Loop devices act strangely in 2.6.35
git
:
Steven Grimm
Using git as a general backup mechanism (was Re: Using GIT to store /etc)
Jeff King
Re: [PATCH] git-reset: allow --soft in a bare repo
Johannes Sixt
Re: [PATCH 01/14] msvc: Fix compilation errors in compat/win32/sys/poll.c
Johannes Schindelin
Re: [PATCH] Uninstall rule for top level Makefile
Shawn O. Pearce
Re: [PATCH v2] Speed up bash completion loading
git-commits-head
:
Linux Kernel Mailing List
cgroups: clean up cgroup_pidlist_find() a bit
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
Linux Kernel Mailing List
V4L/DVB (8939): cx18: fix sparse warnings
Linux Kernel Mailing List
ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER).
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
linux
Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?
David Miller
Re: tun: Use netif_receive_skb instead of netif_rx
David Miller
Re: [net-next PATCH v2] llc enhancements
freebsd-current
:
Matthew Fleming
Re: [RFC] Outline of USB process integration in the kernel taskqueue system
illoai@gmail.com
Re: OT: 2d password
Hartmut Brandt
Re: problem with nss_ldap
Andrew Reilly
Re: FreeBSD's problems as seen by the BSDForen.de community
Max Laier
Re: Upcoming ABI Breakage in RELENG_7
Colocation donated by:
Syndicate