From: Marco Felsch <m.felsch@pengutronix.de>
To: oss-tools@pengutronix.de
Cc: mfe@pengutronix.de
Subject: [OSS-Tools] [PATCH dt-utils 01/14] state: Remove duplicate incudes
Date: Fri, 14 Oct 2022 18:41:51 +0200 [thread overview]
Message-ID: <20221014164204.3812506-2-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20221014164204.3812506-1-m.felsch@pengutronix.de>
This ports the following barebox commit
| commit 870a96a80ba69f2e7d0312a84adecb70bd11ae4a
| Author: Alexander Shiyan <eagle.alexander923@gmail.com>
| Date: Tue Jun 7 08:19:57 2022 +0300
|
| treewide: Remove duplicate incudes
|
| Fix warning fwterated by checkincludes.pl:
| ./net/nfs.c: libgen.h is included more than once.
| ./net/ifup.c: globalvar.h is included more than once.
| ./crypto/rsa.c: asm/types.h is included more than once.
| ./lib/decompress_unlz4.c: linux/decompress/mm.h is included more than once.
| ./scripts/stb_image.h: stdio.h is included more than once.
| ./scripts/kwbimage.c: unistd.h is included more than once.
| ./scripts/common.c: sys/types.h is included more than once.
| ./scripts/bareboximd.c: sys/types.h is included more than once.
| ./scripts/bareboximd.c: sys/mman.h is included more than once.
| ./fs/pstore/ram_core.c: linux/rslib.h is included more than once.
| ./fs/pstore/fs.c: fs.h is included more than once.
| ./fs/pstore/fs.c: linux/pstore.h is included more than once.
| ./fs/nfs.c: fs.h is included more than once.
| ./fs/uimagefs.c: fs.h is included more than once.
| ./fs/fs.c: command.h is included more than once.
| ./arch/sandbox/board/hostfile.c: linux/err.h is included more than once.
| ./arch/sandbox/board/devices.c: mach/linux.h is included more than once.
| ./arch/sandbox/os/common.c: signal.h is included more than once.
| ./arch/arm/boards/zii-imx51-rdu1/board.c: envfs.h is included more than once.
| ./arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c: generated/mach-types.h is
| ./arch/arm/mach-stm32mp/ddrctrl.c: mach/stm32.h is included more than once.
| ./arch/arm/mach-imx/cpu_init.c: common.h is included more than once.
| ./arch/arm/mach-imx/imx8m.c: mach/imx8m-ccm-regs.h is included more than once.
| ./common/efi/payload/init.c: efi.h is included more than once.
| ./common/state/backend_format_raw.c: common.h is included more than once.
| ./common/state/backend_format_raw.c: crc.h is included more than once.
| ./common/hush.c: libbb.h is included more than once.
| ./drivers/spi/atmel-quadspi.c: linux/clk.h is included more than once.
| ./drivers/spi/atmel-quadspi.c: linux/err.h is included more than once.
| ./drivers/net/virtio.c: net.h is included more than once.
| ./drivers/net/phy/phy.c: linux/phy.h is included more than once.
| ./drivers/net/cpsw.c: net.h is included more than once.
| ./drivers/virtio/virtio_pci_common.h: linux/list.h is included more than once.
| ./drivers/usb/host/ohci-hcd.c: dma.h is included more than once.
| ./drivers/usb/gadget/fsl_udc.c: dma.h is included more than once.
| ./drivers/nvmem/eeprom_93xx46.c: spi/spi.h is included more than once.
| ./drivers/nvmem/eeprom_93xx46.c: of.h is included more than once.
| ./drivers/video/imx-ipu-v3/imx-ldb.c: linux/clk.h is included more than once.
| ./drivers/video/imx-ipu-v3/imx-hdmi.c: linux/clk.h is included more than once.
| ./drivers/video/omap.c: common.h is included more than once.
| ./drivers/mtd/nand/nand_s3c24xx.c: asm/sections.h is included more than once.
| ./drivers/clk/imx/clk-imx6sx.c: linux/clk.h is included more than once.
| ./drivers/clk/imx/clk-imx6sl.c: linux/clk.h is included more than once.
| ./commands/bootm.c: of.h is included more than once.
|
| Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
| Link: https://lore.barebox.org/20220607051957.2497-1-eagle.alexander923@gmail.com
| Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
src/barebox-state/backend_format_raw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/barebox-state/backend_format_raw.c b/src/barebox-state/backend_format_raw.c
index 5a71149..9fade5d 100644
--- a/src/barebox-state/backend_format_raw.c
+++ b/src/barebox-state/backend_format_raw.c
@@ -15,7 +15,6 @@
*
*/
-#include <common.h>
#include <common.h>
#include <crypto/keystore.h>
#include <digest.h>
@@ -23,7 +22,6 @@
#include <malloc.h>
#include <crc.h>
#include <of.h>
-#include <crc.h>
#include "state.h"
--
2.30.2
next prev parent reply other threads:[~2022-10-14 16:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 16:41 [OSS-Tools] [PATCH dt-utils 00/14] Sync Barebox-State code base Marco Felsch
2022-10-14 16:41 ` Marco Felsch [this message]
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 02/14] state: backend_raw: fix ignoring unpack failures Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 03/14] state: backend_storage: deal gracefully with runtime bucket corruption Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 04/14] state: treat state with all-invalid buckets as dirty Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 05/14] state: remove param member from struct state_string Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 06/14] state: remove param member from state_uint32, state_enum32, state_mac Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 07/14] state: remove unused function Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 08/14] state: propagate failure to fixup enum32 into DT Marco Felsch
2022-10-14 16:41 ` [OSS-Tools] [PATCH dt-utils 09/14] state: add SPDX-License-Identifier for files without explicit license Marco Felsch
2022-10-14 16:42 ` [OSS-Tools] [PATCH dt-utils 10/14] state: fix typos found with codespell Marco Felsch
2022-10-14 16:42 ` [OSS-Tools] [PATCH dt-utils 11/14] common: xstrdup: don't panic on xstrdup(NULL) Marco Felsch
2022-10-14 16:42 ` [OSS-Tools] [PATCH dt-utils 12/14] libdt: add of_property_write_strings support Marco Felsch
2022-10-14 16:42 ` [OSS-Tools] [PATCH dt-utils 13/14] libdt: add partition search function Marco Felsch
2022-10-14 16:42 ` [OSS-Tools] [PATCH dt-utils 14/14] state: sync with barebox to support new backend type Marco Felsch
2022-10-21 7:37 ` [OSS-Tools] [PATCH dt-utils 00/14] Sync Barebox-State code base Marco Felsch
2023-06-05 13:12 ` Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221014164204.3812506-2-m.felsch@pengutronix.de \
--to=m.felsch@pengutronix.de \
--cc=mfe@pengutronix.de \
--cc=oss-tools@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox