Re: [PATCH 1/2] staging: check for skb->len in gdm_lte_emulate_arp

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

 



On Wed, Oct 18, 2017 at 12:45:57AM +0300, Andrii Vladyka wrote:
> check for skb->len in gdm_lte_emulate_arp
> 
> Signed-off-by: Andrii Vladyka <tulup@xxxxxxx>
> ---
>  drivers/staging/gdm724x/gdm_lte.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c
> index 9ab6ce2..42fcf9b 100644
> --- a/drivers/staging/gdm724x/gdm_lte.c
> +++ b/drivers/staging/gdm724x/gdm_lte.c
> @@ -27,6 +27,7 @@
>  #include <linux/icmpv6.h>
>  #include <linux/uaccess.h>
>  #include <net/ndisc.h>
> +#include <uapi/asm-generic/errno.h>

Just use <linux/errno.h> instead please.

And always put a prefix on your subject line saying what driver this
change is for, like all of the other patches in the drivers/staging/
tree have.

Please fix up and resend the series.

thanks,

greg k-h
_______________________________________________
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