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


Groups > linux.kernel > #1642272

[PATCH] staging: fbtft: fix sparse warning

From Jandy Gou <gouqingsong@goodix.com>
Newsgroups linux.kernel
Subject [PATCH] staging: fbtft: fix sparse warning
Date 2017-05-16 09:50 +0200
Message-ID <tHFoZ-2Ho-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


fix the sparse warning:
  drivers/staging/fbtft/fbtft-io.c:74:29:
    warning: incorrect type in     assignment (different base types)    
    drivers/staging/fbtft/fbtft-io.c:74:29:    expected unsigned long
    long     [unsigned] [long] [long long] [usertype] <noident>    
    drivers/staging/fbtft/fbtft-io.c:74:29:    got restricted __be64    
    [usertype] <noident>

 drivers/staging/fbtft/fbtft-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1

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


Thread

[PATCH] staging: fbtft: fix sparse warning Jandy Gou <gouqingsong@goodix.com> - 2017-05-16 09:50 +0200
  [PATCH] fix the sparse warning: drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:    expected unsigned long long [unsigned] [long] [long long] [usertype] <noident> drivers/staging/fbtft/fbtft-io.c:74:29:    got restricted __be64 [usertype] <noident> Jandy Gou <gouqingsong@goodix.com> - 2017-05-16 09:50 +0200
    Re: [PATCH] fix the sparse warning:  drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in  assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:  expected unsigned long long [unsigned] [long] [long long] [usertype]  <noident> drivers/staging/fbtft/fbtft-io.c:74:29: got restricted __be64  [usertype] <noident> Greg KH <gregkh@linuxfoundation.org> - 2017-05-16 10:10 +0200

csiph-web