* [PATCH] PCI: designware: Fix indent code style
@ 2013-12-27 0:30 Jingoo Han
2014-01-02 21:48 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2013-12-27 0:30 UTC (permalink / raw)
To: 'Bjorn Helgaas'
Cc: linux-pci, 'Mohit Kumar', 'Jingoo Han'
Fix indent code style and replace 'MSI interrupt controller'
of comment with 'MSI controller', in order to fix the following
checkpatch issues.
ERROR: code indent should use tabs where possible
WARNING: please, no spaces at the start of a line
WARNING: line over 80 characters
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/pci/host/pcie-designware.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 4a08d30..17ce88f 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -213,14 +213,14 @@ static int find_valid_pos0(struct pcie_port *pp, int msgvec, int pos, int *pos0)
}
static void clear_irq_range(struct pcie_port *pp, unsigned int irq_base,
- unsigned int nvec, unsigned int pos)
+ unsigned int nvec, unsigned int pos)
{
unsigned int i, res, bit, val;
for (i = 0; i < nvec; i++) {
irq_set_msi_desc_off(irq_base, i, NULL);
clear_bit(pos + i, pp->msi_irq_in_use);
- /* Disable corresponding interrupt on MSI interrupt controller */
+ /* Disable corresponding interrupt on MSI controller */
res = ((pos + i) / 32) * 12;
bit = (pos + i) % 32;
dw_pcie_rd_own_conf(pp, PCIE_MSI_INTR0_ENABLE + res, 4, &val);
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PCI: designware: Fix indent code style
2013-12-27 0:30 [PATCH] PCI: designware: Fix indent code style Jingoo Han
@ 2014-01-02 21:48 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2014-01-02 21:48 UTC (permalink / raw)
To: Jingoo Han; +Cc: linux-pci, 'Mohit Kumar'
On Fri, Dec 27, 2013 at 09:30:25AM +0900, Jingoo Han wrote:
> Fix indent code style and replace 'MSI interrupt controller'
> of comment with 'MSI controller', in order to fix the following
> checkpatch issues.
>
> ERROR: code indent should use tabs where possible
> WARNING: please, no spaces at the start of a line
> WARNING: line over 80 characters
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Applied to pci/host-designware for v3.14, thanks!
Bjorn
> ---
> drivers/pci/host/pcie-designware.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
> index 4a08d30..17ce88f 100644
> --- a/drivers/pci/host/pcie-designware.c
> +++ b/drivers/pci/host/pcie-designware.c
> @@ -213,14 +213,14 @@ static int find_valid_pos0(struct pcie_port *pp, int msgvec, int pos, int *pos0)
> }
>
> static void clear_irq_range(struct pcie_port *pp, unsigned int irq_base,
> - unsigned int nvec, unsigned int pos)
> + unsigned int nvec, unsigned int pos)
> {
> unsigned int i, res, bit, val;
>
> for (i = 0; i < nvec; i++) {
> irq_set_msi_desc_off(irq_base, i, NULL);
> clear_bit(pos + i, pp->msi_irq_in_use);
> - /* Disable corresponding interrupt on MSI interrupt controller */
> + /* Disable corresponding interrupt on MSI controller */
> res = ((pos + i) / 32) * 12;
> bit = (pos + i) % 32;
> dw_pcie_rd_own_conf(pp, PCIE_MSI_INTR0_ENABLE + res, 4, &val);
> --
> 1.7.10.4
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-02 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 0:30 [PATCH] PCI: designware: Fix indent code style Jingoo Han
2014-01-02 21:48 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).