mirror of
				https://github.com/riscv-software-src/opensbi
				synced 2025-11-03 21:48:45 +00:00 
			
		
		
		
	lib: utils/irqchip: fix typo when checking for CPU node
Fix typo in irqchip_imsic_update_hartid_table() when checking for CPU node. Signed-off-by: Jan Remes <jan.remes@codasip.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
		
							parent
							
								
									9a7a677d5f
								
							
						
					
					
						commit
						851c14d455
					
				@ -42,7 +42,7 @@ static int irqchip_imsic_update_hartid_table(void *fdt, int nodeoff,
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		cpu_offset = fdt_parent_offset(fdt, cpu_intc_offset);
 | 
			
		||||
		if (cpu_intc_offset < 0)
 | 
			
		||||
		if (cpu_offset < 0)
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		err = fdt_parse_hart_id(fdt, cpu_offset, &hartid);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user