Skip to contentSkip to conversation

dmaengine: dw-edma: Cosmetic Changes

PATCH In review Devendra K Verma 4 participants 4 messages Aug 20 – Sep 3

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dmaengine: dw-edma: Cosmetic Changes

o Arranging macros in ascending order as per the bits represented
o Cosmetic changes, typo corrections

---
Changes in v1:
o No change

---
 drivers/dma/dw-edma/dw-edma-pcie.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/dma/dw-edma/dw-edma-pcie.c +3 -3
index 791c46e8ae4c..a171329b5686 100644
@@ -31,8 +31,8 @@
 
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_ID		0x6
 #define DW_PCIE_XILINX_MDB_VSEC_ID		0x20
-#define DW_PCIE_XILINX_MDB_VSEC_DMA_BAR		GENMASK(10, 8)
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_MAP		GENMASK(2, 0)
+#define DW_PCIE_XILINX_MDB_VSEC_DMA_BAR		GENMASK(10, 8)
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_WR_CH	GENMASK(9, 0)
 #define DW_PCIE_XILINX_MDB_VSEC_DMA_RD_CH	GENMASK(25, 16)
 
@@ -127,7 +127,7 @@ static const struct dw_edma_pcie_data xilinx_mdb_data = {
 };
 
 static const struct dw_edma_pcie_data xilinx_cpm6_dma_data = {
-	/* MDB registers location */
+	/* CPM6 registers location */
 	.rg.bar				= BAR_0,
 	.rg.off				= SZ_4K,	/*  4 Kbytes */
 	.rg.sz				= SZ_8K,	/*  8 Kbytes */
@@ -324,9 +324,9 @@ static int dw_edma_pcie_probe(struct pci_dev *pdev,
 	struct dw_edma_pcie_data *pdata = (void *)pid->driver_data;
 	struct device *dev = &pdev->dev;
 	struct dw_edma_chip *chip;
+	bool non_ll = false;
 	int err, nr_irqs;
 	int i, mask;
-	bool non_ll = false;
 
 	if (!pdata)
 		return -ENODEV;
Signature · 1 line
2.43.0
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 4 lines

o Arranging macros in ascending order as per the bits represented
o Cosmetic changes, typo corrections

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
maintainer Reviewed-by on v2 1/1
#2 lore raw
In reply to Devendra K Verma
Quoted 2 lines · Devendra K Verma

o Arranging macros in ascending order as per the bits represented
o Cosmetic changes, typo corrections

Nit: Reword the commit message as a single sentence in imperative tone.

Quoted 3 lines

- Mani

Signature · 1 line
மணிவண்ணன் சதாசிவம்
maintainer
#3 lore raw
In reply to Devendra K Verma
Quoted 2 lines · Devendra K Verma

o Arranging macros in ascending order as per the bits represented
o Cosmetic changes, typo corrections

I dont like the title cosmetic changes... maybe split to two and describe these.

Anyhow this doesnt apply and needs rebase

Signature · 1 line
~Vinod