Hi Nithin,

Thanks for reporting.

For such kind of small change, may I advise for you to submit a code review change to https://review.trustedfirmware.org/ ?

Thank you,
Olivier.


From: Nithin G via TF-A <tf-a@lists.trustedfirmware.org>
Sent: 17 January 2024 08:01
To: tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>
Subject: [TF-A] A project should not contain unused tag declarations.
 
Hello,

In the file /bl31/interrupt_mgmt.c and /include/drivers/arm/gicv2.h and other files getting misra_c_2012_rule_2_4_violation:    Type has tag "intr_type_desc" but that tag is never used. during the Coverity MISRA-C analysis.

typedef struct intr_type_desc {
        interrupt_type_handler_t handler;
        u_register_t scr_el3[2];
        uint32_t flags;
} intr_type_desc_t;

Resolution: Removed the intr_type_desc variable as it declared it's typedef intr_type_desc_t.

typedef struct {
        interrupt_type_handler_t handler;
        u_register_t scr_el3[2];
        uint32_t flags;
} intr_type_desc_t;

Is It possible to remove the intr_type_desc variable since it is typedef. Please suggest?

Regards,
Nithin
--
TF-A mailing list -- tf-a@lists.trustedfirmware.org
To unsubscribe send an email to tf-a-leave@lists.trustedfirmware.org