Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632762

Re: [PATCH 1/1] staging: fbtft: Fix Sparse warning in fb_watterott.c

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] staging: fbtft: Fix Sparse warning in fb_watterott.c
Date 2017-04-28 12:10 +0200
Message-ID <tBb0B-5UI-11@gated-at.bofh.it> (permalink)
References <tyLN1-Pg-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
> ---
>  drivers/staging/fbtft/fb_watterott.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Patch does not apply to my tree :(

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 1/1] staging: fbtft: Fix Sparse warning in fb_watterott.c Greg KH <gregkh@linuxfoundation.org> - 2017-04-28 12:10 +0200

csiph-web