| From | Subject | Date |
|---|---|---|
| Arjan van de Ven | [PATCH] net: Add a WARN_ON_ONCE() to the transmit timeout fu...
From: Arjan van de Ven <arjan@linux.intel.com>
Subject: [PATCH] net: Add a WARN_ON_ONCE() to the transmit timeout function
WARN_ON_ONCE() gives a stack trace including the full module list.
Having this in the kernel dump for the timeout case in the
generic netdev watchdog will help us see quicker which driver
is involved. It also allows us to collect statistics
and patterns in terms of which drivers have this event occuring.
Suggested by Andrew Morton
Signed-off-by: Arjan van de Ven <...
| May 1, 4:34 pm 2008 |
| Arjan van de Ven | Re: [PATCH] Extend list debugging to cover hlists
On Fri, 2 May 2008 12:27:46 -0600
Hi,
I like the concept of the patch; however...
BUG() is a tad on the rude side... how about WARN_ON(1) ?
--
| May 1, 4:32 pm 2008 |
| Arjan van de Ven | Re: Many open/close on same files yeilds
On Fri, 2 May 2008 11:03:16 +0000 (UTC)
metdata only; the "e2image" program only saves metadata, not data... so
--
| May 1, 10:07 am 2008 |
| Arjan van de Ven | Re: [PATCH] fix x86 DMI checks for PCI quirks
On Thu, 1 May 2008 21:54:27 -0500
Hi,
can we name this file something with "quirks" in it (dmi_quirks.c or
so)? At least I tend to look for files named like that when searching
for places that do specific hardware/machine based workarounds...
Greetings,
Arjan van de Ven
--
| May 1, 7:23 am 2008 |
| Chris Knadle | Re: huge gcc 4.1.{0,1} __weak problem
Unfortunately Debian Stable (i.e. Etch), which is relatively popular for server
use, is still using 4.1.1 :-( (The current gcc package is gcc-4.1.1-21)
I have not looked to see if Debian Stable's gcc-4.1.1-21 has been patched for
the currently discussed __weak bug.
-- Chris
Chris Knadle
Chris.Knadle@coredump.us
--
| May 1, 7:55 pm 2008 |
| Roland | modprobe acpi-cpufreq - prints WARNING and taints kernel
git17 on vmware - modprobe acpi-cpufreq gives the warning below.
that also didn`t happen with earlier kernels - so maybe it`s a regression,
too.
May 2 01:40:21 opensuse103 kernel: ACPI: ACPI0007:00 is registered as
cooling_device0
May 2 01:40:21 opensuse103 kernel: ACPI: Processor [CPU0] (supports 8
throttling states)
May 2 01:40:24 opensuse103 kernel: sysdev: class cpu: driver (c037d1c0) has
already been registered to a class, something is wrong, but will forge on!
May 2 01:40:24 opens...
| May 1, 7:58 pm 2008 |
| Steven Rostedt | [PATCH] add typecheck on irqsave and friends for correct flags
There has been several areas in the kernel where an int has been used
for flags in local_irq_save and friends instead of a long. This can
cause some hard to debug problems on some architectures.
This patch adds a typecheck inside the irqsave and restore functions
to flag these cases.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
include/linux/irqflags.h | 52 ++++++++++++++++++++++++----------
include/linux/spinlock.h | 71 ++++++++++++++++++++++++++++++++++++-----------
...
| May 1, 7:51 pm 2008 |
| Roland | modprobe aha1542 oops with git17
2.6.25-git17-default on vmware - i`m getting oops when modprobe aha1542 (ok,
makes no sense in vmware, but i think this is a regression because it never
happend before. i did the same test with older kernels)
BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<d0820766>] :scsi_mod:scsi_destroy_command_freelist+0xd/0x4f
*pde = 00000000
Oops: 0000 [#1] SMP
Modules linked in: aha1542(+) iptable_filter ip_tables ip6table_filter
ip6_tables x_tables ipv6 af_packet microcod...
| May 1, 7:49 pm 2008 |
| Ryan Roth | Re: [Bugme-new] [Bug 10586] New: High Number of Segfaults on...
OK here is what I get with the git16 kernel. On boot I get this error:
PCI: Not using MMCONFIG
PCI: BIOS Bug: MCFG area at f0000000 is not reserved in ACPI motherboard
resources
PCI: Not using MMCONFIG
| May 1, 7:29 pm 2008 |
| Randy Dunlap | Re: [Bugme-new] [Bug 10586] New: High Number of Segfaults on...
Where are the segfaults?
Do you mean these reports? If so, then this is something
other than segfaults. And not quite as critical.
Or are things not working for you with this kernel?
May 1 16:15:01 kernel: proc_dir_entry 'info' already registered
May 1 16:15:01 kernel: Pid: 1099, comm: modprobe Not tainted 2.6.25-git16 #3
May 1 16:15:01 kernel:
May 1 16:15:01 kernel: Call Trace:
May 1 16:15:01 kernel: [<ffffffff81118269>] idr_get_new+0xb/0x28
May 1 16:15:01 kernel: [<fff...
| May 1, 7:48 pm 2008 |
| Ryan Roth | Re: [Bugme-new] [Bug 10586] New: High Number of Segfaults on...
The segfaults are still present causing apps to not work. I attached a
boot log in case it was needed for more details. Should I not worry
about the following message?
May 1 16:15:01 kernel: PCI: MCFG configuration 0: base f0000000 segment
0 buses 0 - 255
May 1 16:15:01 kernel: PCI: BIOS Bug: MCFG area at f0000000 is not
reserved in ACPI motherboard resources
May 1 16:15:01 kernel: PCI: Not using MMCONFIG.
--
| May 1, 7:56 pm 2008 |
| Harvey Harrison | [PATCH 9/9] ppc: ppc-stub.c use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/ppc/kernel/ppc-stub.c | 53 ++++++++++++++++++++------------------------
1 files changed, 24 insertions(+), 29 deletions(-)
diff --git a/arch/ppc/kernel/ppc-stub.c b/arch/ppc/kernel/ppc-stub.c
index 5f9ee7b..2379f70 100644
--- a/arch/ppc/kernel/ppc-stub.c
+++ b/arch/ppc/kernel/ppc-stub.c
@@ -130,9 +130,6 @@ static int kgdb_started;
static u_int fault_jmp_buf[100];
static int kdebug;
-
-static const char hexchars[...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 8/9] sh: kgdb-stub.c, sh-sci.c use the common ascii h...
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/sh/kernel/kgdb_stub.c | 16 ++++++++--------
drivers/serial/sh-sci.c | 8 ++++----
include/asm-sh/kgdb.h | 14 --------------
3 files changed, 12 insertions(+), 26 deletions(-)
diff --git a/arch/sh/kernel/kgdb_stub.c b/arch/sh/kernel/kgdb_stub.c
index d453c3a..98cdb2b 100644
--- a/arch/sh/kernel/kgdb_stub.c
+++ b/arch/sh/kernel/kgdb_stub.c
@@ -274,8 +274,8 @@ static char *mem_to_hex(const char *mem, char *b...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 7/9] mips: gdb-stub.c use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/mips/kernel/gdb-stub.c | 56 +++++++++++++++---------------------------
1 files changed, 20 insertions(+), 36 deletions(-)
diff --git a/arch/mips/kernel/gdb-stub.c b/arch/mips/kernel/gdb-stub.c
index 25f4eab..fe81aa4 100644
--- a/arch/mips/kernel/gdb-stub.c
+++ b/arch/mips/kernel/gdb-stub.c
@@ -164,7 +164,6 @@ extern void adel(void);
static void getpacket(char *buffer);
static void putpacket(char *buffer);
static in...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 6/9] mn10300: gdb-stub.c use the common ascii hex hel...
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/mn10300/kernel/gdb-stub.c | 183 ++++++++++++++++++----------------------
1 files changed, 83 insertions(+), 100 deletions(-)
diff --git a/arch/mn10300/kernel/gdb-stub.c b/arch/mn10300/kernel/gdb-stub.c
index 21891c7..2431571 100644
--- a/arch/mn10300/kernel/gdb-stub.c
+++ b/arch/mn10300/kernel/gdb-stub.c
@@ -163,8 +163,6 @@ static char input_buffer[BUFMAX];
static char output_buffer[BUFMAX];
static char trans_buffer[B...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 5/9] frv: gdb-stub.c use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/frv/kernel/gdb-stub.c | 163 ++++++++++++++++++++------------------------
1 files changed, 73 insertions(+), 90 deletions(-)
diff --git a/arch/frv/kernel/gdb-stub.c b/arch/frv/kernel/gdb-stub.c
index 48a0393..5a369d7 100644
--- a/arch/frv/kernel/gdb-stub.c
+++ b/arch/frv/kernel/gdb-stub.c
@@ -182,8 +182,6 @@ extern volatile u32 __attribute__((section(".bss"))) gdbstub_trace_through_excep
static char input_buffer[BUFMAX];...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 4/9] kgdb: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/misc/kgdbts.c | 5 ++---
kernel/kgdb.c | 36 +++++++++++-------------------------
2 files changed, 13 insertions(+), 28 deletions(-)
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index 30a1af8..03d3549 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -118,7 +118,6 @@
} while (0)
#define MAX_CONFIG_LEN 40
-static const char hexchars[] = "0123456789abcdef";
static str...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 3/9] cris: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/cris/arch-v10/kernel/kgdb.c | 103 +++++++++++---------------------------
arch/cris/arch-v32/kernel/kgdb.c | 91 +++++++++------------------------
2 files changed, 54 insertions(+), 140 deletions(-)
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
index a3ca551..a40581f 100644
--- a/arch/cris/arch-v10/kernel/kgdb.c
+++ b/arch/cris/arch-v10/kernel/kgdb.c
@@ -278,17 +278,6 @@ void putDebugC...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 2/9] scsi: use the common hex_asc array rather than a...
Also use the hi/lo helpers.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/scsi/ibmmca.c | 3 +--
drivers/scsi/ultrastor.c | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c
index 4d15a62..6765a05 100644
--- a/drivers/scsi/ibmmca.c
+++ b/drivers/scsi/ibmmca.c
@@ -1002,12 +1002,11 @@ static char *ti_p(int dev)
/* interpreter for logical device numbers (ldn) */
static char *ti_l(int val...
| May 1, 7:05 pm 2008 |
| Harvey Harrison | [PATCH 1/9] lib: add ascii hex helper functions
Everyone rolls their own version around the tree, centralize
in lib/hexdump.c
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
include/linux/kernel.h | 6 +++++-
lib/hexdump.c | 25 +++++++++++++++++++++++--
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 4d46e29..20cae9a 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -276,7 +276,11 @@ extern void print_hex_dump(const c...
| May 1, 7:05 pm 2008 |
| John W. Linville | pull request: wireless-2.6 2008-05-01
Dave,
Another quick round of wireless fixes for 2.6.26...let me know if there
are problems!
Thanks,
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit c2a3b233450d5bc426c063ea2d8a74351db29ea4:
David S. Miller (1):
Merge branch 'master' of master.kernel.org:/.../linville/wireless-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/ke...
| May 1, 6:18 pm 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-05-01
From: "John W. Linville" <linville@tuxdriver.com>
Pulled and pushed back out to net-2.6, thanks!
--
| May 1, 7:13 pm 2008 |
| Steven Rostedt | [PATCH] fix irq flags for iuu_phoenix.c
The file drivers/usb/serial/iuu_phoenix.c uses "int" for flags. This can
cause hard to find bugs on some architectures. This patch converts the
flags to use "long" instead.
This bug was discovered by doing an allyesconfig make on the -rt kernel
where checks are done to ensure all flags are of size sizeof(long).
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
drivers/usb/serial/iuu_phoenix.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-compile.gi...
| May 1, 6:52 pm 2008 |
| Steven Rostedt | [PATCH] fix irq flags in rtc-ds1511
The file in drivers/rtc/rtc-ds1551.c uses "int" for flags. This can
cause hard to find bugs on some architectures. This patch converts the
flags to use "long" instead.
This bug was discovered by doing an allyesconfig make on the -rt kernel
where checks are done to ensure all flags are of size sizeof(long).
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
drivers/rtc/rtc-ds1511.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-compile.git/drivers/rtc/r...
| May 1, 6:51 pm 2008 |
| Steven Rostedt | [PATCH] fix irq flags in saa7134
Some files in the drivers/media/video/saa7134 directory uses "int" for flags.
This can cause hard to find bugs on some architectures. This patch converts the
flags to use "long" instead.
This bug was discovered by doing an allyesconfig make on the -rt kernel
where checks are done to ensure all flags are of size sizeof(long).
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
drivers/media/video/saa7134/saa7134-video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Inde...
| May 1, 6:49 pm 2008 |
| Steven Rostedt | [PATCH] fix irq flags in mac80211 code
A file in the net/mac80211 directory uses "int" for flags. This can
cause hard to find bugs on some architectures. This patch converts the
flags to use "long" instead.
This bug was discovered by doing an allyesconfig make on the -rt kernel
where checks are done to ensure all flags are of size sizeof(long).
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
net/mac80211/rc80211_pid_debugfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-compile.git/net...
| May 1, 6:48 pm 2008 |
| Jesper Juhl | scsi_scan: WARNING: at include/linux/blkdev.h:431 blk_queue_...
Hi,
For your information;
I just build and booted the tip of Linus' git tree (HEAD at
886c35fbcf6fb2eee15687efc2d64d99b6ad9a4a) and got this in dmesg during
bootup :
------------[ cut here ]------------
WARNING: at include/linux/blkdev.h:431 blk_queue_init_tags+0x107/0x120()
Modules linked in:
Pid: 432, comm: scsi_scan_0 Not tainted 2.6.25-07351-g886c35f #1
[<c0129684>] warn_on_slowpath+0x54/0x70
[<c017a7c3>] ? check_object+0xe3/0x1f0
[<c0200ae9>] ? init_tag_map+0x59...
| May 1, 6:43 pm 2008 |
| Stefan Richter | [PATCH] firewire: fw-ohci: blacklist dualbuffer for TSB43AB2...
According to https://bugzilla.redhat.com/show_bug.cgi?id=435550 the
TI TSB43AB22A on an ASUSTeK M2NPV-VM motherboard does not work in
dual-buffer mode with dvgrab, but does so in packet-per-buffer mode.
Other TSB43AB22 or TSB43AB22A cards do not exhibit this problem. The
least-cost "fix" for now is to force TSB43AB22A on ASUS boards into
packet-per-buffer mode in isochronous reception.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
(subject to retesting by the reporter)
...
| May 1, 6:36 pm 2008 |
| Greg Kroah-Hartman | Linux 2.6.25.1
We (the -stable team) are announcing the release of the 2.6.25.1 kernel.
If fixes a number of different bugs and some security issues so that all
users of the 2.6.25 series of kernels are strongly encouraged to
upgrade.
I'll also be replying to this message with a copy of the patch between
2.6.25 and 2.6.25.1
The updated 2.6.25.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.25.y.git
and can be browsed at the normal kernel.org git web browser:...
| May 1, 6:05 pm 2008 |
| Greg Kroah-Hartman | Re: Linux 2.6.25.1
diff --git a/Makefile b/Makefile
index 39516bf..675d37c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 25
-EXTRAVERSION =
+EXTRAVERSION = .1
NAME = Funky Weasel is Jiggy wit it
# *DOCUMENTATION*
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c
index 8c71daf..9fee37e 100644
--- a/arch/alpha/kernel/osf_sys.c
+++ b/arch/alpha/kernel/osf_sys.c
@@ -75,6 +75,7 @@ osf_set_program_attributes(unsigned long text_start, unsigned ...
| May 1, 6:05 pm 2008 |
| Greg Kroah-Hartman | Linux 2.6.24.6
We (the -stable team) are announcing the release of the 2.6.24.6 kernel.
If fixes a number of different bugs and some security issues so that all
users of the 2.6.24 series of kernels are strongly encouraged to
upgrade.
Note, barring some major security issue, this is probably going to be
the last 2.6.24 kernel released. You all should move on to the 2.6.25
series by now.
I'll also be replying to this message with a copy of the patch between
2.6.24.5 and 2.6.24.6
The updated 2.6.24.y git t...
| May 1, 6:03 pm 2008 |
| Greg Kroah-Hartman | Re: Linux 2.6.24.6
diff --git a/Makefile b/Makefile
index 822d1ba..f619bbc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 24
-EXTRAVERSION = .5
+EXTRAVERSION = .6
NAME = Err Metey! A Heury Beelge-a Ret!
# *DOCUMENTATION*
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index 232fdeb..9994c52 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -2478,6 +2478,7 @@ void destroy_irq(unsigned int irq)
dynamic_i...
| May 1, 6:04 pm 2008 |
| Roland | Re: This month's price for the most useless new Kconfig help...
to be exact, it`s CONFIG_FUSION_SPI and that makes mptspi build, which is
a driver for LSI53C1030 type controller, which also exists in real world.
you are right, this is confiusing and confused me and others, too.
not a single word that this is for LSILogic type controllers.
Maybe that can/should be changed to "LSI Fusion MPT device support", "Say Y
here to get to see options for drivers
based on LSI Fusion Message Passing Technology (MPT)" !?
regards
roland
List: li...
| May 1, 6:02 pm 2008 |
| Bjorn Helgaas | PNP: set IRQ index in sysfs "set irq" interface
We have to set the ISAPNP register index when setting an IRQ via
the sysfs interface. We already do it for IO, MEM, and DMA
resources; I just missed the IRQ one.
This needs to be in 2.6.26.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/interface.c
===================================================================
--- work10.orig/drivers/pnp/interface.c 2008-05-01 15:26:28.000000000 -0600
+++ work10/drivers/pnp/interface.c 2008-05-01 15:26:39.000000000 -0...
| May 1, 5:39 pm 2008 |
| Steven Rostedt | [PATCH] fix flags length in net 9p
Some files in the net/9p directory uses "int" for flags. This can
cause hard to find bugs on some architectures. This patch converts the
flags to use "long" instead.
This bug was discovered by doing an allyesconfig make on the -rt kernel
where checks are done to ensure all flags are of size sizeof(long).
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
net/9p/trans_virtio.c | 2 +-
net/9p/util.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Index: l...
| May 1, 5:08 pm 2008 |
| Christoph Hellwig | Re: [PATCH] fix flags length in net 9p
We had checks like that in mainline aswell that caught a lot of errors
like this one. Probably got lost in one of the gazillions of spinlock
rewrites..
--
| May 1, 6:03 pm 2008 |
| Andrew Morton | Re: [PATCH] fix flags length in net 9p
On Thu, 1 May 2008 17:08:05 -0400 (EDT)
I was about to suggest that we do something like that...
I wonder how messy it is. I long ago lost the ability to follow the
convolutions in include/linux/spinlock*.h :( gotta patch?
--
| May 1, 5:19 pm 2008 |
| Alexey Dobriyan | Re: [PATCH] fix flags length in net 9p
Me, me, take me back!
commit ee3ce191e8eaa4cc15c51a28b34143b36404c4f5
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Sat Nov 25 11:09:36 2006 -0800
[PATCH] Enforce "unsigned long flags;" when spinlocking
Make it break or warn if you pass to spin_lock_irqsave() and friends
something different from "unsigned long flags;". Suprisingly large amount
of these was caught by recent commit
c53421b18f205c5f97c604ae55c6a921f034b0f6 and others.
Idea is ...
| May 1, 6:29 pm 2008 |
| Steven Rostedt | Re: [PATCH] fix flags length in net 9p
We can simply have all users of flags use the new irqflags_t type, and
just do a one time big patch (grant you, that would break all pending
patches before that). But we can also write up a script that can convert
patches as well.
-- Steve
--
| May 1, 5:50 pm 2008 |
| Andrew Morton | Re: [PATCH] fix flags length in net 9p
On Thu, 1 May 2008 17:50:38 -0400 (EDT)
ooh, I'd forgotten about typecheck.
y:/usr/src/linux-2.6.25> grep -rl 'unsigned long flags' . | wc -l
2311
eargh. I agree with me.
--
| May 1, 6:15 pm 2008 |
| Daniel Walker | Re: [PATCH] fix flags length in net 9p
The check that's in -rt for this uses BUILD_BUG_ON(), and it's extremely
cryptic when there is a failure .. Most people will be baffled why the
build stopped. If a check went into mainline it should at least give you
some sort of idea what's happening ..
Daniel
--
| May 1, 5:26 pm 2008 |
| Andrew Morton | Re: [PATCH] fix flags length in net 9p
On Thu, 01 May 2008 14:26:00 -0700
I think a warning is good enough here. There are all sorts of warnings if,
which ignored, will crash your box.
And there is only one type which we use to hold processor flags and that is
unsigned long.
So a plain old
#define must_be_ulong(p)
do {
if (&p == (unsigned long *)0)
;
} while (0)
(or whatever)
should suffice.
--
| May 1, 6:07 pm 2008 |
| Adrian Bunk | Re: [PATCH] fix flags length in net 9p
A cryptic compile error is _much_ better than a hard to find runtime
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| May 1, 5:41 pm 2008 |
| Daniel Walker | Re: [PATCH] fix flags length in net 9p
I think we ultimately want something informative if it's possible.
That's what I want.
Daniel
--
| May 1, 6:01 pm 2008 |
| Steven Rostedt | Re: [PATCH] fix flags length in net 9p
I can probably change it to be a bit more helpful. I'll work on that too.
-- Steve
--
| May 1, 5:38 pm 2008 |
| Alexey Dobriyan | Re: [PATCH] fix flags length in net 9p
One comment near BUILD_BUG_ON is enough (and everything we can do).
--
| May 1, 6:32 pm 2008 |
| Steven Rostedt | Re: [PATCH] fix flags length in net 9p
You might want to put a few comments by spinlock functions too, since I
hit this bug in the -rt patch and it confused my for about 10 minutes. Of
course I first blamed my own work on the spinlocks before I noticed that
the caller was using "int".
But actually, I like the idea of having a irqflags_t type that must be
used.
struct irqflags_s {
unsigned long flags;
};
typedef struct irqflags_s irqflags_t;
This would force everyone to use this structure, and it would be an easy
script to...
| May 1, 5:46 pm 2008 |
| Steven Rostedt | Re: [PATCH] fix flags length in net 9p
[ I added Ingo since I think he created the check ]
It's not messy at all, it's actually quite elegant. I can pull it out of
the -rt tree, or perhaps Ingo can quickly whip one up as well.
Ingo, you want me to pull it out?
-- Steve
--
| May 1, 5:25 pm 2008 |
| Harvey Harrison | [PATCH 4/4] kgdb: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/misc/kgdbts.c | 5 ++---
kernel/kgdb.c | 36 +++++++++++-------------------------
2 files changed, 13 insertions(+), 28 deletions(-)
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index 30a1af8..03d3549 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -118,7 +118,6 @@
} while (0)
#define MAX_CONFIG_LEN 40
-static const char hexchars[] = "0123456789abcdef";
static str...
| May 1, 4:51 pm 2008 |
| Harvey Harrison | [PATCH 3/4] cris: use the common ascii hex helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
arch/cris/arch-v10/kernel/kgdb.c | 103 +++++++++++---------------------------
arch/cris/arch-v32/kernel/kgdb.c | 91 +++++++++------------------------
2 files changed, 54 insertions(+), 140 deletions(-)
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
index a3ca551..a40581f 100644
--- a/arch/cris/arch-v10/kernel/kgdb.c
+++ b/arch/cris/arch-v10/kernel/kgdb.c
@@ -278,17 +278,6 @@ void putDebugC...
| May 1, 4:51 pm 2008 |
| previous day | today | next day |
|---|---|---|
| March 31, 2008 | May 1, 2008 | May 2, 2008 |
| Sunil Naidu | Re: Linux 2.6.20-rc6 |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Linus Torvalds | Re: init's children list is long and slows reaping children. |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
git: | |
