On Mon, Feb 20, 2017 at 10:26:00PM +0900, Mandel Benjamin wrote: > > Fixed the following warnings reported by sparse: > > drivers/staging/fbtft/fb_watterott.c:83:16: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:83:16: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:83:16: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:84:16: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:84:16: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:84:16: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:88:24: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:88:24: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:88:24: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:90:34: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:90:34: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:90:34: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:120:16: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:120:16: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:120:16: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:121:16: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:121:16: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:121:16: got restricted __be16 [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:125:24: warning: incorrect type in assignment (different base types) > drivers/staging/fbtft/fb_watterott.c:125:24: expected unsigned short [unsigned] [short] [usertype] <noident> > drivers/staging/fbtft/fb_watterott.c:125:24: got restricted __be16 [usertype] <noident> > > Signed-off-by: Mandel Benjamin <benyx.mandel@xxxxxxxxx> > --- > drivers/staging/fbtft/fb_watterott.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Someone before you sent in this same type of patch, sorry. greg k-h _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel