Re: [PATCH] misc: pci_endpoint_test: make boolean no_msi static

2017-08-29 Thread Bjorn Helgaas
On Wed, Aug 23, 2017 at 10:47:52AM +0100, Colin King wrote: > From: Colin Ian King > > The boolean no_msi is local to the source and does not need to be in > global scope, so make it static. > > Cleans up sparse warning: > symbol 'no_msi' was not declared. Should it be static? > > Signed-off-by

Re: [PATCH] misc: pci_endpoint_test: make boolean no_msi static

2017-08-28 Thread Kishon Vijay Abraham I
Hi Bjorn, On Wednesday 23 August 2017 03:17 PM, Colin King wrote: > From: Colin Ian King > > The boolean no_msi is local to the source and does not need to be in > global scope, so make it static. > > Cleans up sparse warning: > symbol 'no_msi' was not declared. Should it be static? > > Signed

Re: [PATCH] misc: pci_endpoint_test: make boolean no_msi static

2017-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 23, 2017 at 10:47:52AM +0100, Colin King wrote: > From: Colin Ian King > > The boolean no_msi is local to the source and does not need to be in > global scope, so make it static. > > Cleans up sparse warning: > symbol 'no_msi' was not declared. Should it be static? > > Signed-off-by

[PATCH] misc: pci_endpoint_test: make boolean no_msi static

2017-08-23 Thread Colin King
From: Colin Ian King The boolean no_msi is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'no_msi' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/misc/pci_endpoint_test.c | 2 +- 1 file changed