Re: [PATCH 1/1] staging: fbtft: Fix Sparse warning in fb_watterott.c
From: Greg KH
Date: Fri Apr 28 2017 - 06:07:24 EST
On Fri, Apr 21, 2017 at 05:54:47PM +0200, Cezary Gapinski wrote:
> Sparse reports the following in fb_watterott.c:
>
> warning: incorrect type in assignment (different base types)
> expected unsigned short [unsigned] [short] [usertype] <noident>
> got restricted __be16 [usertype] <noident>
>
> Use __be16 types for endian correctness
>
> Signed-off-by: Cezary Gapinski <gapalinux@xxxxxxxxx>
> ---
> drivers/staging/fbtft/fb_watterott.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Patch does not apply to my tree :(