Re: VESAFB CUSTOM RESOLUTION

2007-07-17 Thread Jesper Juhl
ething like this? vga=0x360 video=vesafb:mtrr,[EMAIL PROTECTED] -- 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 &qu

Re: howto create partitions bigger than 2TB

2007-07-17 Thread Jesper Juhl
rted) mklabel gpt (parted) mkpart p 0 100% (parted) quit mkreiserfs /dev/sdb1 ...and all seems to work. Why not simply mkreiserfs /dev/sdb and forget about partitions entirely? -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain tex

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Jesper Juhl
On 17/07/07, Bodo Eggert <[EMAIL PROTECTED]> wrote: On Tue, 17 Jul 2007, Jesper Juhl wrote: > Please note that I was not trying to remove the 8K stack option right > now - heck, I didn't even add anything to feature-removal-schedule.txt > - all I wanted to accomplish with th

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Jesper Juhl
nudge towards getting 4K stacks into a shape where we can eventually start considering 8K removal. -- 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

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Jesper Juhl
emoval-schedule.txt stating that the 8K option would go away in 6, 12 or whatever, months. That was my intention with the patch I posted, I never intended to rip out 8K stacks anytime *soon*. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/htm

Re: - isapnp-remove-pointless-check-of-type-against-0-in-isapnp_read_tag.patch removed from -mm tree

2007-07-16 Thread Jesper Juhl
atch This patch was dropped because it was merged into mainline or a subsystem tree -- Subject: isapnp: remove pointless check of 'type' against 0 in isapnp_read_tag() From: Jesper Juhl <[EMAIL PROTECTED]> In drivers/pnp/isapnp

[PATCH][RFC] Semi-pointless NULL test in uli526x driver

2007-07-16 Thread Jesper Juhl
case this patch actually fixes a possible crash (hence the version number update). So I guess that in this case we should just move the "db = netdev_priv(dev)" assignment past that NULL test. That's what this patch does. Found by the Coverity checker. Compile tested. PS. Please k

[PATCH] Remove pointless conditional in drivers/usb/serial/io_ti.c::edge_shutdown()

2007-07-16 Thread Jesper Juhl
) and kfree() can handle being passed NULL pointers. This patch removes the pointless conditional (and also makes a few tiny style corrections now that I was in the area anyway). Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/usb/serial/io_ti.c | 10 -- 1 files chang

[PATCH] Fix memory leak in dm_create_persistent() when starting metadata update thread fails.

2007-07-16 Thread Jesper Juhl
If, in dm_create_persistent(), the call to create_singlethread_workqueue() fails then we'll return without freeing the memory allocated to 'ps', thus leaking sizeof(struct pstore) bytes. This patch fixes the leak. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED] --- diff --g

Re: Ask for help, about the trivial patches.

2007-07-15 Thread Jesper Juhl
On 15/07/07, TripleX Chung <[EMAIL PROTECTED]> wrote: Jesper Juhl wrote: > Note: my explanations below are based on how I understand these > things, but I'm not the trivial patch monkey nor did I help create > these guidelines, so I'm in no way authoritative on the

Re: scsi0: Unexpected busfree while idle - Adaptec 29160N Ultra160 SCSI adapter

2007-07-14 Thread Jesper Juhl
On 09/07/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: I just experienced a long hang and a lot of unpleasant messages in dmesg while building randconfig kernels in a loop. It just happened again without me doing anything special, just normal desktop use, surfing the net, reading email etc

Re: Ask for help, about the trivial patches.

2007-07-13 Thread Jesper Juhl
trivial patch monkey, then it's accepted as OK. Please give me some advice. Thanks in advance. I hope the above make things a little clearer. :-) -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, pleas

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-12 Thread Jesper Juhl
On 13/07/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Jesper Juhl wrote: > If, on the other hand, we consider 4K stacks to be the superior > solution, then we should work to get all code fixed to be able to > handle it so that it's actually something distros will start

Re: test [IGNORE]

2007-07-12 Thread Jesper Juhl
er, not a test message, in an editor, saving the body of the letter in the off chance your post doesn't succeed. Then post your letter to lkml. Please remember that there are quite a number of subscribers, and it will take a while for your letter to be reflected back to you. An hour is not too

Re: [PATCH] 2.6.22 - Documentation Cleanup

2007-07-12 Thread Jesper Juhl
p] @@ -10,10 +10,11 @@ cpu. This is not ideal and leads to code duplication i.e. Linux now has 4 s/cpu/CPU/ ? [snip] -- 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/n

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-12 Thread Jesper Juhl
On 12/07/07, Ray Lee <[EMAIL PROTECTED]> wrote: On 7/11/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: > I'm wondering if it's time to make 4K stacks the default and to start > considering removing the 8K stack option alltogether soon? Why? Leaving the option for 8k stac

Quite trivial patches listed as needing re-review? (was: Re: -mm merge plans for 2.6.23)

2007-07-11 Thread Jesper Juhl
review. [snip] Can't speak for all the other patches, but the 3 listed above are quite trivial and hardly touch any code at all. I'm wondering why they are not just pushed upstream, but instead listed as "subject to re-review" ? Am I supposed to do anything to get them merged

[PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-11 Thread Jesper Juhl
fter a while of this being in effect we could remove the option of a 8K stack alltogether. What say you? Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/i386/Kconfig.debug |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/i386/Kconfig.debug b/arch/i38

[PATCH] fix a potential NULL pointer deref in XFS on failed mount.

2007-07-11 Thread Jesper Juhl
ing the proper xfs_blkdev_put(logdev); and xfs_blkdev_put(rtdev); on (!mp->m_rtdev_targp) in xfs_mount(). Compile tested. Comments and feedback welcome. Please consider merging. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- fs/xfs/xfs_mount.c |2 +- fs/xfs/xfs_vfsops.c | 10

Re: Gmail and flowed text (was Re: Correction to LZO1X)

2007-07-11 Thread Jesper Juhl
o allow you to use gmails SMTP/POP feature with a different MUA so you don't have to use the web interface. 2) If you have a box available at home (or elsewhere), use that to relay mail through. 3) Use attachments for patches (sucks, but you may have to). -- Jesper Juhl <[EMAIL PROTECTED]

Re: [ck] Re: -mm merge plans for 2.6.23

2007-07-11 Thread Jesper Juhl
nks 2 (http://links.twibright.com/) has a graphical mode in addition to the traditional text only mode (links -g) and the memory footprint is really tiny. -- 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: [PATCH v2 -mm 4/9] netconsole: Add some useful tips to documentation

2007-07-11 Thread Jesper Juhl
Why not mention all the various methods, dmesg -n, /proc/sys/kernel/printk, SysRq, ignore_loglevel ?? -- 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 unsu

Re: [PATCH v2 -mm 4/9] netconsole: Add some useful tips to documentation

2007-07-10 Thread Jesper Juhl
people to set their console log level to something useful, as > having that set too low is the most common problem people encounter. How about this? From: Satyam Sharma <[EMAIL PROTECTED]> Add some useful general-purpose tips. Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]>

Re: BUG: kernel crash report, odd...

2007-07-09 Thread Jesper Juhl
Forgot a few things, see below... On 10/07/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: On 10/07/07, Charles Shannon Hendrix <[EMAIL PROTECTED]> wrote: > > A system I was using a few minutes ago dumped this to the syslog: > > Jul 9 17:50:38 daydream kernel: [76022.61300

Re: BUG: kernel crash report, odd...

2007-07-09 Thread Jesper Juhl
es be able to get some info (or just sync the disks and do a reboot) via magic sysrq. -- 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 l

Re: Linux 2.6.22 released

2007-07-08 Thread Jesper Juhl
ogs, and don't use git? git rules. It's a fantastic tool - anyone wanting the full details should use it. Let me know how you feel. And test the actual release out too, of course! Running 2.6.22-rc7-g4e99325b atm :) -- Jesper Juhl <[EMAIL PROTECTED]> - To unsubscribe from

[PATCH] fixup binutils printing from scripts/ver_linux

2007-07-08 Thread Jesper Juhl
]:~/kernel/linux-2.6$ scripts/ver_linux ... binutils 2.17.50.0.17.20070615 ... Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- scripts/ver_linux |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/ver_linux b/scripts/ver_linux index 7

ERROR: "ROOT_DEV" [drivers/mtd/maps/nettel.ko] undefined!

2007-07-08 Thread Jesper Juhl
onfig that caused this is attached. (PS. when replying from the linux-mtd list, please keep me on Cc since I'm not subscribed) -- 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://

cfi_interleave undefined build error

2007-07-08 Thread Jesper Juhl
ed! ERROR: "cfi_interleave" [drivers/mtd/chips/cfi_cmdset_0002.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 The config file that resulted in this is attached. (PS. when replying from the linux-mtd list, please keep me on Cc since I'm not subscribed) -- Jes

Re: Understanding I/O behaviour

2007-07-08 Thread Jesper Juhl
On 05/07/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: On 05/07/07, Martin Knoblauch <[EMAIL PROTECTED]> wrote: > Hi, > > for a customer we are operating a rackful of HP/DL380/G4 boxes that > have given us some problems with system responsiveness under [I/O > trigg

Re: [PATCH] Some love to default profiler

2007-07-08 Thread Jesper Juhl
On 08/07/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Thu, Jul 05, 2007 at 01:50:27AM +0200, Jesper Juhl wrote: > On 04/07/07, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: >> 1) Drop __KERNEL__ out of profile.h. It contains only internal kernel >> stuff and >>

Re: [PATCH 2/2] vsprintf.c: optimizing, part 2: base 10 conversion speedup, v2

2007-07-06 Thread Jesper Juhl
r real name (sorry, no pseudonyms or anonymous contributions.) Some people also put extra tags at the end. They'll just be ignored for now, but you can do this to mark internal company procedures or just point out some special detail about the sign-off. " -- Jesper Juhl <[EMAIL

Re: kill -9?

2007-07-05 Thread Jesper Juhl
kill -9 shouldn't normally be needed - it is for emergency termination of the app, which is why you can't catch 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

Re: Linux SMP Porting Guide

2007-07-05 Thread Jesper Juhl
erhaps if you had a more specific question about some specific issue/problem it would be easier to help you... -- 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

Re: Understanding I/O behaviour

2007-07-05 Thread Jesper Juhl
nd the system is going crazy trying to write it all out. Perhaps trying out a different elevator would also be worthwhile. -- 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: [git pull][resend] Input updates for 2.6.22-rc7

2007-07-05 Thread Jesper Juhl
cause Kmail messed up. Yeah, email is old, and there are too many ways to do things, too many conflicting RFC's, compeeting commercial implementations etc etc etc - the whole thing could do with a from-scratch re-implementation (as if that's going to happen)... -- Jesper Juhl

Re: [-mm Patch] INFINIBAND: check the return value of kmalloc

2007-07-05 Thread Jesper Juhl
: WANG Cong <[EMAIL PROTECTED]> Date: Thu Jul 5 14:40:32 2007 -0700 RDMA/cxgb3: Check return of kmalloc() in iwch_register_device() Signed-off-by: WANG Cong <[EMAIL PROTECTED]> [ Also remove cast from void * return of kmalloc() as suggested by Jesper Juhl <[EMAIL

Re: Understanding I/O behaviour

2007-07-05 Thread Jesper Juhl
promise for you, but just to see if there's any effect at all, start out with CONFIG_PREEMPT + CONFIG_HZ_1000. Hope that helps. (PS. please don't do crap like using that spamtrap@ address and have people manually replace it with the one from your .signature when posting on LKML - it's an

[PATCH][Trivial] fix tiny spelling error in comment in cfi_cmdset_0001.c

2007-07-04 Thread Jesper Juhl
Trivial fix of a spelling error in a comment in cfi_cmdset_0001.c s/ships/chips/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/mtd/chips/cfi_cmdset_0001.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drive

Re: [-mm Patch] INFINIBAND: check the return value of kmalloc

2007-07-04 Thread Jesper Juhl
dev->ibdev.iwcm->connect = iwch_connect; dev->ibdev.iwcm->accept = iwch_accept_cr; dev->ibdev.iwcm->reject = iwch_reject_cr; -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only

Re: [PATCH] Some love to default profiler

2007-07-04 Thread Jesper Juhl
inline void profile_hit(int type, void *ip) +{ +} +static inline void profile_munmap(unsigned long addr) +{ +} +static inline void profile_task_exit(struct task_struct *tsk) +{ +} +static inline int profile_handoff_task(struct task_struct *tsk) +{ + return 0; +} [snip] -- Jesper Juhl <[EMA

[PATCH][isapnp] Remove pointless check of 'type' against 0 in isapnp_read_tag()

2007-07-04 Thread Jesper Juhl
On Wednesday 04 July 2007 03:04:13 Jesper Juhl wrote: > On 03/07/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Sun, 1 Jul 2007 01:38:31 +0200 > > > > Jesper Juhl <[EMAIL PROTECTED]> wrote: > > > The Coverity checker spotted (as bug #809) that

Re: Forcibly remove broken disk from LV

2007-07-04 Thread Jesper Juhl
On 04/07/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: On 04/07/07, Turbo Fredriksson <[EMAIL PROTECTED]> wrote: > I have a disk that only gives SCSI errors etc which > I want to remove from the VG. But vgreduce only hangs > and so does pvremove... > > If I physically re

Re: Forcibly remove broken disk from LV

2007-07-04 Thread Jesper Juhl
ork (claims that it can't find any PV's etc). So how do I remove the disk? vgreduce --removemissing should do the trick I'd say. -- 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: [PATCH][Documentation][resend] Add missing files and dirs to 00-INDEX in Documentation/

2007-07-03 Thread Jesper Juhl
On 03/07/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sun, 1 Jul 2007 01:05:59 +0200 Jesper Juhl <[EMAIL PROTECTED]> wrote: > This patch adds descriptions for a number of missing files and directories > to the Documentation/00-INDEX file. > People really should learn to

Re: [PATCH][isapnp] Fix a potential NULL pointer dereference in isapnp_read_tag()

2007-07-03 Thread Jesper Juhl
On 03/07/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sun, 1 Jul 2007 01:38:31 +0200 Jesper Juhl <[EMAIL PROTECTED]> wrote: > The Coverity checker spotted (as bug #809) that we dereference 'type' > long before we actually test it against NULL in > drivers/pnp

Re: why does git perpetually complain about include/asm-blackfin/macros.h?

2007-07-02 Thread Jesper Juhl
.000 > $ I have the same problem. git 1.5.0.6 on Fedora Core 5 or 6. I even tried a completely fresh clone, but the problem still appears. I've seen that as well, but in my case doing a $ git reset --hard master fixed it. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post

Re: [PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-07-01 Thread Jesper Juhl
On 02/07/07, David Chinner <[EMAIL PROTECTED]> wrote: On Sun, Jul 01, 2007 at 01:16:51AM +0200, Jesper Juhl wrote: > (this is back from May 16 2007, resending since it doesn't look like > the patch ever made it in anywhere) http://oss.sgi.com/cgi-bin/cvsweb.cgi/lin

[PATCH][isapnp] Fix a potential NULL pointer dereference in isapnp_read_tag()

2007-06-30 Thread Jesper Juhl
against NULL and the return of -1, this will blow up is ever type is NULL. This is easy to fix by simply moving the NULL test to the beginning of the function. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/pnp/isapnp/core.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH][XFS][resend] memory leak; allocated transaction not freed in xfs_inactive_free_eofblocks() in failure case.

2007-06-30 Thread Jesper Juhl
x27; is !=0 and xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, 0); happens to return an error, we'll just return from the function without dealing with the memory allocated byxfs_trans_alloc() and assigned to 'tp', thus it'll be orphaned/leaked - not good. Signed-off-by: Jesper Ju

[PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-06-30 Thread Jesper Juhl
x27;tp', thus it'll be orphaned/leaked - not good. The bug was introduced by this commit: http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d3cf209476b72c83907a412b6708c5e498410aa7 The patch below is From: Dave Chinner <[EMAIL PROTECTED]> Signed-off-by:

[PATCH][Documentation][resend] Add missing files and dirs to 00-INDEX in Documentation/

2007-06-30 Thread Jesper Juhl
oving documentation... Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- Documentation/00-INDEX | 142 +--- 1 files changed, 133 insertions(+), 9 deletions(-) diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX index f08ca95..8b05636 1

[PATCH][ISDN][resend] Guard against a potential NULL pointer dereference in old_capi_manufacturer()

2007-06-30 Thread Jesper Juhl
s bug #402) Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/isdn/capi/kcapi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 3ed34f7..3f9e962 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/driver

[PATCH][ISDN][resend] fix possible NULL deref on low memory condition in capidrv.c::send_message()

2007-06-30 Thread Jesper Juhl
e and just return rather than bring down the whole kernel. Sure, doing this may upset some application, but that's still better than crashing the whole system. (ps. please Cc me on replies from the isdn4linux list since I'm not subscribed there) Signed-off-by: Jesper Juhl &l

Re: Assistance debugging a Micrel network driver

2007-06-29 Thread Jesper Juhl
tionally, if anyone has any idea what might be happening, I would greatly appreciate any information. You could start by publishing your complete source code. That would make it a lot more likely that people can help you spot and fix problems. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-p

Re: updated sbpcd.c

2007-06-29 Thread Jesper Juhl
On 29/06/07, Eberhard Moenkeberg <[EMAIL PROTECTED]> wrote: Hi, On Fri, 29 Jun 2007, Surya Prabhakar N wrote: > > Hi emoenke, >Can this patch be verified and pulled into your tree. > > thanks. > Surya. Jesper Juhl should ack it (if), and Jens Axboe would be the

Re: [PATCH]: check_region cleanup in sbpcd.c

2007-06-25 Thread Jesper Juhl
On 12/06/07, Surya <[EMAIL PROTECTED]> wrote: [snip] > I am sending with all the corrections, if its ok to acknowledge it? Looks good to me. Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]> Reviewed-by: Jesper Juhl <[EMAIL PROTECTED]> -- Jesper Juhl <[EMAIL PR

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Jesper Juhl
On 26/06/07, Roman Zippel <[EMAIL PROTECTED]> wrote: Hi, On Mon, 25 Jun 2007, Jesper Juhl wrote: > > On Monday 25 June 2007, Ingo Molnar wrote: > > > > > the patch improves the sysbench OLTP macrobenchmark significantly: > > > > Has that any real practic

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Jesper Juhl
rmance for any program using the time() system call, with no real drawbacks, so why wouldn't we want to use 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 -

Re: [PATCH] Avoid potential NULL deref in scripts/genksyms/lex.l

2007-06-24 Thread Jesper Juhl
On 25/06/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Mon, 25 Jun 2007 00:02:03 +0200 "Jesper Juhl" <[EMAIL PROTECTED]> wrote: > > > + if (!file || !e) > > > + exit(1); > > >*e = '\0'; > >

[PATCH][ISDN] fix possible NULL deref on low memory condition in capidrv.c::send_message()

2007-06-24 Thread Jesper Juhl
Sure, doing this may upset some application, but that's still better than crashing the whole system. (ps. please Cc me on replies from the isdn4linux list since I'm not subscribed there) Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/isdn/capi/capidrv.c |5

Re: 2.6.22-rc5: pdflush oops under heavy disk load

2007-06-24 Thread Jesper Juhl
cause an Oops. -- 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

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-24 Thread Jesper Juhl
:p usually. When it comes to getting patches into mainline, asking twice (or more) is sometimes required, and it's considered your responsability as submitter to resend a patch if noone reacts to it the first time around. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb

[PATCH] Guard against a potential NULL pointer dereference in old_capi_manufacturer()

2007-06-24 Thread Jesper Juhl
In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call to get_capi_ctr_by_nr(ldef.contr); in line 823 returns NULL, then we'll be dereferencing a NULL pointer in the very next line. (Found by Coverity checker as bug #402) Signed-off-by: Jesper Juhl <[EMAIL P

Re: [PATCH] Avoid potential NULL deref in scripts/genksyms/lex.l

2007-06-24 Thread Jesper Juhl
On 24/06/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sun, 24 Jun 2007 23:40:03 +0200 Jesper Juhl <[EMAIL PROTECTED]> wrote: > strchr() returns NULL in case the string is not found and if that > happens we risk dereferencing a NULL pointer. It never hurts to > check f

[PATCH] Avoid potential NULL deref in scripts/genksyms/lex.l

2007-06-24 Thread Jesper Juhl
owing whatever else is in that file) Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- scripts/genksyms/lex.l|2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/scripts/genksyms/lex.l b/scripts/genksyms/lex.l index 5e544a0..28edc0c 100644 --- a/scripts/genksyms/

Re: Question about fair schedulers

2007-06-24 Thread Jesper Juhl
in the "Command: " field prefix the command used to launch the application with 'nice' and the priority you want, save your changes and the next time you launch that app it'll get the priority you wish. Gnome and most other environments also have similar capabilities. -- J

Re: How innovative is Linux?

2007-06-23 Thread Jesper Juhl
no longer updated): http://kerneltraffic.org/ And then you have list archives like : http://lkml.org/ http://marc.info/?l=linux-kernel http://www.uwsg.iu.edu/hypermail/linux/kernel/index.html -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-21 Thread Jesper Juhl
On 22/06/07, Alexandre Oliva <[EMAIL PROTECTED]> wrote: On Jun 21, 2007, "Jesper Juhl" <[EMAIL PROTECTED]> wrote: > On 21/06/07, Alexandre Oliva <[EMAIL PROTECTED]> wrote: > [snip] >> >> BTW, I should probably have made clear that, as usual, I was s

Re: Please release a stable kernel Linux 3.0

2007-06-21 Thread Jesper Juhl
On 22/06/07, Zoltán HUBERT <[EMAIL PROTECTED]> wrote: On Friday 22 June 2007 00:29, Jesper Juhl wrote: > > You might think it's easy for me to simply "use" Linux > > and complain while you're doing the hard stuff. As it > > happens, the current de

Re: Please release a stable kernel Linux 3.0

2007-06-21 Thread Jesper Juhl
opment" branches. And it would certainly help vendors of closed-source drivers. If they want to keep their drivers closed they get to do all the hard work of tracking kernel API changes. Their choice, their problem. I don't think you'll find very many people on this list who gives

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-21 Thread Jesper Juhl
bit here, along with posting from a @redhat.com email addr. -- 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 "u

Re: [PATCH] bracing the loop in kernel/softirq.c

2007-06-21 Thread Jesper Juhl
On 21/06/07, Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: [Jesper Juhl - Wed, Jun 20, 2007 at 11:01:44PM +0200] | From: Jesper Juhl <[EMAIL PROTECTED]> | To: Cyrill Gorcunov <[EMAIL PROTECTED]> | Cc: LKML | Subject: Re: [PATCH] bracing the loop in kernel/softirq.c | Date: Wed,

Re: scripts/checkpatch.pl refers to non-existent Documentation/Documentation/volatile-considered-harmful.txt

2007-06-20 Thread Jesper Juhl
ight thing to do here is, since I assume we do ultimately want something of the sort in Documentation... That document is in the -mm kernel currently. As soon as it hits mainline from there checkpatch.pl will be right :-) -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www

Re: [PATCH] bracing the loop in kernel/softirq.c

2007-06-20 Thread Jesper Juhl
not unnecessarily use braces where a single statement will do. if (condition) action(); " -- 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 unsu

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-20 Thread Jesper Juhl
On 18/06/07, Alexandre Oliva <[EMAIL PROTECTED]> wrote: On Jun 17, 2007, "Jesper Juhl" <[EMAIL PROTECTED]> wrote: > On 17/06/07, Alexandre Oliva <[EMAIL PROTECTED]> wrote: > [snip] >> Serious, what's so hard to understand about: >> no tivo

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-20 Thread Jesper Juhl
SD or proprietary software. That means *we* lose bigtime. -- 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 "unsu

Re: [PATCH] clarify the GPL version of contributions by Jesper Juhl in CREDITS

2007-06-19 Thread Jesper Juhl
On 18/06/07, Paul Mundt <[EMAIL PROTECTED]> wrote: On Mon, Jun 18, 2007 at 02:33:02AM +0200, Jesper Juhl wrote: > Just to make things clear in the light of recent discussions. > Stuff I contribute to the Linux kernel are licensed under the terms of the > GPL version 2. > >

Re: Machine Check Exception: 0...04

2007-06-17 Thread Jesper Juhl
ot syncing: Unable to continue > > An MCE is an error reported by the hardware. It is most likely not a software problem, not much kernel people can do about it. Google for "parsemce.c" to find a program that'll decode most MCE's for you. You may also want to contact your

[PATCH] clarify the GPL version of contributions by Jesper Juhl in CREDITS

2007-06-17 Thread Jesper Juhl
Just to make things clear in the light of recent discussions. Stuff I contribute to the Linux kernel are licensed under the terms of the GPL version 2. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- CREDITS |1 + 1 files changed, 1 insertions(+), 0 del

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-17 Thread Jesper Juhl
d rather have the few benefits we get from some company using GPL'ed software in tivoized hardware than get nothing at all because the GPLv3 drives that company into the arms of some proprietary vendor. -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/ja

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-16 Thread Jesper Juhl
the hardware and fix problems for the user. The user loses. -- 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: [-mm patch] #if 0 mm/backing-dev.c:congestion_wait_interruptible()

2007-06-15 Thread Jesper Juhl
On 13/06/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Tue, Jun 12, 2007 at 02:40:06PM +0200, Jesper Juhl wrote: > On 12/06/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: >> congestion_wait_interruptible() is no longer used. >> > Remind me again why it is that we add al

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Jesper Juhl
the file, then only the author has any rights, you can't just then move in and assign an arbitrary license. But I think you would find it very hard to argue that files contributed to the Linux kernel without an explicit license notice does not fall under the terms set forth in the COPYING do

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Jesper Juhl
On 15/06/07, Nicolas Mailhot <[EMAIL PROTECTED]> wrote: Le Ven 15 juin 2007 12:53, Jesper Juhl a écrit : > On 15/06/07, Nicolas Mailhot <[EMAIL PROTECTED]> wrote: >> >> > by your argument, the user has some "right to modify the >> software", on >

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Jesper Juhl
morally the way things should be, you may think its unfair, but that's all irrelevant. Fact is, the hardware manufacturer is in its full right to lock you out of their hardware, as long as they have supplied you with the source code to the GPLv2 software that is running on the hardware - w

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Jesper Juhl
s having the source with the same rights to modify it and distribute it. And no, the right to modify your copy of the source does not also mean you *have to* be able to install it on the hardware it was originally designed for - it only means you have the right to modify it and redistribute it. -

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Jesper Juhl
the law... Anway, the whole point of my post was mainly to /try/ and say that the GPL gives you a right to obtain source code for modifications, but it doesn't say anything about being able to run a compiled version of that source on any specific hardware. -- Jesper Juhl <[EMAIL PROTEC

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-14 Thread Jesper Juhl
to create a product superiour to theirs. All quite valid reasons in my opinion. -- 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 l

Re: Random X lockup

2007-06-14 Thread Jesper Juhl
p as they are the only people who will be able to help you with problems involving their closed driver. -- 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 uns

Re: [PATCH] fix memory leak in UBI scanning unit

2007-06-12 Thread Jesper Juhl
On 10/05/07, Artem Bityutskiy <[EMAIL PROTECTED]> wrote: On Thu, 2007-05-10 at 00:26 +0200, Jesper Juhl wrote: > In drivers/mtd/ubi/scan.c::paranoid_check_si() there's a memory leak. > If the call > err = ubi_io_is_bad(ubi, pnum); > returns <0, then we'll re

Re: [-mm patch] #if 0 mm/backing-dev.c:congestion_wait_interruptible()

2007-06-12 Thread Jesper Juhl
at a later time, seems like pointless churn to me. If the code needs to go, let's just get rid of it in one go instead of two. -- 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.

Re: [PATCH]: complete cleanup of check_region

2007-06-11 Thread Jesper Juhl
his email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com Please tell your mail client not to include crap like that when sending to public mailing lists. -- Jesper Juhl <[EMAIL PR

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-10 Thread Jesper Juhl
debate is still a bit premature since GPL v3 has not even arrived in its final form yet. -- 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 thi

[PATCH] Remove unneeded test of 'task' in dump_trace()

2007-06-10 Thread Jesper Juhl
Remove unneeded test of task != NULL from arch/i386/kernel/traps.c::dump_trace() At the start of the function we have this test: if (!task) task = current; so further down there's no need to test 'task'. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-10 Thread Jesper Juhl
date them. It would then be a seperate project to generate translations and keep them updated according to what's in the tree. Perhaps we could get the kernel.org people to create an official space for that and then place a pointer to that site in Documentation/ somewhere. -- Jesper Juh

Re: Rules on how to use sysfs in userspace programs

2007-06-09 Thread Jesper Juhl
ifferent rules to access the I believe that should be "rules on how to access the". information. It is planned to merge all three classification-directories into one place at /sys/subsystem/, following the current layout of the bus-directories. All buses and classes, includ

Re: [PATCH] update checkpatch.pl to version 0.03

2007-06-08 Thread Jesper Juhl
/sound/pci/ice1712/prodigy192.c:UTF-8 Unicode C program text ./sound/pci/mixart/mixart.c: UTF-8 Unicode C program text -- Jesper Juhl <[EMAIL PROTECTED]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails o

Some ATARI config option confusion

2007-06-07 Thread Jesper Juhl
y config symbol 'KEYBOARD_ATARI' refers to undefined symbol 'ATARI_KBD_CORE' drivers/input/mouse/Kconfig:182:warning: 'select' used by config symbol 'MOUSE_ATARI' refers to undefined symbol 'ATARI_KBD_CORE' ... -- Jesper Juhl <[EMAIL PROTECTED]> Don'

Re: [PATCH] intel-rng: Undo mess made by an 80 column extremist

2007-06-07 Thread Jesper Juhl
so that when it is maximized it is very close to a 80x25 window (actually it is 82x31 with a size 18 font). Nice and readable, if I make the font any smaller to fit more cols/rows then the text gets too small and my eyes hurt. Reading kernel code formatted for 80cols fits perfectly for me. -- Je

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