From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 1/3 v2] iommu: Move swap_pci_ref function to pci.h. Date: Tue, 23 Apr 2013 15:01:54 +0200 Message-ID: <20130423125827.GD2589@8bytes.org> References: <1366691726-9023-1-git-send-email-Varun.Sethi@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1366691726-9023-1-git-send-email-Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Varun Sethi Cc: galak-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org, stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Tue, Apr 23, 2013 at 10:05:24AM +0530, Varun Sethi wrote: > +#ifndef __PCI_H > +#define __PCI_H Using __PCI_H is not a wise choice, it has certainly a high risk of a collision. Anyway, I changed it to __IOMMU_PCI_H and applied the patch. Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.8bytes.org (8bytes.org [IPv6:2a01:238:4242:f000:64f:6c43:3523:e535]) by ozlabs.org (Postfix) with ESMTP id 805222C0168 for ; Tue, 23 Apr 2013 23:02:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.8bytes.org (Postfix) with SMTP id E6FFC12B044 for ; Tue, 23 Apr 2013 15:01:56 +0200 (CEST) Date: Tue, 23 Apr 2013 15:01:54 +0200 From: Joerg Roedel To: Varun Sethi Subject: Re: [PATCH 1/3 v2] iommu: Move swap_pci_ref function to pci.h. Message-ID: <20130423125827.GD2589@8bytes.org> References: <1366691726-9023-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1366691726-9023-1-git-send-email-Varun.Sethi@freescale.com> Cc: stuart.yoder@freescale.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, scottwood@freescale.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Apr 23, 2013 at 10:05:24AM +0530, Varun Sethi wrote: > +#ifndef __PCI_H > +#define __PCI_H Using __PCI_H is not a wise choice, it has certainly a high risk of a collision. Anyway, I changed it to __IOMMU_PCI_H and applied the patch. Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756066Ab3DWNB7 (ORCPT ); Tue, 23 Apr 2013 09:01:59 -0400 Received: from 8bytes.org ([85.214.48.195]:54297 "EHLO mail.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755187Ab3DWNB6 (ORCPT ); Tue, 23 Apr 2013 09:01:58 -0400 Date: Tue, 23 Apr 2013 15:01:54 +0200 From: Joerg Roedel To: Varun Sethi Cc: iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, galak@kernel.crashing.org, benh@kernel.crashing.org, stuart.yoder@freescale.com, scottwood@freescale.com Subject: Re: [PATCH 1/3 v2] iommu: Move swap_pci_ref function to pci.h. Message-ID: <20130423125827.GD2589@8bytes.org> References: <1366691726-9023-1-git-send-email-Varun.Sethi@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366691726-9023-1-git-send-email-Varun.Sethi@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Tue Apr 23 15:01:57 2013 X-DSPAM-Confidence: 0.9992 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 5176864523671692835695 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2013 at 10:05:24AM +0530, Varun Sethi wrote: > +#ifndef __PCI_H > +#define __PCI_H Using __PCI_H is not a wise choice, it has certainly a high risk of a collision. Anyway, I changed it to __IOMMU_PCI_H and applied the patch. Joerg