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 Ostrows

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

2005-08-17 Thread Michal Ostrowski
t;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 app

[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/ch

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

2001-07-19 Thread Michal Ostrowski
ing. If we 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/n

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

2001-07-19 Thread Michal Ostrowski
eric 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 unsubscrib

Re: Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
gt; Alexey 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 @@

Scheduling in interrupt BUG. [Patch]

2001-05-14 Thread Michal Ostrowski
ures for tcp may be wrong. __release_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?

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