Re: [PATCH] libata-eh: Remove layering violation and duplicationwhen handling absent ports

From: Jeff Garzik
Date: Tue Sep 26 2006 - 13:36:04 EST


Alan Cox wrote:
This removes the layering violation where drivers have to fiddle
directly with EH flags. Instead we now recognize -ENOENT means "no port"
and do the handling in the core code.

This also removes an instance of a call to disable the port, and an
identical printk from each driver doing this. Even better - future rule
changes will be in one place only.

Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

applied, but please stop adding trailing whitespace


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