diff mbox

[03/17] hfi1verbs: mark symbols static where possible

Message ID 1476388576-22863-4-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/hfi1verbs/hfiverbs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dennis Dalessandro Oct. 14, 2016, 10:31 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/hfi1verbs/hfiverbs.c | 2 +-

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

> 

> diff --git a/providers/hfi1verbs/hfiverbs.c

> b/providers/hfi1verbs/hfiverbs.c

> index e28afc7..7605347 100644

> --- a/providers/hfi1verbs/hfiverbs.c

> +++ b/providers/hfi1verbs/hfiverbs.c

> @@ -81,7 +81,7 @@

>  	{ .vendor = PCI_VENDOR_ID_##v,			\

>  	  .device = PCI_DEVICE_ID_HFI_##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/hfi1verbs/hfiverbs.c b/providers/hfi1verbs/hfiverbs.c
index e28afc7..7605347 100644
--- a/providers/hfi1verbs/hfiverbs.c
+++ b/providers/hfi1verbs/hfiverbs.c
@@ -81,7 +81,7 @@ 
 	{ .vendor = PCI_VENDOR_ID_##v,			\
 	  .device = PCI_DEVICE_ID_HFI_##d }
 
-struct {
+static struct {
 	unsigned		vendor;
 	unsigned		device;
 } hca_table[] = {