* [PATCH v2] staging: rtl8188eu: Move a blank line
@ 2018-02-15 22:36 Dafna Hirschfeld
2018-02-16 6:32 ` [Outreachy kernel] " Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Dafna Hirschfeld @ 2018-02-15 22:36 UTC (permalink / raw)
To: outreachy-kernel, gregkh
Move a blank line from in the middle of a declaration list to
after the declaration list, to improve readability.
Issue found by checkpatch.
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
---
Break commit body to two short lines.
Make commit body and description clearer.
drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
index 17967c9..c3bb183 100644
--- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
+++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
@@ -1516,8 +1516,8 @@ void rtw_hal_set_hwreg(struct adapter *Adapter, u8 variable, u8 *val)
case HW_VAR_CAM_WRITE:
{
u32 cmd;
-
u32 *cam_val = (u32 *)val;
+
usb_write32(Adapter, WCAMI, cam_val[0]);
cmd = CAM_POLLINIG | CAM_WRITE | cam_val[1];
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH v2] staging: rtl8188eu: Move a blank line
2018-02-15 22:36 [PATCH v2] staging: rtl8188eu: Move a blank line Dafna Hirschfeld
@ 2018-02-16 6:32 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2018-02-16 6:32 UTC (permalink / raw)
To: Dafna Hirschfeld; +Cc: outreachy-kernel, gregkh
On Fri, 16 Feb 2018, Dafna Hirschfeld wrote:
> Move a blank line from in the middle of a declaration list to
> after the declaration list, to improve readability.
>
> Issue found by checkpatch.
>
> Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
> ---
> Break commit body to two short lines.
> Make commit body and description clearer.
You could put v2: in front of this message. But I think it is clear
enough as is.
julia
>
> drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c
> index 17967c9..c3bb183 100644
> --- a/drivers/staging/rtl8188eu/hal/usb_halinit.c
> +++ b/drivers/staging/rtl8188eu/hal/usb_halinit.c
> @@ -1516,8 +1516,8 @@ void rtw_hal_set_hwreg(struct adapter *Adapter, u8 variable, u8 *val)
> case HW_VAR_CAM_WRITE:
> {
> u32 cmd;
> -
> u32 *cam_val = (u32 *)val;
> +
> usb_write32(Adapter, WCAMI, cam_val[0]);
>
> cmd = CAM_POLLINIG | CAM_WRITE | cam_val[1];
> --
> 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 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/20180215223652.GA6741%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-16 6:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15 22:36 [PATCH v2] staging: rtl8188eu: Move a blank line Dafna Hirschfeld
2018-02-16 6:32 ` [Outreachy kernel] " Julia Lawall
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.