File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -490,6 +490,9 @@ static int vgic_its_debug_show(struct seq_file *s, void *v)
490
490
struct its_device * dev = iter -> dev ;
491
491
struct its_ite * ite = iter -> ite ;
492
492
493
+ if (!ite )
494
+ return 0 ;
495
+
493
496
if (list_is_first (& ite -> ite_list , & dev -> itt_head )) {
494
497
seq_printf (s , "\n" );
495
498
seq_printf (s , "Device ID: 0x%x, Event ID Range: [0 - %llu]\n" ,
@@ -498,7 +501,7 @@ static int vgic_its_debug_show(struct seq_file *s, void *v)
498
501
seq_printf (s , "-----------------------------------------------\n" );
499
502
}
500
503
501
- if (ite && ite -> irq && ite -> collection ) {
504
+ if (ite -> irq && ite -> collection ) {
502
505
seq_printf (s , "%8u %8u %8u %8u %8u %2d\n" ,
503
506
ite -> event_id , ite -> irq -> intid , ite -> irq -> hwintid ,
504
507
ite -> collection -> target_addr ,
You can’t perform that action at this time.
0 commit comments