Received: by 10.213.65.68 with SMTP id h4csp935202imn; Wed, 14 Mar 2018 04:51:38 -0700 (PDT) X-Google-Smtp-Source: AG47ELtA97YuMvR9qaY6TbZlxy5G+8qf64IKOV8F0qlVguItiTc0qKtSL9pcGafvvTE0YgSTi677 X-Received: by 10.98.161.10 with SMTP id b10mr4025433pff.240.1521028298657; Wed, 14 Mar 2018 04:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521028298; cv=none; d=google.com; s=arc-20160816; b=LPf85p5r+Zo2G6MTa/mLHGi9Hp5SoTR1iM3UWDhs/rLjEaZzvcy8PelT0EaofP7izY S9TLExPJoPHvMSp6miKgq8FrtpZFHI194YprbDFqDf4/IoKLr4zdSCqnbbVs+uwp7Fwg l7X5CfCtvGGuCrBfIWOKB/hMROT9aqKknmwz8UlO+N87HJGP4LBY2sE8uGwmdsuMAbxY UigJMu84YWE/BZHx7O+KeiDB04tSw/NErDW4RzEp3+VB5/GcKZmiqYWLuZRTreGmzg5U OOvtW2zyTZlE3o7Tx/x8wAcWgRYExWVFV4hygKW2/iUtDfQeWw6pfWCKRJRac4vQy+KC MFNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PhRf3veEmCTVxcax5SAL/h10pk60PtaPjAlllABZ1RM=; b=cnZqQKSfMfZ04PcO6APz+ADwFa66jCSCeeeYQyYN1sndVFElICXLKvkjivv+aQ3TXz PH5lqViutpJoktsWHU6unVBZyvn83+4O1Z8brtERWfc0wWc2sg3Z3oY837Pp6VZgxvog 5ZbM48gKNZfxRzTROq01GwmTIak9//SedvyFMxEqPLGafws3hGQqUzcJzq1DoY+B5Ub9 iTgGxFzzu4WB0odcuklxwUEo8B/Bz97BTwbuOO9pfDj1k67wGTseUlo1IEWw4PkYy/+D MKBYh5SQTuQvCyhGujEIT/hGPmqRnbKg3DePGirBFZzA4JOK3aiownuT2IrPl1jOsOoN z5PA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9-v6si1859055plt.6.2018.03.14.04.51.13; Wed, 14 Mar 2018 04:51:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbeCNLt5 (ORCPT + 99 others); Wed, 14 Mar 2018 07:49:57 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:54930 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751387AbeCNLtt (ORCPT ); Wed, 14 Mar 2018 07:49:49 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 6BE5A1212; Wed, 14 Mar 2018 11:49:48 +0000 (UTC) Date: Wed, 14 Mar 2018 12:49:48 +0100 From: Greg KH To: Richard Leitner Cc: Richard Leitner , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, mathias.nyman@intel.com, bhelgaas@google.com Subject: Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic Message-ID: <20180314114948.GA25368@kroah.com> References: <20180314102933.21367-1-dev@g0hl1n.net> <20180314102933.21367-3-dev@g0hl1n.net> <20180314104849.GB32615@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 14, 2018 at 12:36:17PM +0100, Richard Leitner wrote: > > On 03/14/2018 11:48 AM, Greg KH wrote: > > On Wed, Mar 14, 2018 at 11:29:32AM +0100, Richard Leitner wrote: > >> From: Richard Leitner > >> > >> Replace the hardcoded PCI vendor ID of Netlogic with a definition in > >> pci_ids.h > > > > Why? It's only being used in one file, so it should not be in > > pci_ids.h, right? > > It's also used as PCI_VENDOR_NETLOGIC in arch/mips/netlogic/xlp/. > > Should this be replaced with PCI_VENDOR_ID_NETLOGIC from pci_ids.h? Yes, if you are going to add it to pci_ids.h, it had better be used by multiple files, otherwise it does not belong in there. thanks, greg k-h