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

Greg KH gregkh at linuxfoundation.org
Wed Oct 18 12:37:27 UTC 2017


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 at mail.ru>
> ---
>  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


More information about the devel mailing list