* [PATCH v2] staging: ks7010: Remove spaces after typecast to int
@ 2018-03-01 19:05 Nishka Dasgupta
2018-03-01 20:04 ` [Outreachy kernel] " Julia Lawall
0 siblings, 1 reply; 3+ messages in thread
From: Nishka Dasgupta @ 2018-03-01 19:05 UTC (permalink / raw)
To: gregkh, outreachy-kernel; +Cc: Nishka Dasgupta
Remove spaces after typecast. Issue found with checkpatch.
Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
---
Changes in v2:
- Revert to typecasting after removing in version 1.
- Remove space after typecasting.
drivers/staging/ks7010/ks_wlan_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
index 482af50..91acf87 100644
--- a/drivers/staging/ks7010/ks_wlan_net.c
+++ b/drivers/staging/ks7010/ks_wlan_net.c
@@ -208,7 +208,7 @@ static int ks_wlan_set_freq(struct net_device *dev,
/* for SLEEP MODE */
/* If setting by frequency, convert to a channel */
if ((fwrq->e == 1) &&
- (fwrq->m >= (int) 2.412e8) && (fwrq->m <= (int) 2.487e8)) {
+ (fwrq->m >= (int)2.412e8) && (fwrq->m <= (int)2.487e8)) {
int f = fwrq->m / 100000;
int c = 0;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Outreachy kernel] [PATCH v2] staging: ks7010: Remove spaces after typecast to int
2018-03-01 19:05 [PATCH v2] staging: ks7010: Remove spaces after typecast to int Nishka Dasgupta
@ 2018-03-01 20:04 ` Julia Lawall
2018-03-01 21:20 ` Nishka Dasgupta
0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2018-03-01 20:04 UTC (permalink / raw)
To: Nishka Dasgupta; +Cc: gregkh, outreachy-kernel
On Fri, 2 Mar 2018, Nishka Dasgupta wrote:
> Remove spaces after typecast. Issue found with checkpatch.
I don't see any spaces in the staging tree. Maybe a previous change of
yours added them, or maybe someone else already fixed the issue.
julia
>
> Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
> ---
> Changes in v2:
> - Revert to typecasting after removing in version 1.
> - Remove space after typecasting.
>
> drivers/staging/ks7010/ks_wlan_net.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c
> index 482af50..91acf87 100644
> --- a/drivers/staging/ks7010/ks_wlan_net.c
> +++ b/drivers/staging/ks7010/ks_wlan_net.c
> @@ -208,7 +208,7 @@ static int ks_wlan_set_freq(struct net_device *dev,
> /* for SLEEP MODE */
> /* If setting by frequency, convert to a channel */
> if ((fwrq->e == 1) &&
> - (fwrq->m >= (int) 2.412e8) && (fwrq->m <= (int) 2.487e8)) {
> + (fwrq->m >= (int)2.412e8) && (fwrq->m <= (int)2.487e8)) {
> int f = fwrq->m / 100000;
> int c = 0;
>
> --
> 1.9.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 outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1519931110-2763-1-git-send-email-nishka.dasgupta_ug18%40ashoka.edu.in.
> For more options, visit https://groups.google.com/d/optout.
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re:
2018-03-01 20:04 ` [Outreachy kernel] " Julia Lawall
@ 2018-03-01 21:20 ` Nishka Dasgupta
0 siblings, 0 replies; 3+ messages in thread
From: Nishka Dasgupta @ 2018-03-01 21:20 UTC (permalink / raw)
To: outreachy-kernel, julia.lawall
This is with response to your message that you don't see any spaces in
the staging tree.
Yes, the commit "remove spaces after typecast to int" was an unnecessary
commit since I added the spaces in the first place. This patch was
submitted before I read your email regarding not submitting patches to
fix the incorrect changes I have proposed. Sorry about that. Will focus
on new patches from next time.
Thank you for your time, and apologies for the confusion.
Regards,
Nishka Dasgupta
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-01 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 19:05 [PATCH v2] staging: ks7010: Remove spaces after typecast to int Nishka Dasgupta
2018-03-01 20:04 ` [Outreachy kernel] " Julia Lawall
2018-03-01 21:20 ` Nishka Dasgupta
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.