Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758446AbaLKANe (ORCPT ); Wed, 10 Dec 2014 19:13:34 -0500 Received: from mail-ie0-f175.google.com ([209.85.223.175]:63087 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758312AbaLKANc (ORCPT ); Wed, 10 Dec 2014 19:13:32 -0500 MIME-Version: 1.0 In-Reply-To: <20141210223012.GA11234@shangw> References: <1418160871-5605-1-git-send-email-yinghai@kernel.org> <20141210223012.GA11234@shangw> Date: Wed, 10 Dec 2014 16:13:32 -0800 X-Google-Sender-Auth: FRBbc0hYP-I0KXJgYWUAVuY5UYw Message-ID: Subject: Re: [PATCH] PCI: Clear all bridge res MEM_64 if host bridge has non mem64 From: Yinghai Lu To: Gavin Shan Cc: Bjorn Helgaas , Benjamin Herrenschmidt , =?UTF-8?Q?Marek_Kord=C3=ADk?= , Alexey Voronkov , Wei Yang , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 10, 2014 at 2:30 PM, Gavin Shan wrote: > On Tue, Dec 09, 2014 at 01:34:31PM -0800, Yinghai Lu wrote: >> >>+ list_for_each_entry(window, &bridge->windows, list) { >>+ res = window->res; >>+ if (resource_type(res) == IORESOURCE_MEM || >>+ res->end > 0xffffffff) { > > Should we replace "||" with "&&" ? oh, I missed that. Will send updated version. Thanks Yinghai -- 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/