From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753157AbaIAJX2 (ORCPT ); Mon, 1 Sep 2014 05:23:28 -0400 Received: from mail.mev.co.uk ([62.49.15.74]:38707 "EHLO mail.mev.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752974AbaIAJX1 (ORCPT ); Mon, 1 Sep 2014 05:23:27 -0400 Message-ID: <54043B09.4000602@mev.co.uk> Date: Mon, 1 Sep 2014 10:23:21 +0100 From: Ian Abbott User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Chase Southwood , CC: , , Subject: Re: [PATCH] staging: comedi: usbduxsigma: fix more sparse endianness warnings References: <1409514300-15493-1-git-send-email-chase.southwood@gmail.com> In-Reply-To: <1409514300-15493-1-git-send-email-chase.southwood@gmail.com> Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MEVEXCHANGE.mev.local (10.0.0.4) To MEVEXCHANGE.mev.local (10.0.0.4) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014-08-31 20:45, Chase Southwood wrote: > Sparse shows a couple of warnings like: > > drivers/staging/comedi/drivers/usbduxsigma.c:787:23: warning: cast to restricted __be32 > > Looking at the indicated lines shows that the issue is caused by an > incorrect cast to uint32_t instead of __be32. Fix this cast. > > Signed-off-by: Chase Southwood > Cc: Ian Abbott > Cc: H Hartley Sweeten > --- > drivers/staging/comedi/drivers/usbduxsigma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd. E-mail: )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-