Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753294Ab3FRBPV (ORCPT ); Mon, 17 Jun 2013 21:15:21 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:53568 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752480Ab3FRBPS (ORCPT ); Mon, 17 Jun 2013 21:15:18 -0400 Message-ID: <51BFB499.9050302@huawei.com> Date: Tue, 18 Jun 2013 09:15:05 +0800 From: "Jiang Liu (Gerry)" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tejun Heo CC: Matthew Garrett , Aaron Lu , Liu Jiang , Liu Jiang , , Subject: Re: [PATCH] libata: remove dead code from libata-acpi.c References: <1371265368-7334-1-git-send-email-liuj97@gmail.com> <51BE6B5C.70803@intel.com> <20130617180151.GG32663@mtj.dyndns.org> In-Reply-To: <20130617180151.GG32663@mtj.dyndns.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.111.77.35] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1299 Lines: 34 On 2013/6/18 2:01, Tejun Heo wrote: > On Mon, Jun 17, 2013 at 09:50:20AM +0800, Aaron Lu wrote: >> On 06/15/2013 11:02 AM, Liu Jiang wrote: >>> From: Liu Jiang >>> >>> Commit 30dcf76acc69 "libata: migrate ACPI code over to new bindings" >>> removed ACPI dock notification related code, but there's some dead >>> code left, so clean up it. >> >> I never noticed this, but it looks to be the case... >> >> I'm not sure the dock notification code is removed intentionally or >> mistakenly though, if it is a mistake, then instead of removing the left >> code here, we probably should add the dock notification code back. >> >> But I have no test system or any knowledge about how ata dock works, so >> I may be wrong :-) > > Looks like a regression to me. We're probably locking up on some > older laptops which connects optical drives with hotpluggable PATA. > Matthew, can you please fix it? > > Thanks. > Yeah, Aaron is right. We should restore the dock notification handler to support ATA hotplug on some IBM laptops. Regards! Gerry -- 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/