Re: Big patch: linux-2.5.2-pre11/drivers/scsi compilation fixes

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 11 Jan 2002 14:42:03 +0000 (GMT)


> + if (!atomic_dec_and_test(&main_running)) {
> NCR5380_main();

This change is not required

> /* Run the coroutine if it isn't already running. */
> + spin_unlock_irq(&instance->host_lock);
> run_main();
> + spin_lock_irq(&instance->host_lock);

This hangs the machine recursively re-entering under load.

I specifically told people not to hack on the old NCR5380 driver. You've
taken a semi broken driver, destroyed it completely and risked disk corruption
for anyone who uses it.

What really annoys me is that I've already asked you specifically not to
submit patches to that driver but to take the 2.4.18pre version of the
driver and port that one forward if you must fiddle with it. Instead you've
wasted your time, and tried to make the future merge harder.

Its absolutely obvious from the changes that you have no grasp how the
locking in that driver is handled, nor what it depends upon. If you had
understood that locking you'd have realised you were hacking on a driver
version that was totally flawed.

How many other maintainers have you ignored trying to send in untested
patches to their drivers ?

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/