Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

PCI: dwc: Fix grammar and formatting for comment in dw_pcie_remove_ext_capability()

Fix a grammatical error in the comment by changing "it's" to "its". Also
add a blank line after the variable declaration for better code
formatting.

Signed-off-by: Qiang Yu <qiang.yu@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/20260121-remove_cap_clean_up-v1-1-e78115e5d467@oss.qualcomm.com

authored by

Qiang Yu and committed by
Manivannan Sadhasivam
8a214f64 e9a5415a

+2 -1
+2 -1
drivers/pci/controller/dwc/pcie-designware.c
··· 268 268 return; 269 269 270 270 header = dw_pcie_readl_dbi(pci, cap_pos); 271 + 271 272 /* 272 273 * If the first cap at offset PCI_CFG_SPACE_SIZE is removed, 273 - * only set it's capid to zero as it cannot be skipped. 274 + * only set its capid to zero as it cannot be skipped. 274 275 */ 275 276 if (cap_pos == PCI_CFG_SPACE_SIZE) { 276 277 dw_pcie_dbi_ro_wr_en(pci);