* [PATCH v2] bcma: Fix three coding style issues, more than 80 characters per line
@ 2014-12-26 18:33 Oscar Forner Martinez
2014-12-26 21:26 ` Rafał Miłecki
0 siblings, 1 reply; 2+ messages in thread
From: Oscar Forner Martinez @ 2014-12-26 18:33 UTC (permalink / raw)
To: zajec5; +Cc: linux-wireless, linux-kernel, Oscar Forner Martinez
Three lines with more than 80 characters per line have been split in several lines.
Signed-off-by: Oscar Forner Martinez <oscar.forner.martinez@gmail.com>
---
drivers/bcma/driver_chipcommon.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c
index 19f6796..15f044d 100644
--- a/drivers/bcma/driver_chipcommon.c
+++ b/drivers/bcma/driver_chipcommon.c
@@ -79,7 +79,9 @@ static int bcma_chipco_watchdog_ticks_per_ms(struct bcma_drv_cc *cc)
if (cc->capabilities & BCMA_CC_CAP_PMU) {
if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706)
- /* 4706 CC and PMU watchdogs are clocked at 1/4 of ALP clock */
+ /* 4706 CC and PMU watchdogs are clocked
+ * at 1/4 of ALP clock
+ */
return bcma_chipco_get_alp_clock(cc) / 4000;
else
/* based on 32KHz ILP clock */
@@ -97,7 +99,8 @@ int bcma_chipco_watchdog_register(struct bcma_drv_cc *cc)
wdt.driver_data = cc;
wdt.timer_set = bcma_chipco_watchdog_timer_set_wdt;
wdt.timer_set_ms = bcma_chipco_watchdog_timer_set_ms_wdt;
- wdt.max_timer_ms = bcma_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms;
+ wdt.max_timer_ms =
+ bcma_chipco_watchdog_get_max_timer(cc) / cc->ticks_per_ms;
pdev = platform_device_register_data(NULL, "bcm47xx-wdt",
cc->core->bus->num, &wdt,
@@ -335,7 +338,9 @@ void bcma_chipco_serial_init(struct bcma_drv_cc *cc)
| BCMA_CC_CORECTL_UARTCLKEN);
}
} else {
- bcma_err(cc->core->bus, "serial not supported on this device ccrev: 0x%x\n", ccrev);
+ bcma_err(cc->core->bus,
+ "serial not supported on this device ccrev: 0x%x\n",
+ ccrev);
return;
}
--
2.2.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] bcma: Fix three coding style issues, more than 80 characters per line
2014-12-26 18:33 [PATCH v2] bcma: Fix three coding style issues, more than 80 characters per line Oscar Forner Martinez
@ 2014-12-26 21:26 ` Rafał Miłecki
0 siblings, 0 replies; 2+ messages in thread
From: Rafał Miłecki @ 2014-12-26 21:26 UTC (permalink / raw)
To: Oscar Forner Martinez; +Cc: linux-wireless, Linux Kernel Mailing List
On 26 December 2014 at 19:33, Oscar Forner Martinez
<oscar.forner.martinez@gmail.com> wrote:
> - /* 4706 CC and PMU watchdogs are clocked at 1/4 of ALP clock */
> + /* 4706 CC and PMU watchdogs are clocked
> + * at 1/4 of ALP clock
> + */
Your editor seems to be treating tabs incorrectly. Like more than 8
chars. After your patch "clocked" ends after 64 chars. You should try
to use up to 80 chars.
> - bcma_err(cc->core->bus, "serial not supported on this device ccrev: 0x%x\n", ccrev);
> + bcma_err(cc->core->bus,
> + "serial not supported on this device ccrev: 0x%x\n",
> + ccrev);
I think you ignored my comment to V1, see it again please ;) It was
about putting pointer and string in one line.
--
Rafał
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-26 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-26 18:33 [PATCH v2] bcma: Fix three coding style issues, more than 80 characters per line Oscar Forner Martinez
2014-12-26 21:26 ` Rafał Miłecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®