Re: [Outreachy kernel] [PATCH 1/3] staging/rtl8712: remove extra blank lines; fix code alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 21, 2020 at 12:01 AM Elena Afanasova <eafanasova@xxxxxxxxx> wrote:
>
> Reported by checkpatch.pl
>
> Signed-off-by: Elena Afanasova <eafanasova@xxxxxxxxx>

This patch is fixing 2 different checkpatch warnings. They
should be sent as separate patches. One for removing extra
blank lines, another one for fixing the code alignment.

> ---
>  drivers/staging/rtl8712/rtl871x_recv.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8712/rtl871x_recv.h b/drivers/staging/rtl8712/rtl871x_recv.h
> index e83c256e1474..57a965b9839b 100644
> --- a/drivers/staging/rtl8712/rtl871x_recv.h
> +++ b/drivers/staging/rtl8712/rtl871x_recv.h
> @@ -29,7 +29,6 @@ struct        stainfo_rxcache {
>  #define                PHY_RSSI_SLID_WIN_MAX                   100
>  #define                PHY_LINKQUALITY_SLID_WIN_MAX            20
>
> -
>  struct smooth_rssi_data {
>         u32     elements[100];  /* array to store values */
>         u32     index;          /* index to current array to store */
> @@ -38,7 +37,6 @@ struct smooth_rssi_data {
>  };
>
>  struct rx_pkt_attrib {
> -
>         u8      amsdu;
>         u8      order;
>         u8      qos;
> @@ -129,7 +127,7 @@ union recv_frame *r8712_alloc_recvframe(struct  __queue *pfree_recv_queue);
>  void r8712_free_recvframe(union recv_frame *precvframe,
>                           struct  __queue *pfree_recv_queue);
>  void r8712_free_recvframe_queue(struct  __queue *pframequeue,
> -                                struct  __queue *pfree_recv_queue);
> +                               struct  __queue *pfree_recv_queue);
>  int r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe);
>  int recv_func(struct _adapter *padapter, void *pcontext);
>
> --
> 2.25.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@xxxxxxxxxxxxxxxx.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20201020182439.43314-1-eafanasova%40gmail.com.



-- 
Vaishali


-- 
Vaishali
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux