staging: greybus: Remove parentheses around variable
PATCH 1/1 staging: greybus: Remove parentheses around variable
Remove parentheses around variable.
--- drivers/staging/greybus/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/greybus/bundle.c +1 -1
@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr, {struct gb_bundle *bundle =to_gb_bundle (dev); -if (!(bundle->state)) +if (!bundle->state)return sprintf (buf,"\n" );return sprintf (buf,"%s\n" , bundle->state);
Signature · 1 line
2.19.1
This didn't arrive with a From line that corresponds to your SOB. You may need to put From: Nishka Dasgupta <[email protected]> at the beginning of your log message (after the subject line) if you aren't able to have the message come through with a proper From line.
julia
Quoted 30 lines · Nishka Dasgupta' via outreachy-kernel
Remove parentheses around variable.
Signed-off-by Nishka Dasgupta <[email protected]>--- drivers/staging/greybus/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/greybus/bundle.c +1
-2@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr, {struct gb_bundle *bundle =to_gb_bundle (dev); -if (!(bundle->state)) +if (!bundle->state)return sprintf (buf,"\n" );return sprintf (buf,"%s\n" , bundle->state); --2.19.1
--
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/20190319200308.10710-1-nishka.dasgupta%40yahoo.com.
For more options, visit https://groups.google.com/d/optout.
Greg KH
maintainerQuoted 4 lines · Julia Lawall
This didn't arrive with a From line that corresponds to your SOB. You may need to put From: Nishka Dasgupta <[email protected]> at the beginning of your log message (after the subject line) if you aren't able to have the message come through with a proper From line.
Odd, it looks correct to me.
And you are top-posting :)
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 4 lines · Julia Lawall
This didn't arrive with a From line that corresponds to your SOB. You may need to put From: Nishka Dasgupta <[email protected]> at the beginning of your log message (after the subject line) if you aren't able to have the message come through with a proper From line.
Odd, it looks correct to me.
And you are top-posting :)
Well, I'm complaining about the From line in the message, that is above my comment :)
I guess that if Nishka has you explicitly in the CC list, you get a message that looks fine. The problem is with the ones that come through the mailing list.
julia
Quoted 12 lines
thanks,
greg k-h
--
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/20190320064724.GA11556%40kroah.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 1 line · Nishka Dasgupta
Remove parentheses around variable.
Perhaps
Remove unnecessary parentheses around expression.
would be more accurate.
Quoted 1 line
Signed-off-by Nishka Dasgupta <[email protected]>
But no need to resend unless you want to. If you do, you can add my ack before your SoB-tag:
Quoted 9 lines
--- drivers/staging/greybus/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/greybus/bundle.c +0
-0
drivers/staging/greybus/bundle.c static ssize_t state_show(struct device *dev, struct device_attribute *attr, · line 38
Quoted 8 lines
drivers/staging/greybus/bundle.c +1
-1@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr, {struct gb_bundle *bundle =to_gb_bundle (dev); -if (!(bundle->state)) +if (!bundle->state)return sprintf (buf,"\n" );return sprintf (buf,"%s\n" , bundle->state);
Thanks,
Johan
Quoted 7 lines · Johan Hovold
Quoted 1 line · Nishka Dasgupta
Remove parentheses around variable.
Perhaps
Remove unnecessary parentheses around expression.
Quoted 8 lines
would be more accurate.
Quoted 1 line
Signed-off-by Nishka Dasgupta <[email protected]>But no need to resend unless you want to. If you do, you can add my ack before your SoB-tag:
Acked-by Johan Hovold <[email protected]>
I would like to resend but I think this patch has already been added to staging-next, so I don't think I should send it again. I could if it's alright. Thank you for your initial suggestion though, and I'm sorry I wasn't sure about how to acknowledge your help in the patch itself.
Thanking you,
Nishka Dasgupta
Quoted 21 lines
Quoted 9 lines
--- drivers/staging/greybus/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/greybus/bundle.c +0
-0drivers/staging/greybus/bundle.c static ssize_t state_show(struct device *dev, struct device_attribute *attr, · line 38
Quoted 8 lines
drivers/staging/greybus/bundle.c +1
-1@@ -32,7 +32,7 @@ static ssize_t state_show(struct device *dev, struct device_attribute *attr, {struct gb_bundle *bundle =to_gb_bundle (dev); -if (!(bundle->state)) +if (!bundle->state)return sprintf (buf,"\n" );return sprintf (buf,"%s\n" , bundle->state);Thanks,
Johan
Johan Hovold
maintainerQuoted 14 lines · NIshka Dasgupta
Quoted 11 lines · Johan Hovold
Quoted 1 line · Nishka Dasgupta
Remove parentheses around variable.
Perhaps
Remove unnecessary parentheses around expression.
would be more accurate.
Quoted 1 line
Signed-off-by Nishka Dasgupta <[email protected]>
Quoted 8 lines
Quoted 4 lines
But no need to resend unless you want to. If you do, you can add my ack before your SoB-tag:
Acked-by Johan Hovold <[email protected]>I would like to resend but I think this patch has already been added to staging-next, so I don't think I should send it again. I could if it's alright.
Greg's trees are generally immutable so once a patch has been applied (and passed some initial testing) it cannot be replaced and the corresponding code can only be fixed incrementally.
So no need to resend.
Quoted 2 lines
Thank you for your initial suggestion though, and I'm sorry I wasn't sure about how to acknowledge your help in the patch itself.
No worries at all. And there's no need to give credit for minor review feedback; reviewers may still provide their Reviewed-by or Acked-by tags once they're happy with the patch though.
Thanks,
Johan