Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1433547

Re: [PATCH] net: ethernet: tundra: Correct argument for pci_free_consistent

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: ethernet: tundra: Correct argument for pci_free_consistent
Date 2016-06-29 10:20 +0200
Message-ID <rPiT0-1Lg-31@gated-at.bofh.it> (permalink)
References <rOAIi-6Df-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Date: Mon, 27 Jun 2016 14:34:50 +0530

> pci_free_consistent's argument 'struct pci_dev' should be NULL not 0.
> 
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> @@
> 
> pci_free_consistent(
> - 0
> + NULL
>   , ...)
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>

This patch doesn't apply.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net: ethernet: tundra: Correct argument for  pci_free_consistent Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-06-27 11:10 +0200
  Re: [PATCH] net: ethernet: tundra: Correct argument for  pci_free_consistent David Miller <davem@davemloft.net> - 2016-06-29 10:20 +0200

csiph-web