diff options
Diffstat (limited to 'drivers/pci/syscall.c')
| -rw-r--r-- | drivers/pci/syscall.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/syscall.c b/drivers/pci/syscall.c index e1c1ec54089..b91c4da6836 100644 --- a/drivers/pci/syscall.c +++ b/drivers/pci/syscall.c @@ -44,7 +44,7 @@ SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn,  	default:  		err = -EINVAL;  		goto error; -	}; +	}  	err = -EIO;  	if (cfg_ret != PCIBIOS_SUCCESSFUL) @@ -99,7 +99,7 @@ SYSCALL_DEFINE5(pciconfig_write, unsigned long, bus, unsigned long, dfn,  	if (!dev)  		return -ENODEV; -	switch(len) { +	switch (len) {  	case 1:  		err = get_user(byte, (u8 __user *)buf);  		if (err)  | 
