From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756363AbdD1KHR (ORCPT ); Fri, 28 Apr 2017 06:07:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37102 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S939479AbdD1KHK (ORCPT ); Fri, 28 Apr 2017 06:07:10 -0400 Date: Fri, 28 Apr 2017 12:07:00 +0200 From: Greg KH To: Cezary Gapinski Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] staging: fbtft: Fix Sparse warning in fb_watterott.c Message-ID: <20170428100700.GA10962@kroah.com> References: <1492790087-7705-1-git-send-email-gapalinux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1492790087-7705-1-git-send-email-gapalinux@gmail.com> User-Agent: Mutt/1.8.2 (2017-04-18) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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] > got restricted __be16 [usertype] > > Use __be16 types for endian correctness > > Signed-off-by: Cezary Gapinski > --- > drivers/staging/fbtft/fb_watterott.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Patch does not apply to my tree :(