mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	Merge branch 'pci/controller/keystone'
- Fix NULL pointer checking when applying MRRS limitation quirk for AM65x SR 1.0 Errata #i2037 (Dan Carpenter) * pci/controller/keystone: PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
This commit is contained in:
		
						commit
						e5f8d1c75b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -570,7 +570,7 @@ static void ks_pcie_quirk(struct pci_dev *dev)
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	if (pci_match_id(am6_pci_devids, bridge)) {
 | 
						if (pci_match_id(am6_pci_devids, bridge)) {
 | 
				
			||||||
		bridge_dev = pci_get_host_bridge_device(dev);
 | 
							bridge_dev = pci_get_host_bridge_device(dev);
 | 
				
			||||||
		if (!bridge_dev && !bridge_dev->parent)
 | 
							if (!bridge_dev || !bridge_dev->parent)
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ks_pcie = dev_get_drvdata(bridge_dev->parent);
 | 
							ks_pcie = dev_get_drvdata(bridge_dev->parent);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue