[PATCH] staging: gdm724x: Fix sparse warnings

2017-02-14 Thread maomao xu
drivers/staging/gdm724x/gdm_lte.c:311:39: warning: incorrect type in assignment (different base types) drivers/staging/gdm724x/gdm_lte.c:311:39:expected restricted __sum16 [addressable] [assigned] [usertype] icmp6_cksum drivers/staging/gdm724x/gdm_lte.c:311:39:got int Signed-off-by: maom

Re: [PATCH] staging: gdm724x: fix sparse warnings in file gdm_lte.c

2017-02-03 Thread Greg KH
On Tue, Jan 31, 2017 at 07:37:19PM +0100, Javier Rodriguez wrote: > drivers/staging/gdm724x/gdm_lte.c:201:33: warning: incorrect type in > assignment (different base types) > drivers/staging/gdm724x/gdm_lte.c:201:33:expected unsigned int [unsigned] > [addressable] [usertype] ph_len > drivers/