staging: greybus: align to open parenthesis
Subsystems (3)
PATCH 1/1 staging: greybus: align to open parenthesis
Aligning to open parenthesis
In file drivers/staging/greybus/arche-platform.c
--- drivers/staging/greybus/arche-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/arche-platform.c +1 -1
@@ -170,7 +170,7 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)*/ if (arche_pdata->wake_detect_state ==WD_STATE_BOOT_INIT ) {if (time_before (jiffies, - arche_pdata->wake_detect_start + + arche_pdata->wake_detect_start +msecs_to_jiffies (WD_COLDBOOT_PULSE_WIDTH_MS ))) {arche_platform_set_wake_detect_state (arche_pdata ,WD_STATE_IDLE );
Signature · 1 line
2.7.4
Quoted 13 lines · Payal Kshirsagar
Aligning to open parenthesis
In filedrivers/staging/greybus/arche-platform.cSigned-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/greybus/arche-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/greybus/arche-platform.c +0
-0
drivers/staging/greybus/arche-platform.c static irqreturn_t arche_platform_wd_irq(int irq, void *devid) · line 174
Quoted 6 lines
drivers/staging/greybus/arche-platform.c +1
-1@@ -170,7 +170,7 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)*/ if (arche_pdata->wake_detect_state ==WD_STATE_BOOT_INIT ) {if (time_before (jiffies, - arche_pdata->wake_detect_start + + arche_pdata->wake_detect_start +msecs_to_jiffies (WD_COLDBOOT_PULSE_WIDTH_MS ))) {
You can't have the second argument of + to the left of th first argument of +. Pease look more carefully at the code you ar producing by these changes and see if you really think that the resulting code looks better.
julia
Quoted 12 lines
drivers/staging/greybus/arche-platform.c +0
-1arche_platform_set_wake_detect_state (arche_pdata ,WD_STATE_IDLE ); --2.7.4
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1553088353-5599-1-git-send-email-payal.s.kshirsagar.98%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 27 lines · Julia Lawall
Review
Quoted 9 lines · Payal Kshirsagar
Aligning to open parenthesis
In filedrivers/staging/greybus/arche-platform.cSigned-off-by Payal Kshirsagar <[email protected]>--- drivers/staging/greybus/arche-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
b/drivers/staging/greybus/arche-platform.cdrivers/staging/greybus/arche-platform.c static irqreturn_t arche_platform_wd_irq(int irq,
Quoted 4 lines
index 307ff51..6bdb5d9 100644
drivers/staging/greybus/arche-platform.c +0
-0@@ -170,7 +170,7 @@ static irqreturn_t arche_platform_wd_irq(int irq,void *devid)
drivers/staging/greybus/arche-platform.c static irqreturn_t arche_platform_wd_irq(int irq, void *devid)
Quoted 6 lines
drivers/staging/greybus/arche-platform.c +1
-1*/ if (arche_pdata->wake_detect_state ==WD_STATE_BOOT_INIT ) { if (time_before(jiffies, - arche_pdata->wake_detect_start + + arche_pdata->wake_detect_start +
msecs_to_jiffies(WD_COLDBOOT_PULSE_WIDTH_MS))) {
Quoted 7 lines
You can't have the second argument of + to the left of th first argument of +. Pease look more carefully at the code you ar producing by these changes and see if you really think that the resulting code looks better.
julia
Okay, I understood.
Thanks!
payal
Quoted 32 lines
Quoted 3 lines
arche_platform_set_wake_detect_state(arche_pdata
Quoted 1 line
,
WD_STATE_IDLE);Quoted 5 lines
--
2.7.4--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit
https://groups.google.com/d/msgid/outreachy-kernel/alpine.DEB.2.20.1903201439330.3627%40hadrien
.
For more options, visit https://groups.google.com/d/optout.