All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dongdong Liu <liudongdong3@huawei.com>
Cc: helgaas@kernel.org, rjw@sisk.pl, linux-pci@vger.kernel.org,
	stable@vger.kernel.org, linuxarm@huawei.com
Subject: Re: [PATCH V2 1/2] PCI/portdrv: Fix switch devctrl error report enable
Date: Tue, 5 Dec 2017 11:15:37 -0800	[thread overview]
Message-ID: <20171205191537.GA21975@infradead.org> (raw)
In-Reply-To: <1512467438-42850-2-git-send-email-liudongdong3@huawei.com>

On Tue, Dec 05, 2017 at 05:50:37PM +0800, Dongdong Liu wrote:
> +		if ((pci_pcie_type(dev) != PCI_EXP_TYPE_UPSTREAM) &&
> +		    (pci_pcie_type(dev) != PCI_EXP_TYPE_DOWNSTREAM))
> +			pci_disable_pcie_error_reporting(dev);

No need for the inner braces here.

  reply	other threads:[~2017-12-05 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05  9:50 [PATCH V2 0/2] PCI/portdrv: Fix switch devctrl error report enable Dongdong Liu
2017-12-05  9:50 ` [PATCH V2 1/2] " Dongdong Liu
2017-12-05 19:15   ` Christoph Hellwig [this message]
2017-12-07 12:55     ` Dongdong Liu
2017-12-13 16:29   ` Bjorn Helgaas
2017-12-18 12:55     ` Dongdong Liu
2017-12-05  9:50 ` [PATCH V2 2/2] PCI/AER: Fix AER device configuration Dongdong Liu
2017-12-13 16:55   ` Bjorn Helgaas
2017-12-18 12:55     ` Dongdong Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205191537.GA21975@infradead.org \
    --to=hch@infradead.org \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=liudongdong3@huawei.com \
    --cc=rjw@sisk.pl \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.