Re: Kbuild change breaks the ppc64 build

2007-02-08 Thread Michal Ostrowski
Isn't the extra space there because you've included it in the definition of "test"? The attempt at introducing indentation introduces the extra space character. Defining test without the internal indentation should produce the results you are looking for. -- Michal Ostrowski <[EM

Re: Kbuild change breaks the ppc64 build

2007-02-08 Thread Michal Ostrowski
Isn't the extra space there because you've included it in the definition of test? The attempt at introducing indentation introduces the extra space character. Defining test without the internal indentation should produce the results you are looking for. -- Michal Ostrowski [EMAIL PROTECTED

BUG? [PATCH] driver core: Add the ability to bind drivers to devices from userspace

2005-08-17 Thread Michal Ostrowski
;echo" to write to a "bind" attribute, echo will continuously call write() trying to write to the attribute and always get 0 as a result and thus find itself in a loop trying to do the write. Perhaps the translation of -ENZIO to -ENODEV to success in driver_probe_device() is not approria

BUG? [PATCH] driver core: Add the ability to bind drivers to devices from userspace

2005-08-17 Thread Michal Ostrowski
to write to a bind attribute, echo will continuously call write() trying to write to the attribute and always get 0 as a result and thus find itself in a loop trying to do the write. Perhaps the translation of -ENZIO to -ENODEV to success in driver_probe_device() is not approriate here? -- Michal

[PATCH] rocket.c: Fix ldisc ref count handling

2005-07-14 Thread Michal Ostrowski
If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. --- Signed-off-by: Michal Ostrowski <[EMAIL PROTECTED]> drivers/char/ro

[PATCH] rocket.c: Fix ldisc ref count handling

2005-07-14 Thread Michal Ostrowski
If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count and causes release_dev() to hang since it can't get the ref count to 0. --- Signed-off-by: Michal Ostrowski [EMAIL PROTECTED] drivers/char/rocket.c

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-19 Thread Michal Ostrowski
do have space, we clone it. We always give dev_queue_xmit the copy/clone pointer and let it free it. We then kfree_skb the original skb depending on the return value of dev_queue_xmit (to conform to the expectations of ppp_generic). Michal Ostrowski [EMAIL PROTECTED] --- drivers/net/pppoe.c

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-19 Thread Michal Ostrowski
we would have to always copy skb's inside pppoe_xmit. Then, if dev_queue_xmit fails the original is deleted. In the common case dev_queue_xmit will not fail, and so in that case I'd like to have to avoid making a copy of the skb. Michal Ostrowski [EMAIL PROTECTED] - To unsubscribe from this lis

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-19 Thread Michal Ostrowski
. In the common case dev_queue_xmit will not fail, and so in that case I'd like to have to avoid making a copy of the skb. Michal Ostrowski [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH] PPPOE can kfree SKB twice (was Re: kernel panic problem. (smp, iptables?))

2001-07-19 Thread Michal Ostrowski
do have space, we clone it. We always give dev_queue_xmit the copy/clone pointer and let it free it. We then kfree_skb the original skb depending on the return value of dev_queue_xmit (to conform to the expectations of ppp_generic). Michal Ostrowski [EMAIL PROTECTED] --- drivers/net/pppoe.c

Re: Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
ey pointed out a much nicer/correct/elegant/efficient solution to this problem and I think that that's the way to go. New patch below. Michal Ostrowski [EMAIL PROTECTED] --- drivers/net/pppoe.c~Tue Mar 6 22:44:35 2001 +++ drivers/net/pppoe.c Mon May 14 14:10:49 2001 @@ -5,7 +5,7 @@

Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
ase_sock releases the socket spinlock before calling sk->backlog_rcv() (== tcp_v4_do_rcv), however the comments at the top of tcp_v4_do_rcv() assert that the socket's spinlock is held (which is definitely not the case). Anybody care to comment on this? Michal Ostrowski [EMAIL PROTECTED] ---

Re: Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
/correct/elegant/efficient solution to this problem and I think that that's the way to go. New patch below. Michal Ostrowski [EMAIL PROTECTED] --- drivers/net/pppoe.c~Tue Mar 6 22:44:35 2001 +++ drivers/net/pppoe.c Mon May 14 14:10:49 2001 @@ -5,7 +5,7 @@ * PPPoE --- PPP over Ethernet

Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
of tcp_v4_do_rcv() assert that the socket's spinlock is held (which is definitely not the case). Anybody care to comment on this? Michal Ostrowski [EMAIL PROTECTED] --- drivers/net/pppoe.c~Tue Mar 6 22:44:35 2001 +++ drivers/net/pppoe.c Mon May 14 08:24:06 2001 @@ -5,7 +5,7 @@ * PPPoE --- PPP

pppoe and pppox circular dependencies in test9

2000-10-09 Thread Michal Ostrowski
Meelis Roos writes: > 2.4.0-test9 > modules.dep reports that pppox needs pppoe and pppoe needs pppox. > modprobe pppo(e|x) segfaults (out of memory???). > A fix has been submitted. If you need a quick fix, do not compile as a module, or remove line 158 of pppox.c. Michal Ostr

pppoe and pppox circular dependencies in test9

2000-10-09 Thread Michal Ostrowski
Meelis Roos writes: 2.4.0-test9 modules.dep reports that pppox needs pppoe and pppoe needs pppox. modprobe pppo(e|x) segfaults (out of memory???). A fix has been submitted. If you need a quick fix, do not compile as a module, or remove line 158 of pppox.c. Michal Ostrowski [EMAIL