Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2679248imm; Sun, 3 Jun 2018 09:02:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJE24uzxIJkG+IFmSVRmlc05i5FK24tzc35B9MBI6t3fAV9VWqPxocUgKJ3kYYHc9DZZlbW X-Received: by 2002:a63:a00a:: with SMTP id r10-v6mr14796624pge.222.1528041776743; Sun, 03 Jun 2018 09:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528041776; cv=none; d=google.com; s=arc-20160816; b=k6sw2Qu17OypON+k0OSNRGKrrs1sKN2lYb77d9bfp2bUj8+DfsmSuglmQ9kQYhtRYC J4Gt3ijdLg9RyKgQ/CE1UqrjhvqM9Iln1RlvmkK6nszCWpVYhy5zVo2aKI1clEDPndBm A6iMgUT067LKIgWbtEeprlOynQa8OcWdSpvQBIq7Pf73INs1l0dAyfJZi9RYPR6zGWss zKKukGvUtEeQNUKelzFFrZkTDqWdj2Wjn0oSFuOr7tVEiXWuxHrVzeOg/bPyIxEYhwIY B3A5svVzA2wPquwl+Nc94NLVMhAd0kzbSf5SULgRJ8AVdfoF6r7sOpzL0zO13WJFzdA6 E36g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=XS5ELTvmngD4D6Cu1EgND+Cc1seDuHDQz0ApkcrOuYw=; b=IE5cZsx2p0fwnCxQyvb3p2oHMNPEtJdVW88Sx25voVKo6GZxkE68ctY+bXNQwny6b8 2o3WkjaFp5/34thokwYrF3OZ3rs7OCpjLTUyxel2NWo2EOR4IJ+v/o61nzUT5UjVR91F K26t3UnFRjRGGbtPuTT2JeDG1Rty4D92B7jt9mIYrXo0bvvaehVlw2Q0uOAXkQoIn/rw 33CxBRtOYJBYot6M6dzU0fHIu2Byj3+vDX+RJtrXvmhBHTAYAWdVNjaCfhch6Vh0Hc4g nSpoITuaosFbopE/aEIx9N+L6nSoUjkbw+yJGdv5+ou7XITpy/vkJuIWpymz/NMQNS0e n6FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XgPHk6u1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5-v6si43365615plh.556.2018.06.03.09.02.42; Sun, 03 Jun 2018 09:02:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XgPHk6u1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751465AbeFCQBV (ORCPT + 99 others); Sun, 3 Jun 2018 12:01:21 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35694 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbeFCQBT (ORCPT ); Sun, 3 Jun 2018 12:01:19 -0400 Received: by mail-pg0-f65.google.com with SMTP id 15-v6so13011136pge.2 for ; Sun, 03 Jun 2018 09:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=XS5ELTvmngD4D6Cu1EgND+Cc1seDuHDQz0ApkcrOuYw=; b=XgPHk6u1JC3NBnkv07dVfCN7K4TiWQoDqlt7mfn/eRTFIHB0Mz/eJWHrucpULWISzC VD6nSFCvlo0/a9BjjgGQWZDBRJhxrYgV598R7M95qG9ehVAX8149/RkDO+wkrI/zxytZ LvvyffwNM+Vj4H5V9Oq6iuVYWJWHcpkzNM71rzLfNn1a+hY/LsN5BAoCUTIT0w36d0t/ IjzdbB//lZ2KCUojA0e0zROul4l/Q/S96E7CCW2cqZuCMik9vxs3aR2tH4cpsojBe3bX Q5v+i+ViEn6vFRRM8FmrkjktcvQ4v9nC8/80OLLrZtp6/b6BDwwvTkFMk1NOaNibnyj0 OgGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=XS5ELTvmngD4D6Cu1EgND+Cc1seDuHDQz0ApkcrOuYw=; b=uQzWf9LhDeIHnnGOgp39BLsPSdABJvZtY48e6lpD4laN2h9Q1tKmBm5ZKO8yyB0QT8 HoufplMefRHV+mEebDYpuRoR61zrqWOCvfadOWHtR1toOIU4Is9fsBLrvv9kNTX84nvj qQnWe24GEQOfrBaGzOzG55hADOZ45maWUAUaTMhX02JPdNPi6rMfo46dxVPO7EmqbgOm xooe+SJYDlXUHs9UZFks5u1V7nnd45I/PTKaQvGsXo2dZVmK3gW6jgSMHcYHbnxT29Fp TjG0wXSZNL7XkBVE6fQnw2vdW6/tylPzo2aGgvVQ6D2iJ8jkMc/3lbql1W9TVNQDyS3U rJiQ== X-Gm-Message-State: ALKqPwdwOnmrOS278NonFrh1SF7kiVfSEnH9vmoPFd0N3jvH/thGfdoo O1bpMPt5rWnxgQBJX22tPAw= X-Received: by 2002:a62:6710:: with SMTP id b16-v6mr18051935pfc.37.1528041677736; Sun, 03 Jun 2018 09:01:17 -0700 (PDT) Received: from nihaal-Latitude-E6410 ([157.50.194.246]) by smtp.gmail.com with ESMTPSA id d6-v6sm22823407pgc.38.2018.06.03.09.01.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jun 2018 09:01:17 -0700 (PDT) From: Abdun Nihaal To: gregkh@linuxfoundation.org Cc: matthias.bgg@gmail.com, neil@brown.name, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Abdun Nihaal Subject: [PATCH 4/7] staging: mt7621-pci: add space after comma symbol Date: Sun, 3 Jun 2018 21:30:01 +0530 Message-Id: <2204d11fb9c2ff5ccb0ae003a6a81e5415d4e65e.1528040188.git.abdun.nihaal@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the following checkpatch error: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 36 ++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c index 28b9a11e9ecb..f347eaf9063c 100644 --- a/drivers/staging/mt7621-pci/pci-mt7621.c +++ b/drivers/staging/mt7621-pci/pci-mt7621.c @@ -373,17 +373,17 @@ pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) write_config(0, 0, 0, PCI_BASE_ADDRESS_0, MEMORY_BASE); read_config(0, 0, 0, PCI_BASE_ADDRESS_0, (unsigned long *)&val); printk("BAR0 at slot 0 = %x\n", val); - printk("bus=0x%x, slot = 0x%x\n",dev->bus->number, slot); + printk("bus=0x%x, slot = 0x%x\n", dev->bus->number, slot); } else if ((dev->bus->number == 0) && (slot == 0x1)) { write_config(0, 1, 0, PCI_BASE_ADDRESS_0, MEMORY_BASE); read_config(0, 1, 0, PCI_BASE_ADDRESS_0, (unsigned long *)&val); printk("BAR0 at slot 1 = %x\n", val); - printk("bus=0x%x, slot = 0x%x\n",dev->bus->number, slot); + printk("bus=0x%x, slot = 0x%x\n", dev->bus->number, slot); } else if ((dev->bus->number == 0) && (slot == 0x2)) { write_config(0, 2, 0, PCI_BASE_ADDRESS_0, MEMORY_BASE); read_config(0, 2, 0, PCI_BASE_ADDRESS_0, (unsigned long *)&val); printk("BAR0 at slot 2 = %x\n", val); - printk("bus=0x%x, slot = 0x%x\n",dev->bus->number, slot); + printk("bus=0x%x, slot = 0x%x\n", dev->bus->number, slot); } else if ((dev->bus->number == 1) && (slot == 0x0)) { switch (pcie_link_status) { case 2: @@ -396,7 +396,7 @@ pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) default: irq = RALINK_INT_PCIE0; } - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else if ((dev->bus->number == 2) && (slot == 0x0)) { switch (pcie_link_status) { case 5: @@ -406,7 +406,7 @@ pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) default: irq = RALINK_INT_PCIE1; } - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else if ((dev->bus->number == 2) && (slot == 0x1)) { switch (pcie_link_status) { case 5: @@ -416,18 +416,18 @@ pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) default: irq = RALINK_INT_PCIE1; } - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else if ((dev->bus->number ==3) && (slot == 0x0)) { irq = RALINK_INT_PCIE2; - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else if ((dev->bus->number ==3) && (slot == 0x1)) { irq = RALINK_INT_PCIE2; - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else if ((dev->bus->number ==3) && (slot == 0x2)) { irq = RALINK_INT_PCIE2; - printk("bus=0x%x, slot = 0x%x, irq=0x%x\n",dev->bus->number, slot, dev->irq); + printk("bus=0x%x, slot = 0x%x, irq=0x%x\n", dev->bus->number, slot, dev->irq); } else { - printk("bus=0x%x, slot = 0x%x\n",dev->bus->number, slot); + printk("bus=0x%x, slot = 0x%x\n", dev->bus->number, slot); return 0; } @@ -501,10 +501,10 @@ set_phy_for_ssc(void) if (reg >= 6) { printk("***** Xtal 25MHz *****\n"); set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4bc), 4, 2, 0x01); // RG_PE1_H_PLL_FBKSEL //Feedback clock select - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x49c), 0,31, 0x18000000); // RG_PE1_H_LCDDS_PCW_NCPO //DDS NCPO PCW (for host mode) - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a4), 0,16, 0x18d); // RG_PE1_H_LCDDS_SSC_PRD //DDS SSC dither period control - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a8), 0,12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA //DDS SSC dither amplitude control - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a8), 16,12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA1 //DDS SSC dither amplitude control for initial + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x49c), 0, 31, 0x18000000); // RG_PE1_H_LCDDS_PCW_NCPO //DDS NCPO PCW (for host mode) + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a4), 0, 16, 0x18d); // RG_PE1_H_LCDDS_SSC_PRD //DDS SSC dither period control + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a8), 0, 12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA //DDS SSC dither amplitude control + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P0P1_CTL_OFFSET + 0x4a8), 16, 12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA1 //DDS SSC dither amplitude control for initial } else { printk("***** Xtal 20MHz *****\n"); } @@ -539,10 +539,10 @@ set_phy_for_ssc(void) set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x490), 6, 2, 0x00); // RG_PE1_H_PLL_PREDIV //Pre-divider ratio (for host mode) if (reg >= 6) { // 25MHz Xtal set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4bc), 4, 2, 0x01); // RG_PE1_H_PLL_FBKSEL //Feedback clock select - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x49c), 0,31, 0x18000000); // RG_PE1_H_LCDDS_PCW_NCPO //DDS NCPO PCW (for host mode) - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a4), 0,16, 0x18d); // RG_PE1_H_LCDDS_SSC_PRD //DDS SSC dither period control - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a8), 0,12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA //DDS SSC dither amplitude control - set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a8), 16,12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA1 //DDS SSC dither amplitude control for initial + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x49c), 0, 31, 0x18000000); // RG_PE1_H_LCDDS_PCW_NCPO //DDS NCPO PCW (for host mode) + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a4), 0, 16, 0x18d); // RG_PE1_H_LCDDS_SSC_PRD //DDS SSC dither period control + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a8), 0, 12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA //DDS SSC dither amplitude control + set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a8), 16, 12, 0x4a); // RG_PE1_H_LCDDS_SSC_DELTA1 //DDS SSC dither amplitude control for initial } } set_pcie_phy((u32 *)(RALINK_PCIEPHY_P2_CTL_OFFSET + 0x4a0), 5, 1, 0x01); // RG_PE1_LCDDS_CLK_PH_INV //DDS clock inversion -- 2.17.0