Patchwork [8/8] pci-stub: added spaces around equal sign

login
register
mail settings
Submitter Ryan Desfosses
Date April 19, 2014, 12:13 a.m.
Message ID <1397866433-21119-9-git-send-email-ryan@desfo.org>
Download mbox | patch
Permalink /patch/340436/
State Accepted
Headers show

Comments

Ryan Desfosses - April 19, 2014, 12:13 a.m.
change made to resolve following checkpatch message
  ERROR: spaces required around that '=' (ctx:VxV)
branch: Linux 3.15-rc1

Signed-off-by: Ryan Desfosses <ryan@desfo.org>
---
 drivers/pci/pci-stub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/pci/pci-stub.c b/drivers/pci/pci-stub.c
index 2ff7750..886fb35 100644
--- a/drivers/pci/pci-stub.c
+++ b/drivers/pci/pci-stub.c
@@ -55,7 +55,7 @@  static int __init pci_stub_init(void)
 	p = ids;
 	while ((id = strsep(&p, ","))) {
 		unsigned int vendor, device, subvendor = PCI_ANY_ID,
-			subdevice = PCI_ANY_ID, class=0, class_mask=0;
+			subdevice = PCI_ANY_ID, class = 0, class_mask = 0;
 		int fields;
 
 		if (!strlen(id))