* [PATCH] misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS
@ 2020-03-21 11:21 Lad Prabhakar
2020-03-26 17:51 ` Lorenzo Pieralisi
0 siblings, 1 reply; 2+ messages in thread
From: Lad Prabhakar @ 2020-03-21 11:21 UTC (permalink / raw)
To: Kishon Vijay Abraham I, Lorenzo Pieralisi
Cc: Arnd Bergmann, linux-pci, linux-kernel, Lad Prabhakar, Lad Prabhakar
PCI_ENDPOINT_TEST_STATUS is already defined in pci_endpoint_test.c along
with the status bits, so this patch drops duplicate definition.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
This patch applies on top of pci/endpoint branch [1].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git
drivers/misc/pci_endpoint_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
index b536ca4b14ca..a1bb94902b5a 100644
--- a/drivers/misc/pci_endpoint_test.c
+++ b/drivers/misc/pci_endpoint_test.c
@@ -53,7 +53,6 @@
#define STATUS_SRC_ADDR_INVALID BIT(7)
#define STATUS_DST_ADDR_INVALID BIT(8)
-#define PCI_ENDPOINT_TEST_STATUS 0x8
#define PCI_ENDPOINT_TEST_LOWER_SRC_ADDR 0x0c
#define PCI_ENDPOINT_TEST_UPPER_SRC_ADDR 0x10
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS
2020-03-21 11:21 [PATCH] misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS Lad Prabhakar
@ 2020-03-26 17:51 ` Lorenzo Pieralisi
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Pieralisi @ 2020-03-26 17:51 UTC (permalink / raw)
To: Lad Prabhakar
Cc: Kishon Vijay Abraham I, Arnd Bergmann, linux-pci, linux-kernel,
Lad Prabhakar
On Sat, Mar 21, 2020 at 11:21:39AM +0000, Lad Prabhakar wrote:
> PCI_ENDPOINT_TEST_STATUS is already defined in pci_endpoint_test.c along
> with the status bits, so this patch drops duplicate definition.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> This patch applies on top of pci/endpoint branch [1].
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git
>
> drivers/misc/pci_endpoint_test.c | 1 -
> 1 file changed, 1 deletion(-)
Applied to pci/endpoint, thanks.
Lorenzo
> diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c
> index b536ca4b14ca..a1bb94902b5a 100644
> --- a/drivers/misc/pci_endpoint_test.c
> +++ b/drivers/misc/pci_endpoint_test.c
> @@ -53,7 +53,6 @@
> #define STATUS_SRC_ADDR_INVALID BIT(7)
> #define STATUS_DST_ADDR_INVALID BIT(8)
>
> -#define PCI_ENDPOINT_TEST_STATUS 0x8
> #define PCI_ENDPOINT_TEST_LOWER_SRC_ADDR 0x0c
> #define PCI_ENDPOINT_TEST_UPPER_SRC_ADDR 0x10
>
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-26 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 11:21 [PATCH] misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS Lad Prabhakar
2020-03-26 17:51 ` Lorenzo Pieralisi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).