From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751927AbdCCQVV (ORCPT ); Fri, 3 Mar 2017 11:21:21 -0500 Received: from aserp1050.oracle.com ([141.146.126.70]:38722 "EHLO aserp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751593AbdCCQVP (ORCPT ); Fri, 3 Mar 2017 11:21:15 -0500 Date: Fri, 3 Mar 2017 14:29:07 +0300 From: Dan Carpenter To: Adrien Descamps Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] Fix endiannes error Message-ID: <20170303112621.GC4132@mwanda> References: <1488486612-2969-1-git-send-email-adrien.descamps@gmail.com> <1488486612-2969-2-git-send-email-adrien.descamps@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1488486612-2969-2-git-send-email-adrien.descamps@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserp1040.oracle.com [141.146.126.69] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches look good but you need to resend with a correct subsystem prefix in the subject. It should be: [PATCH 2/2] Staging: wlan-ng: Fix endiannes error Hm... Also "endiannes" doesn't look like correct spelling. Just say "endian". On Thu, Mar 02, 2017 at 09:30:12PM +0100, Adrien Descamps wrote: > sparse report fixed: > drivers/staging//wlan-ng//hfa384x_usb.c:3517:35: warning: restricted __be64 degrades to integer > drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: warning: incorrect type in assignment (different base types) > drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: expected restricted __be64 [usertype] mactime > drivers/staging//wlan-ng//hfa384x_usb.c:3517:33: got unsigned long long > > Computation on the value should be done when in machine format, not in big endian format. > Compile tested only. Generally we like to put the "Compile tested only" bit under the --- cut off so that our patches look more confident and authoritative. ;) > > Signed-off-by: Adrien Descamps > --- Put it here. > drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > regards, dan carpenter