From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DF552C433EF for ; Tue, 30 Nov 2021 06:21:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD96683069; Tue, 30 Nov 2021 07:21:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1638253262; bh=ICv0S2TyQDVmV3t5Fhvj7tfUHXvVaskB3QhcuxXUt8Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=i+ca3EKFa5PwS0G5v0gnGHQ60s50gdNTRnZ7CXJghgzyICcbwzTdpoqBAf9HbfvW6 apBM/P9mWEumGXX/MuJWwW26fgpQZDCflfPmLuhJ0ywoVauEbYKOy22UaEOJkM7X6F jDc6Qryl1s4xCHvspYne9YHfM5ljjCucC8oiGHw60c8uoVuxijcxdow7EDcgpVQ12x 5jVgoH7laKbcI9i+c5deqxG+Kac8f8xAI4Kqcij7t+pessPhlaYomidR2im3WbtZJ+ sI0mDDczofKzpUOs5JNKmP/Hp0u/C8RJiU1pzss1lFRN5KZ/+gvCUX+nWTNrdSf8AZ CKJgx/QDKTsvg== Received: by phobos.denx.de (Postfix, from userid 109) id 14B4E83065; Tue, 30 Nov 2021 07:21:00 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0CD7F83069 for ; Tue, 30 Nov 2021 07:20:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp102.mailbox.org (unknown [91.198.250.119]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4J3BtJ5JZZzQkJ7; Tue, 30 Nov 2021 07:20:56 +0100 (CET) Message-ID: Date: Tue, 30 Nov 2021 07:20:53 +0100 MIME-Version: 1.0 Subject: Re: [PATCH u-boot-marvell v2 7/9] arm: mvebu: spl: Use preferred types u8/u16/u32 instead of uintN_t Content-Language: en-US To: =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de, =?UTF-8?Q?Pali_Roh=c3=a1r?= , =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211126143738.23830-1-kabel@kernel.org> <20211126143738.23830-8-kabel@kernel.org> From: Stefan Roese In-Reply-To: <20211126143738.23830-8-kabel@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 11/26/21 15:37, Marek Behún wrote: > From: Marek Behún > > Checkpatch warns about using uint32/16/8_t instead of u32/16/8. > > Use the preferred types. > > Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan > --- > arch/arm/mach-mvebu/spl.c | 34 +++++++++++++++++----------------- > 1 file changed, 17 insertions(+), 17 deletions(-) > > diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c > index 8c8cbc833f..97d7aea179 100644 > --- a/arch/arm/mach-mvebu/spl.c > +++ b/arch/arm/mach-mvebu/spl.c > @@ -74,23 +74,23 @@ > > /* Structure of the main header, version 1 (Armada 370/XP/375/38x/39x) */ > struct kwbimage_main_hdr_v1 { > - uint8_t blockid; /* 0x0 */ > - uint8_t flags; /* 0x1 */ > - uint16_t nandpagesize; /* 0x2-0x3 */ > - uint32_t blocksize; /* 0x4-0x7 */ > - uint8_t version; /* 0x8 */ > - uint8_t headersz_msb; /* 0x9 */ > - uint16_t headersz_lsb; /* 0xA-0xB */ > - uint32_t srcaddr; /* 0xC-0xF */ > - uint32_t destaddr; /* 0x10-0x13 */ > - uint32_t execaddr; /* 0x14-0x17 */ > - uint8_t options; /* 0x18 */ > - uint8_t nandblocksize; /* 0x19 */ > - uint8_t nandbadblklocation; /* 0x1A */ > - uint8_t reserved4; /* 0x1B */ > - uint16_t reserved5; /* 0x1C-0x1D */ > - uint8_t ext; /* 0x1E */ > - uint8_t checksum; /* 0x1F */ > + u8 blockid; /* 0x0 */ > + u8 flags; /* 0x1 */ > + u16 nandpagesize; /* 0x2-0x3 */ > + u32 blocksize; /* 0x4-0x7 */ > + u8 version; /* 0x8 */ > + u8 headersz_msb; /* 0x9 */ > + u16 headersz_lsb; /* 0xA-0xB */ > + u32 srcaddr; /* 0xC-0xF */ > + u32 destaddr; /* 0x10-0x13 */ > + u32 execaddr; /* 0x14-0x17 */ > + u8 options; /* 0x18 */ > + u8 nandblocksize; /* 0x19 */ > + u8 nandbadblklocation; /* 0x1A */ > + u8 reserved4; /* 0x1B */ > + u16 reserved5; /* 0x1C-0x1D */ > + u8 ext; /* 0x1E */ > + u8 checksum; /* 0x1F */ > } __packed; > > #ifdef CONFIG_SPL_MMC > Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de