From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933829AbdC3NZR (ORCPT ); Thu, 30 Mar 2017 09:25:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47248 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933296AbdC3NZP (ORCPT ); Thu, 30 Mar 2017 09:25:15 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9582160719 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH V6 5/5] PCI/ASPM: move link_state cleanup to bridge remove To: linux-pci@vger.kernel.org, timur@codeaurora.org References: <1490828667-30973-1-git-send-email-okaya@codeaurora.org> <1490828667-30973-6-git-send-email-okaya@codeaurora.org> Cc: mayurkumar.patel@intel.com, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , Rajat Jain , David Daney , Yinghai Lu , linux-kernel@vger.kernel.org From: Sinan Kaya Message-ID: Date: Thu, 30 Mar 2017 09:25:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1490828667-30973-6-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/2017 7:04 PM, Sinan Kaya wrote: > if (!parent || !parent->link_state) > return; > > + if (pdev->has_secondary_link) { > + link = pdev->link_state; I think I accidentally moved the parent check above this code and broke the case where you can actually remove the root port. I'll post v7 with reverting this change. -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.