Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755186AbdFWUYm (ORCPT ); Fri, 23 Jun 2017 16:24:42 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46030 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755170AbdFWUYl (ORCPT ); Fri, 23 Jun 2017 16:24:41 -0400 Date: Fri, 23 Jun 2017 19:44:08 +0200 From: Greg KH To: Jaya Durga Cc: sergio.paracuellos@gmail.com, adrien.descamps@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: wlan-ng: hfa384x_usb: Fixed sparse warning cast to restricted __le16 Message-ID: <20170623174408.GB7203@kroah.com> References: <1497607507-2531-1-git-send-email-jayad@cdac.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1497607507-2531-1-git-send-email-jayad@cdac.in> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 426 Lines: 13 On Fri, Jun 16, 2017 at 03:35:07PM +0530, Jaya Durga wrote: > when building with make C=1 CF=-D__CHECK_ENDIAN__ > > drivers/staging/wlan-ng/hfa384x_usb.c:3383:36: warning: cast to restricted __le16 > > fixed by using the le16_to_cpus function. > > Signed-off-by: Jaya Durga > --- > drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Does not apply to my tree :(