2018-05-27 13:12:53

by Sankalp Negi

[permalink] [raw]
Subject: [PATCH] staging: mt7621-pci: Fix line size exceeding 80 columns.

This patch fixes the checkpatch.pl warning:

WARNING: line over 80 characters

Signed-off-by: Sankalp Negi <[email protected]>
---
drivers/staging/mt7621-pci/pci-mt7621.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c
index edd95013faf3..17f2105ec698 100644
--- a/drivers/staging/mt7621-pci/pci-mt7621.c
+++ b/drivers/staging/mt7621-pci/pci-mt7621.c
@@ -194,7 +194,8 @@ static int config_access(unsigned char access_type, struct pci_bus *bus,
address_reg = RALINK_PCI_CONFIG_ADDR;
data_reg = RALINK_PCI_CONFIG_DATA_VIRTUAL_REG;

- address = (((where&0xF00)>>8)<<24) |(bus->number << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | 0x80000000;
+ address = (((where&0xF00)>>8)<<24) |(bus->number << 16) | (slot << 11) |
+ (func << 8) | (where & 0xfc) | 0x80000000;
MV_WRITE(address_reg, address);

switch(access_type) {
--
2.11.0