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 6CE4AC433F5 for ; Thu, 21 Apr 2022 14:35:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 82E5383CF7; Thu, 21 Apr 2022 16:35:10 +0200 (CEST) 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=1650551710; bh=mGCkeRi1aN2iIjlhQ/Mk2cZ03fVMJMYOLsVLJ5/LUUs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=dmvFXoRUvb7kwNgxZP233P1BsfbDkn+j6oIeDv7TVQAbqvwobAYTXQO2XUxbuaJJA D3zR8W6ZmuwW2Vo/dQksf0T++Btc4IBGjr06XJxEGPIHNWmgkbfV+Kzh5GlJiYxZ4E 28kUF+vn+tWz3Bf5IdgOIUNC5IyY2l+ySkmIlm35mU1FQ9XgqsHmA0CovLLa2SZPx8 lGZ+i0qhQXvakedrkOtebntCh3TIWfNgomohUxh2d5monc13kpfmWxw9Ru3ycV7+Sy MSrt8gbAfObr1MyQUk3BUIksxLpqduYqonVmNx0yKqG4uC9NXiAjZAMdLqAozuN8IM 4xLSUbpo704AA== Received: by phobos.denx.de (Postfix, from userid 109) id 5379383CF3; Thu, 21 Apr 2022 16:35:08 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [91.198.250.253]) (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 695C483D92 for ; Thu, 21 Apr 2022 16:35:00 +0200 (CEST) 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 smtp2.mailbox.org (unknown [91.198.250.124]) (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-204.mailbox.org (Postfix) with ESMTPS id 4Kkg6r26yxz9sRx; Thu, 21 Apr 2022 16:35:00 +0200 (CEST) Message-ID: <82d7bc63-2dd7-f81f-421e-e8f07194a52b@denx.de> Date: Thu, 21 Apr 2022 16:34:56 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 2/5] crc16: Rename fs/ubifs/crc16.h to include/linux/crc16.h Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Simon Glass , Bin Meng , Adrian Fiergolski , =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de References: <20220412092044.25133-1-pali@kernel.org> <20220412092044.25133-3-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220412092044.25133-3-pali@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.39 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.5 at phobos.denx.de X-Virus-Status: Clean On 4/12/22 11:20, Pali Rohár wrote: > File fs/ubifs/crc16.h is standard linux's crc16.h include file. So move it > from fs/ubifs to include/linux where are also other linux include files. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > fs/ubifs/crc16.c | 2 +- > fs/ubifs/lpt.c | 2 +- > fs/ubifs/lpt_commit.c | 2 +- > {fs/ubifs => include/linux}/crc16.h | 0 > 4 files changed, 3 insertions(+), 3 deletions(-) > rename {fs/ubifs => include/linux}/crc16.h (100%) > > diff --git a/fs/ubifs/crc16.c b/fs/ubifs/crc16.c > index 443ccf855d5e..7cf33fc7eb61 100644 > --- a/fs/ubifs/crc16.c > +++ b/fs/ubifs/crc16.c > @@ -6,7 +6,7 @@ > */ > > #include > -#include "crc16.h" > +#include > > /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */ > u16 const crc16_table[256] = { > diff --git a/fs/ubifs/lpt.c b/fs/ubifs/lpt.c > index 62748b0210b2..27835e60d2c0 100644 > --- a/fs/ubifs/lpt.c > +++ b/fs/ubifs/lpt.c > @@ -42,7 +42,7 @@ > #include > #include > #include > -#include "crc16.h" > +#include > #endif > > /** > diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c > index 897d0014306c..ba0b19a1f2b2 100644 > --- a/fs/ubifs/lpt_commit.c > +++ b/fs/ubifs/lpt_commit.c > @@ -23,7 +23,7 @@ > #include > #include > #include > -#include "crc16.h" > +#include > #endif > #include "ubifs.h" > > diff --git a/fs/ubifs/crc16.h b/include/linux/crc16.h > similarity index 100% > rename from fs/ubifs/crc16.h > rename to include/linux/crc16.h 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