All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Bin Meng <bmeng.cn@gmail.com>,
	Priyanka Jain <priyanka.jain@nxp.com>,
	Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Subject: [PATCH 03/11] pci: pci_bar_show can be static
Date: Fri, 17 Sep 2021 15:11:22 +0300	[thread overview]
Message-ID: <20210917121130.526216-4-vladimir.oltean@nxp.com> (raw)
In-Reply-To: <20210917121130.526216-1-vladimir.oltean@nxp.com>

To avoid W=1 build warnings, declare this function as static, since it
is not used outside of this translation module.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 cmd/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/pci.c b/cmd/pci.c
index af75a6cfff4a..ebe7c0fc5377 100644
--- a/cmd/pci.c
+++ b/cmd/pci.c
@@ -59,7 +59,7 @@ static void pci_show_regs(struct udevice *dev, struct pci_reg_info *regs)
 	}
 }
 
-int pci_bar_show(struct udevice *dev)
+static int pci_bar_show(struct udevice *dev)
 {
 	u8 header_type;
 	int bar_cnt, bar_id, mem_type;
-- 
2.25.1


  parent reply	other threads:[~2021-09-17 12:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 12:11 [PATCH 00/11] Drive-by PCI W=1 cleanups Vladimir Oltean
2021-09-17 12:11 ` [PATCH 01/11] pci: provide prototype for pci_skip_dev outside of #if defined(CONFIG_DM_PCI_COMPAT) Vladimir Oltean
2021-09-18  6:54   ` Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` [PATCH 02/11] pci: include pci_internal.h inside pci_auto.c Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` Vladimir Oltean [this message]
2021-09-18  6:55   ` [PATCH 03/11] pci: pci_bar_show can be static Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` [PATCH 04/11] pci: pci_header_show " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` [PATCH 05/11] pci: pciinfo_header " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` [PATCH 06/11] pci: pci_write_config " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:33   ` Tom Rini
2021-09-17 12:11 ` [PATCH 07/11] pci: pci_read_config " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:34   ` Tom Rini
2021-09-17 12:11 ` [PATCH 08/11] pci: _dm_pci_phys_to_bus " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:34   ` Tom Rini
2021-09-17 12:11 ` [PATCH 09/11] pci: layerscape: ls_pcie_conf_address " Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:34   ` Tom Rini
2021-09-17 12:11 ` [PATCH 10/11] pci: pcie_layerscape_fixup_common: include fdt_support.h for ft_pci_setup Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:34   ` Tom Rini
2021-09-17 12:11 ` [PATCH 11/11] pci: pcie_layerscape_fixup_common: lx2_board_fix_fdt can be static Vladimir Oltean
2021-09-18  6:55   ` Bin Meng
2021-10-03 23:34   ` Tom Rini

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=20210917121130.526216-4-vladimir.oltean@nxp.com \
    --to=vladimir.oltean@nxp.com \
    --cc=Zhiqiang.Hou@nxp.com \
    --cc=bmeng.cn@gmail.com \
    --cc=priyanka.jain@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.