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


Groups > linux.kernel > #1642272

[PATCH] staging: fbtft: fix sparse warning

Path csiph.com!news.redatomik.org!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Jandy Gou <gouqingsong@goodix.com>
Newsgroups linux.kernel
Subject [PATCH] staging: fbtft: fix sparse warning
Date Tue, 16 May 2017 09:50:01 +0200
Message-ID <tHFoZ-2Ho-3@gated-at.bofh.it> (permalink)
X-Original-To <thomas.petazzoni@free-electrons.com>
X-Asg-Debug-ID 1494920551-097d277d5e01da0001-xx1T2L
X-Barracuda-Envelope-From gouqingsong@goodix.com
X-Barracuda-Rbl-Trusted-Forwarder 192.168.0.136
X-Barracuda-Rbl-Trusted-Forwarder 192.168.0.137
X-Asg-Orig-Subj [PATCH] staging: fbtft: fix sparse warning
X-Mailer git-send-email 1.9.1
MIME-Version 1.0
Content-Type text/plain
X-Originating-IP [101.204.218.42]
X-Barracuda-Connect sz-excas02.goodix.com[192.168.0.136]
X-Barracuda-Start-Time 1494920551
X-Barracuda-URL https://mailgw.goodix.com:443/cgi-mod/mark.cgi
X-Barracuda-Scan-Msg-Size 490
X-Barracuda-Brts-Status 1
X-Barracuda-Spam-Score 0.00
X-Barracuda-Spam-Status No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=
X-Barracuda-Spam-Report Code version 3.2, rules version 3.2.3.38860 Rule breakdown below pts rule name description ---- ---------------------- --------------------------------------------------
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc <gregkh@linuxfoundation.org>, <devel@driverdev.osuosl.org>, <linux-kernel@vger.kernel.org>, Jandy Gou <gouqingsong@goodix.com>
X-Original-Date Tue, 16 May 2017 15:42:26 +0800
X-Original-Message-ID <1494920547-11782-1-git-send-email-gouqingsong@goodix.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1642272

Show key headers only | 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