Re: [PATCH 3/3] staging: vt6656: iwctl: remove a few remaining redundant newlines

2012-07-08 Thread Jesper Juhl
On Sun, 8 Jul 2012, Joe Perches wrote: On Mon, 2012-07-09 at 00:59 +0200, Jesper Juhl wrote: I missed a few redundant newlines the first time. [] diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c [] @@ -964,7 +964,6 @@ int iwctl_giwrts(struct net_device *dev

Re: [PATCH 1/3] staging: vt6656: iwctl: fix up spacing around operators

2012-07-08 Thread Jesper Juhl
On Sun, 8 Jul 2012, Joe Perches wrote: On Mon, 2012-07-09 at 00:58 +0200, Jesper Juhl wrote: A few cases were missed in my previous cleanup, this takes care of the last cases of missing space (or too much space (as in a newline)) around operators ('=', '==', ',', ''). Trivia: diff

Re: [PATCH] staging: vt6656: iwctl: mop up a few remaining obvious style issues

2012-07-06 Thread Jesper Juhl
On Fri, 6 Jul 2012, Greg Kroah-Hartman wrote: > On Wed, Jun 27, 2012 at 09:19:15PM +0200, Jesper Juhl wrote: > > My previous 14 patch series to vt6656 missed a few bits and > > pieces. This mops up the last few obvious style issues. > > It is quite short and completely tri

Re: [PATCH] staging: vt6656: iwctl: mop up a few remaining obvious style issues

2012-07-06 Thread Jesper Juhl
On Fri, 6 Jul 2012, Greg Kroah-Hartman wrote: On Wed, Jun 27, 2012 at 09:19:15PM +0200, Jesper Juhl wrote: My previous 14 patch series to vt6656 missed a few bits and pieces. This mops up the last few obvious style issues. It is quite short and completely trivial - simply deletes a few

[PATCH] Don't risk NULL deref in marker

2008-02-25 Thread Jesper Juhl
get_marker() may return NULL, so test for it. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- diff --git a/kernel/marker.c b/kernel/marker.c index 50effc0..f211f08 100644 --- a/kernel/marker.c +++ b/kernel/marker.c @@ -698,12 +698,11 @@ int marker_probe_unregister(const char

[PATCH] Don't risk NULL deref in marker

2008-02-25 Thread Jesper Juhl
get_marker() may return NULL, so test for it. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- diff --git a/kernel/marker.c b/kernel/marker.c index 50effc0..f211f08 100644 --- a/kernel/marker.c +++ b/kernel/marker.c @@ -698,12 +698,11 @@ int marker_probe_unregister(const char *name

Re: [3/6] kgdb: core

2008-02-10 Thread Jesper Juhl
afe in case bar() is a macro. if (foo) { bar(); } is always safe and is more robust when the code gets changed later since you don't accidentally end up with someone mistakenly turning it into if (foo) bar(); baz(); -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.cat

Re: [3/6] kgdb: core

2008-02-10 Thread Jesper Juhl
accidentally end up with someone mistakenly turning it into if (foo) bar(); baz(); -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list

Re: [patch] [git pull] Input updates for 2.6.25-rc0

2008-02-08 Thread Jesper Juhl
the Trivial tree and push it during the 2.6.26 merge window if it doesn't get merged elsewhere before that. It looks reasonably trivial. At least that way it doesn't get lost :) -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain t

Re: [patch] [git pull] Input updates for 2.6.25-rc0

2008-02-08 Thread Jesper Juhl
it doesn't get lost :) -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [linux-pm] Re: Small pm documentation cleanups

2008-02-05 Thread Jesper Juhl
Pavel > > > Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> > Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > I've put this on my watch list for the trivial tree. So, if it doesn't get merged

Re: [linux-pm] Re: Small pm documentation cleanups

2008-02-05 Thread Jesper Juhl
PROTECTED] I've put this on my watch list for the trivial tree. So, if it doesn't get merged elsewhere I'll take care of pushing it again during the 2.6.26 merge window (and beyond). -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov <[EMAIL PROTECTED]> wrote: > 2008/1/22, Jesper Juhl <[EMAIL PROTECTED]>: > > On 22/01/2008, Anton Salikhmetov <[EMAIL PROTECTED]> wrote: > > > 2008/1/22, Jesper Juhl <[EMAIL PROTECTED]>: > > > > Some very pe

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov <[EMAIL PROTECTED]> wrote: > 2008/1/22, Anton Salikhmetov <[EMAIL PROTECTED]>: > > 2008/1/22, Jesper Juhl <[EMAIL PROTECTED]>: > > > Some very pedantic nitpicking below; > > > ... > > By the way, if we're talking

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov <[EMAIL PROTECTED]> wrote: > 2008/1/22, Jesper Juhl <[EMAIL PROTECTED]>: > > Some very pedantic nitpicking below; > > > > On 22/01/2008, Anton Salikhmetov <[EMAIL PROTECTED]> wrote: ... > > > +

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
(flags & MS_SYNC) { "else if" ?? > + get_file(file); > + up_read(>mmap_sem); > + error = do_fsync(file, 0); > + fput(file); > + if (error || start >= end)

Re: [PATCH -v7 0/2] Fixing the issue with memory-mapped file times

2008-01-21 Thread Jesper Juhl
s, including numbers, are available here: > > http://bugzilla.kernel.org/show_bug.cgi?id=2645#c43 > Hi Anton, I applied your patches here and as far as my own test programs go, these patches solve the previously observed problems I saw with mtime not getting updated. Thank you very much fo

Re: [PATCH -v7 0/2] Fixing the issue with memory-mapped file times

2008-01-21 Thread Jesper Juhl
Anton, I applied your patches here and as far as my own test programs go, these patches solve the previously observed problems I saw with mtime not getting updated. Thank you very much for so persistently working on these long standing issues. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
; -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov [EMAIL PROTECTED] wrote: 2008/1/22, Jesper Juhl [EMAIL PROTECTED]: Some very pedantic nitpicking below; On 22/01/2008, Anton Salikhmetov [EMAIL PROTECTED] wrote: ... + if (file (vma-vm_flags VM_SHARED

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov [EMAIL PROTECTED] wrote: 2008/1/22, Anton Salikhmetov [EMAIL PROTECTED]: 2008/1/22, Jesper Juhl [EMAIL PROTECTED]: Some very pedantic nitpicking below; ... By the way, if we're talking pedantic, then: debian:/tmp$ cat c.c void f

Re: [PATCH -v7 2/2] Update ctime and mtime for memory-mapped files

2008-01-21 Thread Jesper Juhl
On 22/01/2008, Anton Salikhmetov [EMAIL PROTECTED] wrote: 2008/1/22, Jesper Juhl [EMAIL PROTECTED]: On 22/01/2008, Anton Salikhmetov [EMAIL PROTECTED] wrote: 2008/1/22, Jesper Juhl [EMAIL PROTECTED]: Some very pedantic nitpicking below; On 22/01/2008, Anton Salikhmetov [EMAIL

Re: [PATCH] Documentation: Add 00-INDEX file for AoE

2008-01-17 Thread Jesper Juhl
On 14/01/2008, Ed L. Cashin <[EMAIL PROTECTED]> wrote: > On Sun, Jan 13, 2008 at 02:44:48AM +0100, Jesper Juhl wrote: > > Documentation/aoe/ is missing a 00-INDEX file. Add one. > > Thanks. I think that it would help to clarify that using udev is the > norm, and that the m

Re: [PATCH] Documentation: Add 00-INDEX file for AoE

2008-01-17 Thread Jesper Juhl
On 14/01/2008, Ed L. Cashin [EMAIL PROTECTED] wrote: On Sun, Jan 13, 2008 at 02:44:48AM +0100, Jesper Juhl wrote: Documentation/aoe/ is missing a 00-INDEX file. Add one. Thanks. I think that it would help to clarify that using udev is the norm, and that the mkdev and mkshelf scripts

[PATCH] Documentation: Add 00-INDEX file for AoE

2008-01-12 Thread Jesper Juhl
Documentation/aoe/ is missing a 00-INDEX file. Add one. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- 00-INDEX | 18 ++ 1 file changed, 18 insertions(+) --- /dev/null 2005-11-21 04:22:37.0 +0100 +++ linux-2.6/Documentation/aoe/00-INDEX2008-01-13

[PATCH 2/2] irda: avoid potential memory leak in irda_setsockopt()

2008-01-12 Thread Jesper Juhl
NOMEM upon failure to allocate new ias_obj The Coverity checker gets credit for pointing its finger towards this. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- af_irda.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/irda/af_irda.c b/net/irda/af_irda.

[PATCH 1/2] irda: return -ENOMEM upon failure to allocate new ias_obj

2008-01-12 Thread Jesper Juhl
think it's a lot nicer to simply return -ENOMEM to the caller here where we know a memory allocation failed, rather than hitting an assertion later. note: I don't have any means of actually testing this, so it has been compile tested only. Signed-off-by: Jesper Juhl <[EMAIL PROTEC

[PATCH 1/2] irda: return -ENOMEM upon failure to allocate new ias_obj

2008-01-12 Thread Jesper Juhl
think it's a lot nicer to simply return -ENOMEM to the caller here where we know a memory allocation failed, rather than hitting an assertion later. note: I don't have any means of actually testing this, so it has been compile tested only. Signed-off-by: Jesper Juhl [EMAIL PROTECTED

[PATCH 2/2] irda: avoid potential memory leak in irda_setsockopt()

2008-01-12 Thread Jesper Juhl
new ias_obj The Coverity checker gets credit for pointing its finger towards this. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- af_irda.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index e33f0a5..352e8a7 100644

[PATCH] Documentation: Add 00-INDEX file for AoE

2008-01-12 Thread Jesper Juhl
Documentation/aoe/ is missing a 00-INDEX file. Add one. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- 00-INDEX | 18 ++ 1 file changed, 18 insertions(+) --- /dev/null 2005-11-21 04:22:37.0 +0100 +++ linux-2.6/Documentation/aoe/00-INDEX2008-01-13 02:37

Re: Kernel Oops?

2008-01-10 Thread Jesper Juhl
nd does it have over 4GB of RAM ? > > > > > > There are 2GB of RAM and the motherboard is DFI and it has a duel core > intel cpu. If you need to specifics I could look them up. cat /proc/cpuinfo cat /proc/scsi/scsi cat /proc/interrupts lspci -vvx should give you most of the details :) -

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-09 Thread Jesper Juhl
f a write reference, then these fields shall be marked for update at some > > time after the write reference. > > > > The above citation was taken from the following link: > > > > http://www.opengroup.org/onlinepubs/009695399/functions/mmap.html > > ...

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-09 Thread Jesper Juhl
/onlinepubs/009695399/functions/mmap.html ... I agree that our current behaviour is certainly not what the standard (sensibly) requires. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com

Re: Kernel Oops?

2008-01-07 Thread Jesper Juhl
the Oops that way. See Documentation/serial-console.txt and Documentation/networking/netconsole.txt for details. That should do it for a few starting points. :-) -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please

Re: Kernel Oops?

2008-01-07 Thread Jesper Juhl
/netconsole.txt for details. That should do it for a few starting points. :-) -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send

Re: [PATCH] This patch to printk.c fixes a few errors reported by checkpatch.pl

2008-01-03 Thread Jesper Juhl
wise I think it looks sane enough as a small style cleanup. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH] This patch to profile.c fixes a few errors reported by checkpatch.pl

2008-01-03 Thread Jesper Juhl
On 04/01/2008, Paolo Ciarrocchi <[EMAIL PROTECTED]> wrote: > Before: > total: 25 errors, 13 warnings, 602 lines checked > > After: > total: 3 errors, 13 warnings, 602 lines checked > > > Signed-off-by: Paolo Ciarrocchi <[EMAIL PROTECTED]> Looks sane to m

Re: [PATCH] This patch to profile.c fixes a few errors reported by checkpatch.pl

2008-01-03 Thread Jesper Juhl
On 04/01/2008, Paolo Ciarrocchi [EMAIL PROTECTED] wrote: Before: total: 25 errors, 13 warnings, 602 lines checked After: total: 3 errors, 13 warnings, 602 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] Looks sane to me. Reviewed-by: Jesper Juhl [EMAIL PROTECTED

Re: [PATCH] This patch to printk.c fixes a few errors reported by checkpatch.pl

2008-01-03 Thread Jesper Juhl
cleanup. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED

[PATCH 3/3] Nuke duplicate header from sysctl.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> Don't include linux/security.h twice in kernel/sysctl.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- sysctl.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c68f68d..01b12c3 100644 --- a/ker

[PATCH 2/3] Nuke a duplicate include from profile.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> Remove duplicate inclusion of linux/profile.h from kernel/profile.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- profile.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/profile.c b/kernel/profile.c index 5e95330..ff

[PATCH 1/3] Nuke duplicate include from printk.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> Remove the duplicate inclusion of linux/jiffies.h from kernel/printk.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- printk.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/printk.c b/kernel/printk.c index 89011bf..b4

[PATCH 0/3] Nuke a few duplicate includes

2008-01-01 Thread Jesper Juhl
Including the same header twice (or more) in a .c file, outside any #ifdef's and whatnot, serves no purpose except generating more work for the compiler, so here are 3 patches that get rid of some pointless duplicate includes. Kind regards, Jesper Juhl <[EMAIL PROTEC

Re: [PATCH] Fix errors detected by checkpatch.pl on nmi_int.c

2008-01-01 Thread Jesper Juhl
s some trailing whitespace, does some CodingStyle cleanups, is nicely confined to one file, doesn't (as far as I can tell) change the way the code works, makes checkpatch less noisy. All good. Feel free to add Reviewed-by: Jesper Juhl <[EMAIL PROTECTED]> if you like. -- Jesper Juhl <

Re: [PATCH] Fix errors detected by checkpatch.pl on nmi_int.c

2008-01-01 Thread Jesper Juhl
, doesn't (as far as I can tell) change the way the code works, makes checkpatch less noisy. All good. Feel free to add Reviewed-by: Jesper Juhl [EMAIL PROTECTED] if you like. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails

[PATCH 0/3] Nuke a few duplicate includes

2008-01-01 Thread Jesper Juhl
Including the same header twice (or more) in a .c file, outside any #ifdef's and whatnot, serves no purpose except generating more work for the compiler, so here are 3 patches that get rid of some pointless duplicate includes. Kind regards, Jesper Juhl [EMAIL PROTECTED] -- To unsubscribe

[PATCH 1/3] Nuke duplicate include from printk.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] Remove the duplicate inclusion of linux/jiffies.h from kernel/printk.c Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- printk.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/printk.c b/kernel/printk.c index 89011bf..b4bca0d 100644

[PATCH 2/3] Nuke a duplicate include from profile.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] Remove duplicate inclusion of linux/profile.h from kernel/profile.c Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- profile.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/profile.c b/kernel/profile.c index 5e95330..ffaebea 100644

[PATCH 3/3] Nuke duplicate header from sysctl.c

2008-01-01 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] Don't include linux/security.h twice in kernel/sysctl.c Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- sysctl.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c68f68d..01b12c3 100644 --- a/kernel/sysctl.c

[PATCH] UBI: silence warning about possibly uninitialized use of variable in drivers/mtd/ubi/vmt.c ...

2007-12-13 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> This patch silences the following warning : drivers/mtd/ubi/vmt.c:73: warning: 'ret' may be used uninitialized in this function gcc can't see that we always initialize ret in all situations where it is actually used. The one case wher

Re: [RFT] Port 0x80 I/O speed

2007-12-13 Thread Jesper Juhl
elcome. > Don't know if you saw mine (at least it's not on your list), but it's archived here: http://lkml.org/lkml/2007/12/12/399 -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/

Re: [RFT] Port 0x80 I/O speed

2007-12-13 Thread Jesper Juhl
here: http://lkml.org/lkml/2007/12/12/399 -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] UBI: silence warning about possibly uninitialized use of variable in drivers/mtd/ubi/vmt.c ...

2007-12-13 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] This patch silences the following warning : drivers/mtd/ubi/vmt.c:73: warning: 'ret' may be used uninitialized in this function gcc can't see that we always initialize ret in all situations where it is actually used. The one case where it's

Re: yield API

2007-12-12 Thread Jesper Juhl
rting other, more commonly used > APIs. That was the principle we followed in previous schedulers too. And > if anyone has a patch to make sched_yield() better than it is today, i'm > of course interested in it. > Just for the record; for our use, sched_yield() seems to work j

Re: [RFT] Port 0x80 I/O speed

2007-12-12 Thread Jesper Juhl
764, in 1723 cycles: out 1762, in 1712 cycles: out 1761, in 1723 cycles: out 1771, in 1715 cycles: out 1770, in 1709 -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html --

Re: [RFT] Port 0x80 I/O speed

2007-12-12 Thread Jesper Juhl
, in 1712 cycles: out 1761, in 1723 cycles: out 1771, in 1715 cycles: out 1770, in 1709 -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send

Re: yield API

2007-12-12 Thread Jesper Juhl
the new scheduler is doing fine in this regard. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Where is the interrupt going?

2007-11-21 Thread Jesper Juhl
nterrupt gone? > Just to rule out the trivial causes. Could it be that you've simply not configured your system to log messages at the loglevel that your printk() is using? -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain tex

Re: Where is the interrupt going?

2007-11-21 Thread Jesper Juhl
the trivial causes. Could it be that you've simply not configured your system to log messages at the loglevel that your printk() is using? -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com

Re: mm_release() call in exit_mm() looks dangerous

2007-11-15 Thread Jesper Juhl
On 13/11/2007, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Jesper Juhl wrote: > > In kernel/exit.c we have this code : > > > > static void exit_mm(struct task_struct * tsk) > > { > > struct mm_struct *mm = tsk->mm; > > >

Re: mm_release() call in exit_mm() looks dangerous

2007-11-15 Thread Jesper Juhl
On 13/11/2007, Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Jesper Juhl wrote: In kernel/exit.c we have this code : static void exit_mm(struct task_struct * tsk) { struct mm_struct *mm = tsk-mm; mm_release(tsk, mm); if (!mm) return

Re: [PATCH] Let 'make help' output info about includecheck

2007-11-14 Thread Jesper Juhl
On 14/11/2007, WANG Cong <[EMAIL PROTECTED]> wrote: > On Mon, Nov 12, 2007 at 12:56:35AM +0100, Jesper Juhl wrote: > >From: Jesper Juhl <[EMAIL PROTECTED]> > > > >'make includecheck' is useful and we want people to run it, so > >let 'make help'

Re: [PATCH] Let 'make help' output info about includecheck

2007-11-14 Thread Jesper Juhl
On 14/11/2007, WANG Cong [EMAIL PROTECTED] wrote: On Mon, Nov 12, 2007 at 12:56:35AM +0100, Jesper Juhl wrote: From: Jesper Juhl [EMAIL PROTECTED] 'make includecheck' is useful and we want people to run it, so let 'make help' output information about its existence. Signed-off-by: Jesper

Re: [PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
On 12/11/2007, James Bottomley <[EMAIL PROTECTED]> wrote: > On Mon, 2007-11-12 at 01:13 +0100, Jesper Juhl wrote: > > On 12/11/2007, James Bottomley <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-11-12 at 00:24 +0100, Jesper Juhl wrote: > > >

Re: [PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
On 12/11/2007, James Bottomley <[EMAIL PROTECTED]> wrote: > On Mon, 2007-11-12 at 00:24 +0100, Jesper Juhl wrote: > > From: Jesper Juhl <[EMAIL PROTECTED]> > > > > in sas_get_phy_change_count(), the line > > disc_resp = alloc_smp_resp(DISCOVER_RES

[PATCH] Let 'make help' output info about includecheck

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> 'make includecheck' is useful and we want people to run it, so let 'make help' output information about its existence. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/Makefil

mm_release() call in exit_mm() looks dangerous

2007-11-11 Thread Jesper Juhl
In any case, what's currently there looks a little shaky.. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line "

[PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> in sas_get_phy_change_count(), the line disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); will allocate 56 bytes due to this define: #define DISCOVER_RESP_SIZE 56 But, the struct is actually 60 bytes in size. So change the

[PATCH] Fix memory leak in discard case of sctp_sf_abort_violation()

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl <[EMAIL PROTECTED]> In net/sctp/sm_statefuns.c::sctp_sf_abort_violation() we may leak the storage allocated for 'abort' by returning from the function without using or freeing it. This happens in case "sctp_auth_recv_cid(SCTP_CID_ABORT, asoc)" is

[PATCH] Fix memory leak in discard case of sctp_sf_abort_violation()

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] In net/sctp/sm_statefuns.c::sctp_sf_abort_violation() we may leak the storage allocated for 'abort' by returning from the function without using or freeing it. This happens in case sctp_auth_recv_cid(SCTP_CID_ABORT, asoc) is true and we jump to the 'discard

[PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] in sas_get_phy_change_count(), the line disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); will allocate 56 bytes due to this define: #define DISCOVER_RESP_SIZE 56 But, the struct is actually 60 bytes in size. So change the define

mm_release() call in exit_mm() looks dangerous

2007-11-11 Thread Jesper Juhl
currently there looks a little shaky.. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] Let 'make help' output info about includecheck

2007-11-11 Thread Jesper Juhl
From: Jesper Juhl [EMAIL PROTECTED] 'make includecheck' is useful and we want people to run it, so let 'make help' output information about its existence. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile

Re: [PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
On 12/11/2007, James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-11-12 at 00:24 +0100, Jesper Juhl wrote: From: Jesper Juhl [EMAIL PROTECTED] in sas_get_phy_change_count(), the line disc_resp = alloc_smp_resp(DISCOVER_RESP_SIZE); will allocate 56 bytes due to this define

Re: [PATCH] Fix problem with size of allocation in libsas

2007-11-11 Thread Jesper Juhl
On 12/11/2007, James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-11-12 at 01:13 +0100, Jesper Juhl wrote: On 12/11/2007, James Bottomley [EMAIL PROTECTED] wrote: On Mon, 2007-11-12 at 00:24 +0100, Jesper Juhl wrote: From: Jesper Juhl [EMAIL PROTECTED

Re: [PATCH 04/12] Clean up duplicate includes in arch/i386/xen/

2007-10-15 Thread Jesper Juhl
On 15/10/2007, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > This patch cleans up duplicate includes in > arch/i386/xen/ > Just for the record; this patch is From: Jesper Juhl <[EMAIL PROTECTED]> > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> > S

Re: [PATCH 04/12] Clean up duplicate includes in arch/i386/xen/

2007-10-15 Thread Jesper Juhl
On 15/10/2007, Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: This patch cleans up duplicate includes in arch/i386/xen/ Just for the record; this patch is From: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Jeremy Fitzhardinge [EMAIL

Re: - eepro100-avoid-potential-null-pointer-deref-in-speedo_init_rx_ring.patch removed from -mm tree

2007-10-02 Thread Jesper Juhl
ed. And IMHO, as long as the driver is in the tree it makes sense to apply fixes to it. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send

Re: - eepro100-avoid-potential-null-pointer-deref-in-speedo_init_rx_ring.patch removed from -mm tree

2007-10-02 Thread Jesper Juhl
is in the tree it makes sense to apply fixes to it. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] Remove an unused variable from the Intel I/OAT DMA engine driver

2007-09-16 Thread Jesper Juhl
-by: Jesper Juhl <[EMAIL PROTECTED]> --- ioatdma.c |1 - 1 file changed, 1 deletion(-) --- linux-2.6/drivers/dma/ioatdma.c~2007-09-16 23:24:20.0 +0200 +++ linux-2.6/drivers/dma/ioatdma.c 2007-09-16 23:24:20.0 +0200 @@ -244,7 +244,6 @@ stati

[PATCH] cifs: Fix a small memory leak in directory creation code.

2007-09-16 Thread Jesper Juhl
nfo'. This patch adds a kfree() call to free the storage just before jumping to the label, thus getting rid of the leak. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- inode.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-2.6/fs/cifs/inode.c~ 2007-09-16 23:01:52.

[PATCH] cifs: Fix a small memory leak in directory creation code.

2007-09-16 Thread Jesper Juhl
'. This patch adds a kfree() call to free the storage just before jumping to the label, thus getting rid of the leak. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- inode.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-2.6/fs/cifs/inode.c~ 2007-09-16 23:01:52.0

[PATCH] Remove an unused variable from the Intel I/OAT DMA engine driver

2007-09-16 Thread Jesper Juhl
-by: Jesper Juhl [EMAIL PROTECTED] --- ioatdma.c |1 - 1 file changed, 1 deletion(-) --- linux-2.6/drivers/dma/ioatdma.c~2007-09-16 23:24:20.0 +0200 +++ linux-2.6/drivers/dma/ioatdma.c 2007-09-16 23:24:20.0 +0200 @@ -244,7 +244,6 @@ static void ioat_dma_free_chan_resources

Re: [linux-kernel]how to get the latest kernel source tree?

2007-09-13 Thread Jesper Juhl
applying-patches.txt btw. http://lxr.linux.no/source/Documentation/applying-patches.txt -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this

Re: [linux-kernel]how to get the latest kernel source tree?

2007-09-13 Thread Jesper Juhl
-- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH] AMD 5536 UDC - Remove unneeded memset()

2007-09-12 Thread Jesper Juhl
In drivers/usb/gadget/amd5536udc.c::udc_pci_probe() - We allocate storage for 'dev' with kzalloc(), so it is already zero, no need for an extra memset(). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/usb/gadget/amd5536udc.c |1 - 1 files changed, 0 insertions

[PATCH] AMD 5536 UDC - Remove unneeded memset()

2007-09-12 Thread Jesper Juhl
In drivers/usb/gadget/amd5536udc.c::udc_pci_probe() - We allocate storage for 'dev' with kzalloc(), so it is already zero, no need for an extra memset(). Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- drivers/usb/gadget/amd5536udc.c |1 - 1 files changed, 0 insertions(+), 1 deletions

Re: Relevant mailing list

2007-09-06 Thread Jesper Juhl
l Newbies list may be what you are looking for - http://kernelnewbies.org/MailingList -- Jesper Juhl - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-i

Re: Relevant mailing list

2007-09-06 Thread Jesper Juhl
be what you are looking for - http://kernelnewbies.org/MailingList -- Jesper Juhl - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: Hang in 2.6.23-rc5

2007-09-02 Thread Jesper Juhl
ten help by producing extra valuable debug output (you need to be able to capture it though, so getting net/serial console setup as well is usually a good idea if the box hangs completely and you can't just get info by running dmesg). Kind regards, Jesper Juhl - To unsubscribe from this

Re: [-mm patchset] War on warnings

2007-09-02 Thread Jesper Juhl
On 02/09/07, Satyam Sharma <[EMAIL PROTECTED]> wrote: > > > On Sun, 2 Sep 2007, Jesper Juhl wrote: > > > > Thank you for doing this, I hope some of your patches get merged. > > > > Btw; it would be easier to see if one has got all the patches if you > &

Re: [PATCH -mm] sisusbvga: Fix bug and build warnings

2007-09-02 Thread Jesper Juhl
On 02/09/07, Satyam Sharma <[EMAIL PROTECTED]> wrote: > Hi Jesper, > > > On Sun, 2 Sep 2007, Jesper Juhl wrote: > > > > > - if (!(interface = usb_find_interface(_driver, subminor))) { > > > - dev_err(>sisusb_dev->dev, "

Re: [PATCH -mm] sisusbvga: Fix bug and build warnings

2007-09-02 Thread Jesper Juhl
40,10 +2440,8 @@ sisusb_open(struct inode *inode, struct > struct usb_interface *interface; > int subminor = iminor(inode); > > - if (!(interface = usb_find_interface(_driver, subminor))) { > - dev_err(>sisusb_dev->dev, "Failed to find &g

Re: [PATCH -mm] IPS SCSI driver: Check return of scsi_add_host()

2007-09-02 Thread Jesper Juhl
On Sunday 02 September 2007 22:13:49 Satyam Sharma wrote: > > drivers/scsi/ips.c: In function ‘ips_register_scsi’: > drivers/scsi/ips.c:6869: > warning: ignoring return value of ‘scsi_add_host’, declared with attribute > warn_unused_result > > scsi_add_host() is __must_check, so let's check

Re: [-mm patchset] War on warnings

2007-09-02 Thread Jesper Juhl
et merged. Btw; it would be easier to see if one has got all the patches if you numbered your patch series with the usual "[PATCH XX/YY]". -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please htt

[PATCH][Trivial] CIFS: Use ssleep() instead of msleep() when sleeping multiple seconds

2007-09-02 Thread Jesper Juhl
Hi, A little trivial thing... When sleeping for multiple seconds the function to use is ssleep() not msleep() - especially when there's a comment above reading "... wait at least 45 seconds ...", then ssleep() best describes what is wanted. Signed-off-by: Jesper Juhl <[EM

Re: [2/4] 2.6.23-rc4: known regressions

2007-09-02 Thread Jesper Juhl
re is no master any more, instead. That's the trade-off. > Shouldn't the goal be to have both? Multiple individual controls as well as a Master that adjusts them all. That would also solve Thomas' problem. As I see it you broke Thomas' setup and that in my book is a regression. -- Jesper Juhl <

Re: [2/4] 2.6.23-rc4: known regressions

2007-09-02 Thread Jesper Juhl
more, instead. That's the trade-off. Shouldn't the goal be to have both? Multiple individual controls as well as a Master that adjusts them all. That would also solve Thomas' problem. As I see it you broke Thomas' setup and that in my book is a regression. -- Jesper Juhl [EMAIL PROTECTED] Don't

[PATCH][Trivial] CIFS: Use ssleep() instead of msleep() when sleeping multiple seconds

2007-09-02 Thread Jesper Juhl
Hi, A little trivial thing... When sleeping for multiple seconds the function to use is ssleep() not msleep() - especially when there's a comment above reading ... wait at least 45 seconds ..., then ssleep() best describes what is wanted. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] --- fs

Re: [-mm patchset] War on warnings

2007-09-02 Thread Jesper Juhl
numbered your patch series with the usual [PATCH XX/YY]. -- Jesper Juhl [EMAIL PROTECTED] Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html - To unsubscribe from this list: send the line unsubscribe linux

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