Re: [PATCH] libata: Handle bay devices in dock stations

From: Tejun Heo
Date: Wed May 28 2008 - 23:09:19 EST


Andrew Morton wrote:
>> + if (ACPI_FAILURE(acpi_evaluate_object(handle, "_EJ0",
>> + &arg_list, NULL)))
>> + printk(KERN_ERR "Failed to evaluate _EJ0!\n");
>> +}
>
> It would be better if the printk were to self-identify where it is
> coming from. If your kernel just blurts "Failed to evaluate _EJ0!"
> it's a bit of a head-scratcher.
>
> "libata-acpi: failed to evaluate _EJ0", perhaps?

ata_port_printk() would be better.

Thanks.

--
tejun
--
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/