diff mbox

[04/17] ipathverbs: mark symbols static where possible

Message ID 1476388576-22863-5-git-send-email-hch@lst.de (mailing list archive)
State Accepted
Headers show

Commit Message

Christoph Hellwig Oct. 13, 2016, 7:56 p.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 providers/ipathverbs/ipathverbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dennis Dalessandro Oct. 14, 2016, 10:32 a.m. UTC | #1
On Thu, 2016-10-13 at 21:56 +0200, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

> ---

>  providers/ipathverbs/ipathverbs.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/providers/ipathverbs/ipathverbs.c

> b/providers/ipathverbs/ipathverbs.c

> index 4b945f6..e953864 100644

> --- a/providers/ipathverbs/ipathverbs.c

> +++ b/providers/ipathverbs/ipathverbs.c

> @@ -77,7 +77,7 @@

>  	{ .vendor = PCI_VENDOR_ID_##v,			\

>  	  .device = PCI_DEVICE_ID_INFINIPATH_##d }

>  

> -struct {

> +static struct {

>  	unsigned		vendor;

>  	unsigned		device;

>  } hca_table[] = {


Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
diff mbox

Patch

diff --git a/providers/ipathverbs/ipathverbs.c b/providers/ipathverbs/ipathverbs.c
index 4b945f6..e953864 100644
--- a/providers/ipathverbs/ipathverbs.c
+++ b/providers/ipathverbs/ipathverbs.c
@@ -77,7 +77,7 @@ 
 	{ .vendor = PCI_VENDOR_ID_##v,			\
 	  .device = PCI_DEVICE_ID_INFINIPATH_##d }
 
-struct {
+static struct {
 	unsigned		vendor;
 	unsigned		device;
 } hca_table[] = {