Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753793Ab3GIIS2 (ORCPT ); Tue, 9 Jul 2013 04:18:28 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:25705 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753649Ab3GIISZ (ORCPT ); Tue, 9 Jul 2013 04:18:25 -0400 Message-ID: <51DBC73E.7080401@huawei.com> Date: Tue, 9 Jul 2013 16:18:06 +0800 From: Yijing Wang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Paul Bolle CC: Bjorn Helgaas , , , Rafael , Hanjun Guo , , Oliver Neukum , Gu Zheng Subject: Re: [PATCH 2/2] PCI,pciehp: avoid add a device already exist during pciehp_resume References: <1373356564-21668-1-git-send-email-wangyijing@huawei.com> <1373357261.1633.4.camel@x61.thuisdomein> In-Reply-To: <1373357261.1633.4.camel@x61.thuisdomein> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.76.69] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 33 >> In this case, we can improve it a little by add a guard >> if (!list_empty(bus->devices)). > > Great! > > I'm currently trying to bisect another problem, but hope to test this > patch (and the preceding patch it apparently needs) in a few days. > Please feel free to prod me if you think testing is needed but I'm > taking to long to report back. Hi Paul, Thank you for helping test. Because I have no machine to test this case, so your test report is very important, it can help us going in the right way to solve this problem. Thanks! Yijing. > > > . > -- Thanks! Yijing -- 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/